![]() |
|
|||||||
| Notices |
| General Web Design Forum Discuss General Web Design Issues |
![]() |
|
|
LinkBack (1) | Thread Tools | Display Modes |
|
||||
|
Ok, I've been redesigning my website as some of you may know and it will be located on my server for a while before it goes live - however Ive already realised it is indexed in google.
By including a robots.txt file in my root directory (i.e. www.philjohnsimaging.co.uk/robots.txt) I can stop a file or secondary directory of my site being indexed right? i.e. I want Phil Johns Imaging - Plymouth Graphic and Website Design and all of its contents to not be indexed or searched by robots. In my robots.txt file in my root directory would I need to have the following? If not, could someone correct me please ;) User-agent: * Disallow: /website_redesign/ Thanks, Phil
__________________
Plymouth Graphic and Website Design |
|
|
|
||||
|
That's correct and log in to webmaster tools to delete the indexed files from google
__________________
Colour Printing and Integrated Cards || Graphic Design, Web Design UK || Logo Designer - Logo Design || Graphic Design Blog || Logo Design Logo Designer || Integrated Labels & Cards || Logo Design || Graphic Design Links || Web Design Rotherham UK || Logo Design UK || Web Design UK
|
|
||||
|
Ok, cool.
So rpesumably if i wanted to block robots from searching more than one secondary folder it would be: User-agent: * Disallow: /website_redesign/ Disallow: /other_directory/ Thanks
__________________
Plymouth Graphic and Website Design |
|
||||
|
Correct.. or you could have specific folders within a hierarchy if you wanted to allow a robot to crawl a portions of a directory
User-agent: * Disallow: /website_redesign/other_directory/
__________________
Tommy Logic ™ Web Design :: Valid XHTML & CSS :: SEO :: CMS :: eCommerce Web Design Tutorials :: Computer Tutorials |
|
||||
|
Hmm - now im slightly confused! lol
Basically, I want to block the following directories of my website: Phil Johns Imaging - Plymouth Graphic and Website Design www.philjohnsimaging.co.uk/sisterswebsitedesign What do I need to put in my robots.txt file to block these directories from being crawled and then added to search engines?
__________________
Plymouth Graphic and Website Design |
|
||||
|
User-agent: *
Disallow: /website_redesign/ Disallow: /sisterswebsitedesign/
__________________
Tommy Logic ™ Web Design :: Valid XHTML & CSS :: SEO :: CMS :: eCommerce Web Design Tutorials :: Computer Tutorials |
![]() |
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cant view pdf files on the web | philjohns | Off Topic | 2 | 29-02-2008 06:40 PM |
| files on my server | alex_gomy | General Web Design Forum | 4 | 13-02-2008 11:08 PM |
| Stock Flash Files | Graphic Design Links | Graphic Design Links | 0 | 08-12-2007 02:55 PM |
| Saving .MAX files with baked textures as .X files (or .3DS) | lalex48 | Graphic Design and Web Design Help | 0 | 28-06-2007 10:40 AM |
| HELP! – Postcode EPS FILES Required | Mofman | Graphic Design Forum | 4 | 02-04-2007 07:30 PM |
| All times are GMT. The time now is 04:17 PM. |