RSS And mod_rewrite »  Show posts from    to     

Icy Phoenix


Old Support Topics - RSS And mod_rewrite



TheSteffen [ Tue 21 Aug, 2012 18:37 ]
Post 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?


Mighty Gorgon [ Sun 09 Sep, 2012 19:40 ]
Post 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.


TheSteffen [ Tue 11 Sep, 2012 10:17 ]
Post 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 ]


Mighty Gorgon [ Sat 15 Sep, 2012 11:33 ]
Post subject: Re: RSS And mod_rewrite
I have just checked and they are not rewritten for RSS:

Code: [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.


TheSteffen [ Mon 24 Sep, 2012 11:35 ]
Post 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.

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




Powered by Icy Phoenix