mameha1977
02-07-2007, 08:36 PM
I am currently changing my site so that it uses X/Z/.html links instead of .php?id=Xid2=Z
I have got the htaccess working to load static X/Z/.html links correctly.
I am now updating all my links to point to X/Z/.html instead of .php, BUT I find that the links will only work if the URI is currently .html. If the URI contains .php then the links wont work.
So I want to direct all .php requests to the .html URI automatically. Is there a way to do this in htaccess? Or does it make an infinite loop? I just get the 'internal server error' message all the time.
I have got the htaccess working to load static X/Z/.html links correctly.
I am now updating all my links to point to X/Z/.html instead of .php, BUT I find that the links will only work if the URI is currently .html. If the URI contains .php then the links wont work.
So I want to direct all .php requests to the .html URI automatically. Is there a way to do this in htaccess? Or does it make an infinite loop? I just get the 'internal server error' message all the time.