1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Is this going to work? (robots.txt)

Discussion in 'robots.txt' started by mjindustry, May 3, 2011.

  1. #1
    Hi, it's my first time messing with robots.txt.


    Here is what I'm trying to do. I installed a gallery2 on my website and did so with a bridge setup Jfusion<>Gallery2. Anyway, you essentially get duplicate content on very similar urls.

    looks like this:
    1. mysite.com/gallery/main.php
    and:
    2. mysite.com/gallery/mygallery

    1. is a stand along gallery, the second in a frameless bridge within my site. I want to have the first one disallowed, the second allowed. How should it look in my robots.txt? I have no idea...I just want to make sure 1. is disallowed, and 2 is allowed.

    Would it just be this simple?

    Disallow: /gallery/main.php
     
    mjindustry, May 3, 2011 IP
  2. manish.chauhan

    manish.chauhan Well-Known Member

    Messages:
    1,682
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Yes, Disallow: /gallery/main.php would work perfectly fine in your case. Just go ahead.. in case the the page is already indexed by Google, you can also remove it forcefully from Google Webmaster tools.
     
    manish.chauhan, May 3, 2011 IP
  3. mjindustry

    mjindustry Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you for the help sir I appreciate it!
     
    mjindustry, May 13, 2011 IP
  4. harshit_singhal

    harshit_singhal Peon

    Messages:
    87
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    using " Disallow: " works perfectly for any part of your blog you dont want to get indexed in SERPS.
     
    harshit_singhal, May 14, 2011 IP
  5. mjindustry

    mjindustry Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thank you for the help guys. I have implemented the new stretegy. :)
     
    mjindustry, May 25, 2011 IP
  6. vlady

    vlady Guest

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #6
    Hi there,

    Whats some of the more common parts of a blog that you wouldn't want indexed?

    thanx
     
    vlady, May 27, 2011 IP
  7. maverick.jones

    maverick.jones Greenhorn

    Messages:
    62
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #7
    Disallow: /gallery/main.php

    This will defiantly work in your case .
     
    maverick.jones, May 29, 2011 IP
  8. mjindustry

    mjindustry Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thank you to everyone here! Appreciate the assistance... :)
     
    mjindustry, Jun 11, 2011 IP
  9. upendraets

    upendraets Peon

    Messages:
    106
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    disallow: /gallery/main.php it would be work perfectly.
     
    upendraets, Jun 25, 2011 IP