| :: |
| Author |
Message |
hopster PR0

Joined: 15 Dec 2006 Posts: 59
|
Posted: Wed Apr 04, 2007 6:34 pm Post subject: rss.xml shows an rss feed which includes rss.php links |
|
|
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 |
|
|
| Back to top |
|
 |
|
 |
hopster PR0

Joined: 15 Dec 2006 Posts: 59
|
Posted: Thu Apr 05, 2007 5:11 pm Post subject: Re: rss.xml shows an rss feed which includes rss.php links |
|
|
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. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
hopster PR0

Joined: 15 Dec 2006 Posts: 59
|
Posted: Fri Apr 06, 2007 2:40 pm Post subject: Re: rss.xml shows an rss feed which includes rss.php links |
|
|
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 |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
hopster PR0

Joined: 15 Dec 2006 Posts: 59
|
Posted: Sat Apr 07, 2007 12:43 pm Post subject: Re: rss.xml shows an rss feed which includes rss.php links |
|
|
MAN! You think of everything.
Thanks once more.
-Steve |
|
|
| Back to top |
|
 |
hopster PR0

Joined: 15 Dec 2006 Posts: 59
|
Posted: Sat Apr 07, 2007 1:03 pm Post subject: Re: rss.xml shows an rss feed which includes rss.php links |
|
|
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 |
|
|
| Back to top |
|
 |
hopster PR0

Joined: 15 Dec 2006 Posts: 59
|
Posted: Sat Apr 07, 2007 1:04 pm Post subject: Re: rss.xml shows an rss feed which includes rss.php links |
|
|
I also cleared the caches through the function at the top in the ACP to be sure it wasn't causing my problem.
-S |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Mon Apr 09, 2007 9:21 am Post subject: Re: rss.xml shows an rss feed which includes rss.php links |
|
|
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 || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
hopster PR0

Joined: 15 Dec 2006 Posts: 59
|
Posted: Mon Apr 09, 2007 7:30 pm Post subject: Re: rss.xml shows an rss feed which includes rss.php links |
|
|
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 |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Tue Apr 10, 2007 8:35 am Post subject: Re: rss.xml shows an rss feed which includes rss.php links |
|
|
If you really want to, you can add some zero dupe filter in rss.php, something like :
| Code: | $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: |
// Deal with forum auth
$not_auth_ary = array(); |
And assuming you have installed the zero duplicate
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
|
|