Technology
How to Remove the Date from Google Search Results in a Blogger Site
How to Remove the Date from Google Search Results in a Blogger Site
To remove the date from the search results of your Blogger site, you can modify the HTML of your template. This process allows you to enhance the appearance of your content in Google search results. Follow the steps below to achieve this:
Step 1: Access Your Blogger Dashboard
1. Sign in to your Blogger account and select the blog you want to edit.
Step 2: Access the Theme Settings
1. In the left sidebar, click on Edit HTML. This will open the code editor of your template.
Step 3: Locate the Date Code
1. Press Ctrl F or Cmd F on Mac to open the search box. Look for the following code snippet or similar:
b:if cond''div class'blog-pager-bit mobBlogPager'
2. Alternatively, you might find similar code such as:
div class'post-footer-line post-footer-line-2'span class'post-author vcard'span class'fn'a href'url' rel'author'Posted by Author/a/span/spanbr /font color'gray'a href'url'span class'post-timestamp'Published Date/span/a/font/div
Step 4: Remove or Comment Out the Code
1. You can either delete this code or comment it out by wrapping it in !-- tags. For example:
!--div class'post-footer-line post-footer-line-2'span class'post-author vcard'span class'fn'a href'url' rel'author'Posted by Author/a/span/spanbr /font color'gray'a href'url'span class'post-timestamp'Published Date/span/a/font/div--
Step 5: Save Your Changes
1. After making the changes, click on the Save Theme button.
2. Visit your blog to verify that the date no longer appears in the search results.
Notes and Considerations
Removing the date may affect how your content is perceived. Some users prefer to see dates for context. Consider this before making the change.
Search engines may still index the date if it is present in the HTML. To further improve your site, ensure that you clear your blog’s cache and reindex if necessary.
Alternative Methods to Hide Content from Google Search Results
Another method to manage the visibility of content in Google search results is by using the Google Search Console. Here’s how to do it:
Step 1: Verify Your Blog in Google Search Console
1. Log in to your Google Search Console account.
Step 2: Remove URLs from Search Results
1. Go to the Search appearances section and click on Deindex.
2. Add your page or link, choose the request type as Remove index, and click Submit.
Note: After a few days, you will see that all your old URLs and domain links are removed automatically.
For more customization or specific theme help, feel free to seek assistance!
-
A Comprehensive Guide to Performance Testing: Ensuring Optimal Application Performance
A Comprehensive Guide to Performance Testing: Ensuring Optimal Application Perfo
-
Understanding Upstream and Downstream in Electrical Systems and Data Communication
Understanding Upstream and Downstream in Electrical Systems and Data Communicati