hello everyone. i have a wordpress blog im developing right now and i wanted to know, how do i put noindex nofollow tag on the WHOLE SITE, not just one page or post and of course how to remove it after. Thank you all.
Just use a robots.txt That way you can set it for your whole project and just delete it when you don't need it anymore And a site that explains how to use it http://www.robotstxt.org/ Code (markup):
No You just make a file that is called robots.txt .txt is textfile format. If you are on windows and have file extensions dissabled, just open up notepad, paste this into it User-agent: * Disallow: / Code (markup): and safe it as robots Upload that into your root directory of your blog. There are extensions for wordpress so do whatever you feel comfortable with.
The easiest way is just login to your blog and go to the Setting > Privacy, check "Ask search engines not to index this site." and then save. It'll automatically add meta tag robots= "noindex,nofollow" to the whole blog. For site maintenance, I prefer to use htaccess and redirect all visitors to a maintenance page. It is easy to do, as described here - http://davidwalsh.name/htaccess-maintenance-page-redirect
Exactly how Masim man has suggested...just remember to change it back when you have finished with the dev work....sounds daft...trust me...we have all been there...
Not usually by default...it is a setting you opt out of when installing the Wordpress database and files etc...