Correct use for Robots.txt
-
I'm in the process of building a website and am experimenting with some new pages. I don't want search engines to begin crawling the site yet. I would like to add the Robot.txt on my pages that I don't want them to crawl. If I do this, can I remove it later and get them to crawl those pages?
-
Lewis,
Thank you for the clarification!
-
Hi Eric
The guidance above means that Google when it looks to crawl your site won't its not a message to Google telling it never to come back.
Once everything is sorted, remove whichever approach you took to block the search engines and supply a sitemap to Google via the Webmaster tools. Your site should be crawled in no time after that.
Hope this helps.
-
Damian,
Thanks for your answer, that helps. If I add either one of the above items to my web page, and then remove it at a later date, will the search engines crawl and rank my site (at sometime after they are removed)? In other words, and I know this sounds stupid, but does a search engine see a Robots.txt file and never visit it again?
-
Hey Eric,
If you want to create and work on pages but you don't want them indexed you can add the following to the page in the section (the pages will still be crawled):
If you want NONE of your pages to be crawled (I.E the whole website) you can add the following to your robots.txt file:
User-agent: * Disallow: /
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Which woocommerce product filter plugin should I use?
Hi! I have to choose a premium woocommerce product filter plugin, but I can't make up my mind since there are so many options out there. I tried to compare some of them, but I would like to hear from experts or people who already bought and run one of them on their websites in order to focus on the better one. Is there a particular plugin which stands out from the crowd? Are there product filter plugins you definitely do not recommend buying? What I am looking for is a SEO oriented plugin( some search results by filters like sizes, colors, in stock /out of stock should not be indexed at all while categories should be normally indexed), easy to use (I am not a developer and I have to be able to set up filters by myself easily), compatible with wpml and and, last but not least, the plugin support should be reliable and helpful. I am looking forward to your suggestions. thanks in advance
Web Design | | manunika0 -
What Website Platform would you use?
We are considering 1 maybe 3 websites (1 new 2 redesign) there are so many options with technology rolling over every 3 years it seems. Here are my obstacles: Wordpress: dynamic but easily hacked, often needs updating Joomla: attractive, but cumbersome to manage Custom: sleek and easier to manage, but gets outdated quickly Here are some variables: 80+ products, E-Commerce, Dynamic, Blog, Tons of images, SEO friendly, MUST not lose our rankings! OK, Moz friends, What do you recommend?
Web Design | | KevnJr0 -
Can you use a base element and mod_rewrite to alleviate the need for absolute URLs?
This is a follow up question to Scott Parsons' question about using absolute versus relative URLs when linking internally. Andy King makes the statement that this can be done and that it saves additional space (which he claims then can improve page speed). Is this a true and accurate statement? Can using a base element and mod-rewrite alleviate the need for absolute URLs? I need to know before going off on a "change all of our relative URLs to absolutes" campaign. Thanks in advance! Dana
Web Design | | danatanseo0 -
Google fails to pick out the correct URL of the story
Hi , I have a page with many news storeys on it. Google craws the page but it picks up a more general url even though I've embedded the direct URL within anchor tags around the headline . The snippet below got linked by Google to http://www.irishnews.com/ Any idea how i can get Google to pick-up http://www.irishnews.com/news.aspx?storyId=1180708 would be very welcome Peter Quinn: Family made scapegoats of financial crisis News Peter Quinn: Family made scapegoats of financial crisis THE Quinn family have been made scapegoats of the financial crisis surrounding the former Anglo Irish Bank, tycoon Sean Quinn's brother Peter claimed yesterday.Peter Quinn, a former president of the GAA, said hi read more»
Web Design | | Liammcmullen0 -
Is Anybody using any of those Shopping Cart? Do you recommand them?
I want to move my existing online store, ( osCommerce) http://www.filtrationmontreal.com/ to a new SEO friendly Multilingual shopping cart. Does anybody use one of the following and tell what is there appreciation on it. Americommerce CoreCommerce Pinnacle Cart Ashop Thank you for your help, BigBlaze
Web Design | | BigBlaze2050 -
Which CMS Should Use?
I have a desinger working on a new webiste and he's suggesting that WP creates design limitations (He's doing quite a bit of HTML 5 I believe...I'm not sure) and obviosly has secruity concerns. He suggested TextPattern, which I've never heard of. Has anyone had any experience with it? Also, what CMS are you using (besides WP) that you really like and is SEO friendly? Thanks
Web Design | | LuminConsutling0