#1  
Old 11th February 2013, 10:55
MaTheRyS MaTheRyS is offline
Junior Member
 
Join Date: Nov 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mime type rss

Hello,

I use ispconfig3 since a long time on my little server and i have a problem.
When some wordpress are hosted on this server, the rss feeds of these wordpress are served as "text/xml".

This is a problem as google index them like normal pages, that generate a lot of duplicate content.

What can i change in the ispconfig or apache configuration in order to serve rss feeds as "application/rss+xml" ?

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 11th February 2013, 12:25
MaddinXx MaddinXx is offline
Senior Member
 
Join Date: Jul 2011
Location: Switzerland
Posts: 197
Thanks: 25
Thanked 62 Times in 46 Posts
Default

AddType application/rss+xml .rss (or change .rss to fit the needs)
__________________
Rackster Internet Services's presences:
Official | Open Source | Github | Facebook | Twitter
Reply With Quote
  #3  
Old 11th February 2013, 13:46
MaTheRyS MaTheRyS is offline
Junior Member
 
Join Date: Nov 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks.

But wordpress don't use file extension in url.
Feeds are something like :
http://domain.tld/feed/
http://domain.tld/article/comments/rss2
http://domain.tld/?feed=rss2

Does AddType application/rss+xml .rss works anyway ?
Or do i need to do something like :
AddType application/rss+xml .*feed$
AddType application/rss+xml .*rss2$
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xen for Centos 6.3 HowTo needs updating. Peter Williams HOWTO-Related Questions 24 28th January 2013 03:31
CPU load locks up box. Apache or MYSQL related. crypted General 61 29th October 2010 22:16
Squirrelmail login failure Cracklefish Installation/Configuration 9 30th June 2010 20:38
Fedora 13 BIND Server wont start. ev0css Installation/Configuration 1 23rd June 2010 22:16
Cannot create client, reseller and hosting plan crapufish Installation/Configuration 22 15th March 2007 10:27


All times are GMT +2. The time now is 20:42.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.