Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

share|improve this question

closed as too localized by toscho Mar 2 '13 at 23:39

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.