Forum Moderators: phranque
I need to redirect from:
[domainname.com...] to [domainname.com...]
I believe I need to make changes to the htaccess file and add a re-direct, from /%postname%/ to /%post_id%/%postname%/. Any idea how to do this? First time trying to do such a thing. The re-direct will need to only apply to posts, not pages.
My current htaccess file looks like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
=====================
Any clues on line of code that will do the trick will be much appreciated!