That works fine for the folder structure, but if I use that and then type the domain name.....
ie: www.domain.com, that is also being redirected to the display.php.....
Okay, now there's a slash required at the front of the URI.
I'm not sure if mod_rewrite starts from the domain name or from the URI, having never used it myself. If it starts from the domain name, you could use this:
Curious, though... does this redirect the browser, or does it rewrite at the server? Seems to me that if it were redirecting the browser, you'd get a never-ending loop of redirection.
Bookmarks