Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  WordPress FAQ  >  How Do I Exclude A Folder From WordPress Permalinks?
Top Scroll

How Do I Exclude A Folder From WordPress Permalinks?

 2 min

The standard WordPress rewrite rules for permalinks might not work in some cases. For examples, when you have defined other settings in the .htaccess files present in the subfolders.

In order to exclude the subfolder from the WordPress rewrite rules, you will have to edit the .htaccess file and change the line mentioned below:

# BEGIN WordPress

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]


# END WordPress


RewriteRule ./ /index.php [L]

WordPress is one of the most powerful content management systems to work with. You can get the best of benefits if you have the right web hosting platform to support you. Check out the WordPress hosting plans offered by MilesWeb, you can be assured that you will get the best!


For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
Claim the discount before it’s too late. Use the coupon code:
Note: Copy the coupon code and apply it on checkout.