WordPress basic htaccess

My wordpress blog fucked up because I didn’t realize I moved from nginx to apache, and apache needs .htaccess file for permalink my links in wp.
This is just default htaccess config :

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

Leave a Reply

Your email address will not be published. Required fields are marked *