A domain or subdomain alias, with all site internal links using the alias too?

I’d like to have a WordPress installation at domain.com.
I’d like to have domain.net as a domain.com alias like this:
If a user enters the site through domain.com, all the internal links use domain.com.
If a user enters the site through domain.net, all the internal links use domain.net.

I also have the same question, but for a subdomain. For example sub.domain.com as a domain.com alias, and if a user enters the site through sub.domain.com, all the internal links use sub.domain.com.

Is such a thing possible?

Read more here:: A domain or subdomain alias, with all site internal links using the alias too?

Leave a Reply

Your email address will not be published. Required fields are marked *