WordPress.org

Ready to get started?Download WordPress

Forums

htaccess redirects from index.php?var= (1 post)

  1. bcyork
    Member
    Posted 1 year ago #

    My old site was a php site that pull directly from the database and there is a few pages that were

    http://www.domain.com/index.php?q=page_name

    Now I have added this to .htaccess file in hopes to redirect any one to the correct page

    Redirect 301 /index.php?q=page_name http://www.domain.com/page_name/

    However it redirects back to the home page with the following in the url.

    http://www.domain.com/?q=page_name

    Is it possible to redirect this or is something with wordpress messing this up?

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic