I’m using the WordPress .htaccess file as follows
# 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
This is not working for my permalink /%postname%
What might be the problem?
1.- Be sure that your set permalinks in
Permalink Settings
http:// your_domain/wp-admin/options-permalink.php2.- If you are using WP inside a subdir you must modify htaccess:
UPDATE:
3.- enable rewrite module. In ubuntu is easy:
4.- Allow .htaccess in server’s config
5.- After any change in server’s config restart it (again in ubuntu is):
What version of Apache are you using? Also, make sure you check a test page with
and CTRL+F for “mod_rewrite”.