Customise The Robots.Txt File, For Your Blog
Friday, October 4, 2019
Edit
The file "Robots.Txt", used to care search engine access to your blog, is institute inwards the weblog root folder.
You can't edit "Robot.Txt" straight - but you lot tin upload a novel file. Long ago, you lot would use Webmaster Tools - which is at nowadays called Search Console.
Now, nosotros tin update "robots.txt" directly, using the Blogger dashboard "Custom robots.txt" wizard, inwards Settings - "Search preferences".
Here's the link to the "Robots.Txt" file, for this blog.
To sentiment / re-create the electrical current contents, but click on the link. You tin produce the same amongst the file, for your blog.
If I desire to alter the file for this blog, I offset amongst the electrical current file. Excepting one small-scale detail (my weblog is published to "blogging.nitecruzr.net", yours is published to your chosen URL), your file volition survive identical - if you lot convey non tweaked it.
Let's hold back at a uncomplicated illustration - adding a sitemap.
Some people would similar to index the static pages, inwards their blog. That's a uncomplicated plenty chore - but add together the sitemap, for static pages, to your file.
"sitemap-pages.xml", similar "sitemap.xml", is automatically generated for each blog.
Start from Settings - Search preferences.
Start amongst an empty ("[Disabled]") "Custom robots.txt".
Click on "Edit".
Click on "Yes".
Paste inwards your edited file content. Note that you lot volition overlay the electrical current contents amongst what you lot glue - in addition to therefore glue the entire file, equally you lot wishing to have.
Click on "Save changes".
Select "Yes" for "Enable custom robots.txt content?", if necessary.
Right now, though, I don't desire to alter my file. So, I'll exit my custom file inwards the wizard, in addition to exit "No" selected.
And the custom file is
"[Disabled]", again.
Even if disabled, I tin larn it dorsum again, easily enough. Just click on "Yes", in addition to in that place it is, again. For correct now, though, I'll exit it "[Disabled]".
Just survive aware of the dangers of editing, without knowing what lawsuit a given entry has, on search engine activity. Remember that you lot tin larn the default file back, amongst a twain mouse clicks.
You can't edit "Robot.Txt" straight - but you lot tin upload a novel file. Long ago, you lot would use Webmaster Tools - which is at nowadays called Search Console.
Now, nosotros tin update "robots.txt" directly, using the Blogger dashboard "Custom robots.txt" wizard, inwards Settings - "Search preferences".
Here's the link to the "Robots.Txt" file, for this blog.
http://blogging.nitecruzr.net/robots.txt
To sentiment / re-create the electrical current contents, but click on the link. You tin produce the same amongst the file, for your blog.
If I desire to alter the file for this blog, I offset amongst the electrical current file. Excepting one small-scale detail (my weblog is published to "blogging.nitecruzr.net", yours is published to your chosen URL), your file volition survive identical - if you lot convey non tweaked it.
User-agent: Mediapartners-Google Disallow: User-agent: * Disallow: /search Allow: / Sitemap: http://blogging.nitecruzr.net/sitemap.xml
Let's hold back at a uncomplicated illustration - adding a sitemap.
Some people would similar to index the static pages, inwards their blog. That's a uncomplicated plenty chore - but add together the sitemap, for static pages, to your file.
"sitemap-pages.xml", similar "sitemap.xml", is automatically generated for each blog.
User-agent: Mediapartners-Google Disallow: User-agent: * Disallow: /search Allow: / Sitemap: http://blogging.nitecruzr.net/sitemap.xml Sitemap: http://blogging.nitecruzr.net/sitemap-pages.xml
Start from Settings - Search preferences.
Start amongst an empty ("[Disabled]") "Custom robots.txt".
Click on "Edit".
Click on "Yes".
Paste inwards your edited file content. Note that you lot volition overlay the electrical current contents amongst what you lot glue - in addition to therefore glue the entire file, equally you lot wishing to have.
Click on "Save changes".
Select "Yes" for "Enable custom robots.txt content?", if necessary.
Right now, though, I don't desire to alter my file. So, I'll exit my custom file inwards the wizard, in addition to exit "No" selected.
And the custom file is
"[Disabled]", again.
Even if disabled, I tin larn it dorsum again, easily enough. Just click on "Yes", in addition to in that place it is, again. For correct now, though, I'll exit it "[Disabled]".
Just survive aware of the dangers of editing, without knowing what lawsuit a given entry has, on search engine activity. Remember that you lot tin larn the default file back, amongst a twain mouse clicks.