10380 Posts in 2195 Topics by 1711 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 716 Views |
-
Removed /index.php/ but sitemap includes index.php

13 July 2011 at 10:27pm
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
Graham
-
Re: Removed /index.php/ but sitemap includes index.php

4 October 2011 at 9:29pm
Graham,
Can you show me the way you have removed the index.php from the .htaccess file? Cannot remove it...
Thanks,
Serge
-
Re: Removed /index.php/ but sitemap includes index.php

8 October 2011 at 1:40pm
I had the same problem and my .htaccess file was empty - no content at all.
This thread http://www.silverstripe.org/installing-silverstripe/show/16895 sorted it out, now index.php no longer shows
-
Re: Removed /index.php/ but sitemap includes index.php

10 October 2011 at 3:57pm
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...
Sypou
| 716 Views | ||
|
Page:
1
|
Go to Top |


