blocking url like /?option=com_content&task=emailform&id=1000&itemid=8

Discussion in 'robots.txt' started by trichnosis, May 13, 2007.

  1. #1
    Hi;

    I have created urls like

    /?option=com_content&task=emailform&id=1000&itemid=8
    /?option=com_content&task=emailform&id=105&itemid=5

    /folder1/folder2/index.php?option=com_registration&task=lostPassword
    /folder1/folder2/index.php?option=com_registration&task=register

    because of a stupid reason. I dont know how urls there are like that. You can think unlimited from those.

    I hope adding

    Disallow: /?option=com_content$

    to robots.txt will prevent of them? is this true?

    how can i block them with robots.txt file ? if i can not block them with robots.txt , how can i block them?

    Thanks for your help
     
    trichnosis, May 13, 2007 IP
  2. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #2
    thanks for the replies:D

    i have found my own answer . adding

    Disallow: /*option=*

    to my robots.txt file has solved this problem
     
    trichnosis, Jun 8, 2007 IP
  3. yudhis97

    yudhis97 Peon

    Messages:
    149
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    /?option=com_content&task=emailform&id=1000&itemid=8
    seem joomla url, try jooma search engine friendly like sh404, artiosef, opensef
     
    yudhis97, Jul 18, 2007 IP
  4. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #4
    thanks for the offer but i have solved the problem ;)
     
    trichnosis, Jul 22, 2007 IP