Making a subdirectory accessible with Wordpress in root


/ Published in: Apache
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3. RewriteBase /
  4. RewriteCond %{REQUEST_URI} ^/(thefoldername).*$ [NC]
  5. RewriteRule . - [L]
  6. </IfModule>

URL: http://wiki.dreamhost.com/Making_stats_accessible_with_htaccess

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.