Mobile app version of vmapp.org
Login or Join
Yeniel560

: 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

@Yeniel560

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.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Yeniel560

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme