SOLVED RSS And mod_rewrite


Subject: RSS And mod_rewrite
I have a question to rss.php and mod_rewrite

If someone enable mod_rewrite for his url adresses, it is working fine.

But is it normal, that you dont have this adresses in rss.php
So google indexing both sites and you get duplicate content.

Is there a solution for this?

Profile PM  
Subject: Re: RSS And mod_rewrite
Sorry, but I don't understand what you mean.

Are links in RSS rewritten?

In IP 2.0 I have implemented canonical urls, so content should not duplicate.

Subject: Re: RSS And mod_rewrite
Mighty Gorgon wrote: [View Post]
Are links in RSS rewritten?

No, the RSS links are not rewritten.
Not sure they should be...

Take a look hear
Spoiler: [ Show ]

Profile PM  
Subject: Re: RSS And mod_rewrite
I have just checked and they are not rewritten for RSS:

Code: [Download] [Hide] [Select]
'POST_URL' => $viewpost_url . '?' . POST_POST_URL . '=' . $post['post_id'] . '#p' . $post['post_id'],
'FIRST_POST_URL' => $viewpost_url . '?' . POST_POST_URL . '=' . $post['topic_first_post_id'] . '#p' . $post['topic_first_post_id'],
'REPLY_URL' => $replypost_url . '&' . POST_POST_URL . '=' . $post['post_id'],


Honestly I don't know if I should force rewrite even here. As I said I have implemented canonical urls which should avoid creating duplicated content.

If you can convince me (with good reasons) that urls shall be rewritten there as well, I will do. 8)

Subject: Re: RSS And mod_rewrite
Mighty Gorgon wrote: [View Post]
As I said I have implemented canonical urls which should avoid creating duplicated content.

If you can convince me (with good reasons) that urls shall be rewritten there as well, I will do. 8)

Hehehe, no, I have no "good reasons" :mricy:
Leave it, like it is, thanks

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0776s (PHP: 21% SQL: 79%)
SQL queries: 10 - Debug Off - GZIP Enabled