Green

Saturday, September 14, 2013

Need to ignore wordpress rewrites for any links to 1 subdirectory

I have links and files set up in a subdirectory off of my wordpress in the root of my domain. If I try to access them the .htaccess rules for the permalinks force a 404 error to the wordpress.

Here's the .htaccess file


# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^stuff/*. - [L] #I've tried a ton of different ways with this line
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

The stuff subdirectory is a symbolic link to where I want visitors to go and I've tried a million ways to get it to work.

Anyone have an idea how to make it work?


View the original article here

0 comments:

Post a Comment