Say "Hello!"

  • This field is for validation purposes and should be left unchanged.

Make A Subdirectory Accessible with WordPress in root


1
2
3
4
5
6
7
#add to htaccess to make a subdirectory accessible
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/(thefoldername).*$ [NC]
RewriteRule . - [L]
</IfModule>

Back to Snippets Follow me on GitHub

Ashley Cameron logo
Blog