Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

How to hide xxxxx-prod.adobemsbasic.com url from google

Avatar

Level 2

Hi, 

 

I'm finding that the xxxxx-prod.adobemsbasic.com URL is turning up on google and other search engines as well as my sites cleaner URL, I was hoping that someone has had the same issue and had a solution to this issue. 

 

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hey Jorg, 

 

Is there documents on how to set up the dispatcher that only "official" hostnames are set, just to check my work I think I have set that up right. 

 

As for redirect your suggesting that I then in the redirect map and add something like this?

RewriteRule xxxxx-prod.adobemsbasic.com/?$ https://www.mysite.com [L,R=permanent]

View solution in original post

3 Replies

Avatar

Employee Advisor

you need to setup your dispatcher configuration in a way, that only "official" hostnames are allowed; anything else should be redirected to your "main" domain name.

Avatar

Correct answer by
Level 2

Hey Jorg, 

 

Is there documents on how to set up the dispatcher that only "official" hostnames are set, just to check my work I think I have set that up right. 

 

As for redirect your suggesting that I then in the redirect map and add something like this?

RewriteRule xxxxx-prod.adobemsbasic.com/?$ https://www.mysite.com [L,R=permanent]