Knowledge Base
MilesWeb / WordPress FAQ

How Do I Exclude A Folder From WordPress Permalinks?

Approx. read time : 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!


With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.