How to Configure Search Preferences in Blogger
Search engine optimization (SEO) is very important for your blog. If you make your blog search engine friendly, then you must get more traffic than regular. Blogger included this feature as you can set —
- Search or Meta Description.
- Custom Page Not Found.
- Custom Redirects.
- Custom robots.txt.
- Custom robots header tags.
Go to Search Preferences
- Sign in to Blogger with your Google Email and Password.
- Click the Down arrow in the top left, then choose your blog.
- In the left menu, click Settings > Search preferences.
Meta Tags Setting
Enable Search Description
Choose “Yes” to enable your blog’s search description. Write a description about your blog up to 150 characters maximum. Search engines usually use the meta description of a page in their search results snippets like the image below —
Enabling this feature will allow you to add Search description for every post in the Post Editor. Make sure the description is truly descriptive and keywords based are related to the content. To count characters, you can use this LetterCount tool.
Find Search Description
The meta or search descriptions aren’t displayed in the pages the user sees. If you are curious to see where the meta description actually goes, then —
- Make sure you published a post with Search Description.
- Open the page in a Browser new tab (Google Chrome, Firefox).
- Right-click on the page or press Ctrl+Shift+I.
- Click arrow to expand <head> element.
- Find this <meta content=”The description you provided will appear here…” name=”description”>.
Errors and Redirections
Set Custom Page Not Found Message
When visitors or readers try to access a page that doesn’t exist in your blog is called 404 error page. By default, a message “Sorry, the page you were looking for in this blog does not exist.” will be displayed on the Page Not Found page.
You can set a custom message will be displayed on the page instead of generic message. You can enter
HTML message and design the message with
Go to the 404 Error page
To find the 404 error page, go to a link that doesn’t exist in your blog. For this, type some wrong characters after forward slash “/” of your site url. An example link below —
- Copy and paste the link in your Browser address bar.
- Replace example with your blog address.
- Hit Enter. Now you should see the 404 error page.
An Example HTML Message for 404
<img border="0" src="https://3.bp.blogspot.com/-yTKCZtKNDsY/WCIGnOnvF5I/AAAAAAAACfQ/ed-jeSK7mugnkMVPdOp1HjHXw84egCH3gCLcB/s1600/404-Error-Page-Banner.png" /> <h3 style="font-size: 18px;">Sorry, the page you are looking for does not exist.</h3>
Click Edit of Custom Page Not Found option, then Copy and Paste the code in the text field.
Set Custom Redirects
If any page url doesn’t exist in your blog but readers still visit to that page. They obviously go to the 404 error page and can’t find the content they are looking for. To solve this problem, you should add a custom redirect from that old url to a new url.
Crawlers and indexing
Set Custom robots.txt
You can use the robots.txt file to give instructions about your site to web robots. By default, your blog uses it immediately after you created the blog. To check this file, go to http://example.blogspot.com/robots.txt.
You might see the file like below if your site is not visible to Search engines —
User-agent: Mediapartners-Google Disallow: User-agent: * Disallow: /search Disallow: / User-Agent: googlebot Disallow: /search Allow: /
- User-agent: * — It means this section applies to all robots.
- Disallow: / — It tells the robot that it should not visit any pages on the site.
- Disallow: /search — It means the links having keyword search just after the blog address will be ignored. Therefore, a page url like http://example.blogspot.com/search/label/labelname will never be crawled or indexed.
- Allow: / — It means that the robot may crawl your homepage.
You can generate a custom robots.txt file for your blog from here. After generating the file —
- Click “Yes” to enable custom robots.txt content.
- Copy and paste the generated code in this field.
- Click Save changes.
After a few moments, the file will be updated to this new code.
Set Custom Robots Header tags
You can customize your blog’s robots header tags for individual pages using this feature. To enable custom robots header tags —
- Click Edit button
- Select “Yes”
- Click Save changes
Once you’ve enabled it, you can see the custom robots tags is available for every post.
Robots Header Tags with Meaning
||There are no restrictions for indexing or serving. Note: this directive is the default value and has no effect if explicitly listed.|
||Do not show this page in search results and do not show a “Cached” link in search results.|
||Do not follow the links have been used on this page|
||Do not show a “Cached” link in search results.|
||Do not show a snippet (meta or search description) in the search results for this page|
||Do not use metadata from the Open Directory project for titles or snippets shown for this page.|
||Do not offer translation of this page in search results.|
||Do not index images on this page|
||Do not show this page in search results after the specified date/time. The date/time must be specified in the RFC 850 format.|
Robots Header Tags Live Experiment
I am using Chrome browser to see the robot header tags.
- Open Chrome and go to your site.
- Right-click on the page, then click Inspect or press Ctrl+Shift+I.
- Select the Network tab.
- You may need to reload the page once again. Press F5 to reload.
- Scroll up and click your site name (example: www.egtutorial.com).
- If Custom robots header tags are enabled then you will see X-Robots-Tag like the image below.