htaccess setting for site
-
Dear
I use the plug Cos Html Cache to rewrite the wordpress.
{My permanent post link is /archives/%Post-id%.html}
But the previous link is unavailable. such as the http://www.@.com/index.php/archives/910How to use the .htaccess to redirect the http://www.@.com/archives/910.html
Now the .htaccess below:
# 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 WordPressHow to program the htaccess?
Thanks!
Andy
The topic ‘htaccess setting for site’ is closed to new replies.