Is there a way to make a redirect for a filename with no regard to the directory it's being requested in.
so for example, i want to make a redirect for "admin.sys" and i want this redirect to happen no matter where the file "admin.sys" is requested. for example /content/articles/gallery/admin.sys and /admin.sys would both result in the same file being called up.
And if that's possible, how about adding to that, so say i request a file like somerandompage.html followed by "-wildcard" can we then run a php file with a token of the page preceeding the "-wildcard".
An example of a use would be index.html-test "-test" would be the wildcard and would idealy call a specified php file that would run some sort of test on the index.html file.
so this would turn the address bar into a command line of sorts for use in a website admin system of sorts.
Well there you go i have no idea if something like this would be possible with out having all the pages generated by a single php files that would interpret such a request. I would like to use htaccess for this use, as i would not need to have all the overhead of a single managing php file for my whole site.
Happy 4th Everyone!!!