I’m using WordPress and what I want is to have to many subdomains that load the same site with the same content.
Example: http://teensdigest.com/
You can access the same content in the aff1.teensdigest.com or aff2.teensdigest.com ect ect…
I created the subdomain on my cpanel but when I click on the posts i redirect from aff1.domain.ltd to domain.ltd/post …
I want that user continue stay at aff1.domain.ltd/post
How can I fix this?
You will need to create a domain alias which are called Parked Domains in cpanel. A domain alias will mirror the primary website but will still use the required domain.
Be careful as search engines do not like this as it is considered as duplicate content. Read More
I’m investigating a similar question, and found the WP Subdomains (Revisited) plugin.
Is has this option in its settings:
The plugin requires a wildcard for subdomains of some sort. I’ll leave that as a host-specific thing to solve.