https://www.icyphoenix.com/viewtopic.php?f=35&t=8643
-----------------------------------
TheSteffen
Tue 21 Aug, 2012 18:37

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

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

Re: RSS And mod_rewrite
-----------------------------------
[quote user="Mighty Gorgon" post="56708"]Are links in RSS rewritten?[/quote]
No, the RSS links are not rewritten.
Not sure they should be...

Take a look hear
[spoiler]computerguard.de is a site that use mod rewite
RSS links where taken to show posts on other site
http://www.rss-nachrichten.de/rss-verzeichnis/diskussionsforen/pc-internet/rss-anzeigen-42097.html

Here you can see, that the RSS links are not rewitten[/spoiler]


-----------------------------------
Mighty Gorgon
Sat 15 Sep, 2012 11:33

Re: RSS And mod_rewrite
-----------------------------------
I have just checked and they are not rewritten for RSS:

[codeblock]				'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 . '&amp;' . POST_POST_URL . '=' . $post['post_id'],[/codeblock]

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)


-----------------------------------
TheSteffen
Mon 24 Sep, 2012 11:35

Re: RSS And mod_rewrite
-----------------------------------
[quote user="Mighty Gorgon" post="56840"]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)[/quote]
Hehehe, no, I have no "good reasons"  :mricy: 
Leave it, like it is, thanks


