Ashley Cameron Design

Ashley Cameron Design

Shop the Creative Design Market

Good morning

Make A Subdirectory Accessible with WordPress in root

SnippetsWordPress

About a 1 minute read

"Every great design begins with an even better story."

Lorinda Mamo, designer


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>