I need to know how I can keep the end-user of a wordpress site installed in the root directory from creating slugs that will interfere with sub-directories that are already present.
I've Googled everywhere, but the best I can find are some very general instructions that only help people who already know how to configure Apache- and I don't know enough to get it to do what I want. I want to know how to do both these things:
A) Configure the
.htaccess file to not redirect certain specific paths, e.g.
http://example.com/samename should go to the directory, not be redirected to a Wordpress page with the slug
samename, even if it exists.
B) To avoid end-user confusion, disallow the creation of slugs with specific names, e.g.
samename using the API.
If someone could tell me how to do both, I think it will be very useful to a lot of people down the line.