Jump to content

htaccess and (sub)folder exclusion


ts2000abc

Recommended Posts

I have a wordpress blog that is located in:

domain.com/blog/ and the admin is domain.com/blog/wp-admin

 

now my .htaccess file (located domain.com/htaccess) includes:

RewriteCond %{REQUEST_FILENAME} !-d

 

I can access the /blog ok, BUT can't access the /blog/wp-admin (wp-admin is treated as $2) .

 

How can I exclude the folders: /blog and /blog/wp-admin, from rewrite?

Link to comment
https://forums.phpfreaks.com/topic/171779-htaccess-and-subfolder-exclusion/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.