Posted By

koko on 07/22/10


htaccess rewrite

Versions (?)

Making a subdirectory accessible with Wordpress in root

 / Published in: Apache


I borrowed the script from the Dreamhost-wiki and did a minor change towards any folder.

  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3. RewriteBase /
  4. RewriteCond %{REQUEST_URI} ^/(thefoldername).*$ [NC]
  5. RewriteRule . - [L]
  6. </IfModule>

Report this snippet  

You need to login to post a comment.