access a folder/directory in wordpress
Suppose you have installed wordpress in root directory of your account.
There is a folder/directory, say docs in the same (root) directory. You will not be able to access this folder like www.mysite.com/docs url.
The wordpress will redirect to a 404 page instead.
To override the wordpress rewrite rules, add the following line to .htaccess in the root folder.
RewriteRule ^docs/.*$ – [L]
right after the following lines in the .htaccess file already there.
RewriteEngine On
RewriteBase /
This will do the trick and you will able to access the folder docs and its contents via any web browser.
access wordpress folder, access wordpress subfolder, htaccess, mod_rewrite, rewrite, rewrites, wordpress, wordpress subfolder
Import/Export wordpress content from/to another wordpress instance Password protect directory or folder in wordpress installed directory