Setting up permanent redirects

Discussion in 'Apache' started by naif, Jan 21, 2008.

  1. #1
    Hi. I already posted this on WP support but havent gotten a reply yet and its kind of urgent. I've a site which used php includes in the past but yesterday I decided I would use wordpress to power it. Everything is fine but I am not able to set up redirects for the older urls. Before the urls look like: /index.php?biography, /index.php?statistics etc. Now that I am using WP pages I need to redirect these older urls to the new pages like /biography/, /statistics and so on. But for some reason I am not able to get anything to work. The .htaccess file generated by WP 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
    
    Code (markup):
    Can I please know how this should be done?

    Edit: I am not looking for an automated method. I just have 5 pages like these so I want to create individual redirects for all of them.
     
    naif, Jan 21, 2008 IP