Using 'Hide this page from Search Engines' | Community
Skip to main content
February 13, 2023
Solved

Using 'Hide this page from Search Engines'

  • February 13, 2023
  • 2 replies
  • 3131 views

Hello,

 

If I have existing pages I know longer want to be accessible by google I have a few options.

 

1) Implement 301 redirects from old URL to new ones. 

2) Select the 'hide page from search engines' in properties.

3) Remove page from Sitemap - but leave published. 

 

If I do not put in 301 redirects and just select tick box to hide from search engines and sitemap, will this create 404 errors or will Google simply start to ignore pages and stop listing in SERPs?

 

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by BrianKasingli

1) Implement 301 redirects from old URL to new ones. 

 - add rules in dispatcher rewrite rules for 301 redirect. I would consider 301 redirect rules in the CDN or Dispatcher level, given that 301 redirects from the publishers may impact performance of your AEM environments.

2) Select the 'hide page from search engines' in properties.

- if your website has a "robots" feature which adds the <meta name="robots" content="noindex" /> on the page whether it is enabled or not, you can enable this.

3) Remove page from Sitemap - but leave published. 

- if you use AEM ACS Commons sitemap generator or AEMaaCS sitemap generator, you can select "hideInNav", which is a configuration used to remove it from being generated. I must note AEM ACS Commons sitemap generator or AEMaaCS sitemap generator can be configured to identify properties that is set to "true" to be disabled from the sitemaps.xml

2 replies

arunpatidar
Community Advisor
Community Advisor
February 14, 2023

you can use noindex meta attribute or add those pages in robots.txt

Arun Patidar
BrianKasingli
Community Advisor and Adobe Champion
BrianKasingliCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
February 15, 2023

1) Implement 301 redirects from old URL to new ones. 

 - add rules in dispatcher rewrite rules for 301 redirect. I would consider 301 redirect rules in the CDN or Dispatcher level, given that 301 redirects from the publishers may impact performance of your AEM environments.

2) Select the 'hide page from search engines' in properties.

- if your website has a "robots" feature which adds the <meta name="robots" content="noindex" /> on the page whether it is enabled or not, you can enable this.

3) Remove page from Sitemap - but leave published. 

- if you use AEM ACS Commons sitemap generator or AEMaaCS sitemap generator, you can select "hideInNav", which is a configuration used to remove it from being generated. I must note AEM ACS Commons sitemap generator or AEMaaCS sitemap generator can be configured to identify properties that is set to "true" to be disabled from the sitemaps.xml