WordPress.org

Ready to get started?Download WordPress

Forums

.htaccess conflict (1 post)

  1. leemon
    Member
    Posted 4 years ago #

    Hi!

    My mod_rewrite skills are almost non-existant and I need some help to setup a simple redirection on my .htaccess file:

    Redirect 301 /index.php?cat=1 http://domain.com/category/some_category/
    Redirect 301 /index.php?cat=1&pic=1 http://domain.com/category/some_category/

    The WP permalinks rules conflict with the aforementioned rules and when I type http://domain.com/index.php?cat=1 or http://domain.com/index.php?cat=1&pic=1 on the URL bar, Apache redirects me to http://domain.com/?cat=1 and http://domain.com/?cat=1&pic=1 respectively instead of http://domain.com/category/some_category/

    Can anyone help me, please?

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic