Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Removed /index.php/ but sitemap includes index.php


4 Posts   1358 Views


13 July 2011 at 10:27pm Community Member, 1 Post

Hi everyone,

I know the index.php removal / mod_rewrite thing has been done to death across this forum! I have removed the index.php using .htaccess, but have an issue that the googlesitemap module is still including the index.php.

My question is how do I remove the index.php from automatically showing up in the sitemap.xml? In theory it is not a major issue (the links with index.php still work), but it means the links are coming up on the Google results with index.php, which I don't like.

Another question (related), is that the Google search is showing the date of the page creation on every page - taking up some of the meta description. Is there a way of removing this? (It seems like a Silverstripe thing as quite a lot of the pages under search term 'Silverstripe' have the same thing...)

Thanks for your help



4 October 2011 at 9:29pm Community Member, 10 Posts


Can you show me the way you have removed the index.php from the .htaccess file? Cannot remove it...




8 October 2011 at 1:40pm Community Member, 19 Posts

I had the same problem and my .htaccess file was empty - no content at all.

This thread sorted it out, now index.php no longer shows


10 October 2011 at 3:57pm Community Member, 10 Posts

Dear lightbeard,

Thank you for your answer. I've already fixed it... it was dealing with the mod_rewrite in which I had to change the None to All for the AllowOverride All...