rss.xml shows an rss feed which includes rss.php links

The GYM Sitemaps and RSS module and it's plug-ins.
Google Yahoo MSN Sitemaps (United 0.9).
RSS 2.0 Feeds and Yahoo! urllist.txt.

Moderator: Moderators

rss.xml shows an rss feed which includes rss.php links

Postby hopster » Wed Apr 04, 2007 6:34 pm

My rss.xml feed has the link for rss.php in it. I would think we would want to eliminate this kind of duplication??


All the source links in the feed show rss.php.

Is there a place to change this in the file?


-Steve
hopster
PR0
PR0
 
Posts: 59
Joined: Fri Dec 15, 2006 1:47 am

Advertisement

Postby hopster » Thu Apr 05, 2007 5:11 pm

Any input?

I'm worried this will be seen as dupe content.


feed is /rss.xml

but links are /rss.php within the feed itself.
hopster
PR0
PR0
 
Posts: 59
Joined: Fri Dec 15, 2006 1:47 am

Postby dcz » Fri Apr 06, 2007 11:24 am

Have you activated mod rewrite in GYM sitemaps ACP ?
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby hopster » Fri Apr 06, 2007 2:40 pm

Okay... that was my answer there. Thank you again.

How can we 301 the possible rss.php feeds out there? I've excluded rss.php in robots.txt but it would be nice to direct existing links into rss.xml



-Steve
hopster
PR0
PR0
 
Posts: 59
Joined: Fri Dec 15, 2006 1:47 am

Postby dcz » Sat Apr 07, 2007 11:28 am

A little bit under the mod rewrite switch in acp, you'll find the zero duplicate option ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby hopster » Sat Apr 07, 2007 12:43 pm

MAN! You think of everything. :)

Thanks once more.

-Steve
hopster
PR0
PR0
 
Posts: 59
Joined: Fri Dec 15, 2006 1:47 am

Postby hopster » Sat Apr 07, 2007 1:03 pm

Okay. I set that function (zero dupe) within the sitemaps ACP and I can still access /rss.php (it doesn't 301 to rss.xml)


=Steve
hopster
PR0
PR0
 
Posts: 59
Joined: Fri Dec 15, 2006 1:47 am

Postby hopster » Sat Apr 07, 2007 1:04 pm

I also cleared the caches through the function at the top in the ACP to be sure it wasn't causing my problem.


-S
hopster
PR0
PR0
 
Posts: 59
Joined: Fri Dec 15, 2006 1:47 am

Postby dcz » Mon Apr 09, 2007 9:21 am

So far, the redirecting only occurs when the cache is not up to date.

It's not as powerful as the phpBB zero duplicate mod but still, should redirect enough for bots to find out which one it the correct url to use.

Besides, I don't think you'd end up with a Pagerank on your sitemaps or rss feeds, so it's not as important as when it comes to html.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby hopster » Mon Apr 09, 2007 7:30 pm

Okay, I was just asking in the interest of making sure as much as possible that the majority of duplicate content is off of the site.

My main issue, is that in the past I've used rss.php links and I wanted to switch to rss.xml but it doesn't self direct.

I've excluded rss.php in robots.txt for now, anyhow but I know that's not the best fix.

-Steve
hopster
PR0
PR0
 
Posts: 59
Joined: Fri Dec 15, 2006 1:47 am

Postby dcz » Tue Apr 10, 2007 8:35 am

If you really want to, you can add some zero dupe filter in rss.php, something like :

Code: Select all
$uri = $phpbb_seo->seo_req_uri();
$phpbb_seo->seo_cond(!$userdata['session_logged_in'] && (strpos($uri, "sid=" ) !== FALSE ));
$phpbb_seo->seo_cond( empty($cat) && empty($msgtxt) && empty($short) && empty($long) && $action == 'rss' && empty($list_id) , TRUE);
if ( $phpbb_seo->do_redir && strpos($uri, "rss.$phpEx") !== FALSE ) {
   $phpbb_seo->seo_redirect($paths['phpbb_url'] . "rss.xml");
}


Before :
Code: Select all
// Deal with forum auth
$not_auth_ary = array();


And assuming you have installed the zero duplicate ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm


Return to GYM Sitemaps phpBB2

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest