domain mapping plugin

I am unable to download domain mapping. I clicked on download in the dashboard and it keeps taking me in circles

  • Adam Czajczyk

    Hello Katrina,

    I hope you're well today and thank you for your question!

    I can see that the site that you assigned to this thread is a single/regular WordPress install. The Domain Mapping plugin is compatible only with WordPress Multisite where it allows you to map additional domains to the sub-sites (not the main site) of the network. Therefore it doesn't work on a single-site WordPress installations and it's not possible to install it there.

    Assuming you'd like to use multiple domains for the same (single install!) WordPress site you could make use of a simple trick:

    1. Add these lines to the "wp-config.php" file of your site:

    define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']);
    define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']);

    These lines should be placed above the "/* That's all, stop editing.... " line.

    2. Point your additional domains to the same server and make sure that in cPanel (or other server management panel that you're using) folder of these domains are set to be the same as the folder of an original domain.

    In most cases it will work out of the box though sometimes it may be necessary to add some .htaccess redirects in case there are hard-coded URL's.

    I hope that helps!

    Best regards,
    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.