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
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.