How to redirect specific index.php?

Discussion in 'Apache' started by carljohn, Oct 26, 2008.

  1. #1
    Hi,

    When I was using Joomla, it created a lot of similar URL as following
    www.mysite.com/index.php?option=com_content&task=view&id=59&Itemid=2

    And the worst is google had indexed it all. Since I have changed to another script, those similar URL above doesn't exist anymore, but when visit, it'll still show the same content as my current homepage. Google Bot seems to think that I'm creating a lot of duplicate content of my homepage and gave my site some sort of penalty.

    I've been looking all over the internet, but none of them can fix my site problems. The best I can find is to redirect all index.php? back to homepage. But that won't work as part of my site function are still using the index.php? and will cause problems on some page.

    So my question is, is there a way to redirect specific word? For example: Redirect all pages with the word "index.php?option" in it. Or is there any other solution to this issues?

    Thanks for helping!
     
    carljohn, Oct 26, 2008 IP
  2. vovaNux

    vovaNux Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    As I can understand here, you should redirect non-existent pages to index.php with a parameter. Am I right?
     
    vovaNux, Nov 12, 2008 IP