: Wildcard subdomains are more trouble than they are worth. I'd suggest turning that off if possible and setting up the subdomains you require manually. Failing that, your best solution would
Wildcard subdomains are more trouble than they are worth. I'd suggest turning that off if possible and setting up the subdomains you require manually.
Failing that, your best solution would be to do a 301 redirect from any wildcard subdomain back to the main domain. Since the wildcards would be reading from the same directory as the main domain, this should be a simple matter of an .htaccess file that redirects if the requested URL does not start with the main domain or your specific subdomains.
If that is not possible, then a canonical tag would be effective as well. You should also make sure your internal links point to the main domain, ie if a user enters the site at sub.example.com/page.html, a next page link would for example point to example.com/page2.html.
More posts by @Yeniel560
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.