Restore Your Default WordPress .htaccess File In a Subdirectory

Have to restore WordPress’s default .htaccess file? Installed WordPress in a subdirectory such as /blog? If so here’s a solution for you! Here’s what my .htaccess looks like as of version 4.2.2:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPress
Facebooktwitterredditlinkedinmail
This entry was posted in Web Game Development and tagged , , , . Bookmark the permalink.