Hi all
The official method for removing index.php from urls (here) is working great for me except for one small problem: the home page is still accessible with index.php included in the URL. I.e.: http://www.vossbrook.co.uk/ shows the same content as http://www.vossbrook.co.uk/index.php
Without getting into a discussion on SEO and duplicate content, I’m looking for a way using .htaccess of 301 redirecting the url containing index.php to it’s equivalent without index.php. I.e. http://www.vossbrook.co.uk/index.php 301 redirects to http://www.vossbrook.co.uk/. I’m not an expert in .htaccess and everything I’ve tried so far has simply broken the existing URL rewrites.
If anyone has a solution to what I’m trying to do I’d really appreciate hearing about it.
Thanks!
Martin