K
K
Kirill Naumov2020-05-26 10:44:32
WordPress
Kirill Naumov, 2020-05-26 10:44:32

How to properly park a domain on WP?

Gentlemen, there is an express question on WP. There was domain A, bought domain B. The task is to make it available for both domains. I parked domain B - attached SSL.

  1. Change domain in wp settings
  2. Made a redirect to htaccess
  3. Added domain to wp-config
  4. Changed domain in wp-options database.
  5. Permalinks updated


Only the main page works, the rest returns 404. Does anyone know how it is treated?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2020-05-26
@azerphoenix

The task is to make it available for both domains

This is called an alias.
Let the VP also remain attached to domain A.
Remove domain B from the hosting and add it as an alias to domain A.
Reissue the certificate for domain A, specifying domain A with and without www in aliases, as well as domain B with and without www.
Seems like it should work without a problem.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question