Using mod_rewrite "use_hierarchy" config setting true or false, I am able to call a url with any number of folder names so long as the last thing I write in the url address bar contains the actual page I want. Is there a way to stop this happening so that only a concrete url is valid?
For example:
www.mydomain.com/page1.html
Can be called by typing the url in the browser url field in any way I like:
www.mydomain.com/any/thing/I/want/page1.html
or
www.mydomain.com/hello/world/page1.html
and so on...
Can I stop this happening?
Debz (using cmsms v1.5.1)
mod_rewrite: any folder name will do?
Re: mod_rewrite: any folder name will do?
I believe this would be a .htaccess call to stop it from happening...