Hi,
I've spent the last, oh 3 or 4 hours looking for this kind of thing, but I didn't find anything that helped, so here I am.
I have a dynamic PHP site. indexx.php is in the main directory, and the files that are included (text files) are in a directory called inc.
Basically, indexx.php is the layout, and the files inside inc/ are the text.
Now, most of my links are something like http://subdomain.mydomain.com/indexx.ph ... s=whatever
What I would like to find is a rewrite that allows people who want to access, for instance
http://subdomain.mydomain.com/inc/whatever.php
to be directly redirected to
http://subdomain.mydomain.com/indexx.ph ... s=whatever
so that the layout can be seen.
I have checked out about 30 kinds of htaccess, and none of the codes worked. Thanks.