I'm having an issue with a site which I cannot seem to crack.
Pages of the website load in both of the following:
The latter is the one I would like to keep.
I need a way of either redirecting the /php pages or getting rid of them altogether. Something tells me I'm missing something in the .htaccess but I cannot work out what it is.
Welcome to the forum.
Please post your. Htaccess file and also use code tags because if is easier to read.
From the looks of your URIs, you must have Options +MultiViews. That option will direct the server to look for filenames (apparently without an extension) within the path and serve the first one it finds. IMHO, MultiViews causes more problems than it is worth (as you're finding out) so I'd recommend using Options -MultiViews in your .htaccess (obviously, it's not in the server or vhosts config files).
This topic is now closed. New replies are no longer allowed.