domain woes (2 posts)

  1. skippydodah
    Posted 5 years ago #

    My site has two domains associated to it. the blog when you go to domain2.com/blog it redirects to domain1.com/blog and i can't get it to stop.
    In the admin under the settings tab i have the site address and the wordpress address set to domain2.com/blog (where i truly want it to live) and then in the wp-config i found something online that said i should add to wp-config the following
    define('WP_SITEURL', 'http://www.domain2.com/blog');
    define('WP_HOME', 'http://www.domain2.com/blog');
    that didn't work either. for some reason domain2.com/blog still redirects to domain1.com/blog
    the only line in my .htaccess file is
    DirectoryIndex index.php

    Any thoughts anyone?

  2. MichaelH
    Posted 5 years ago #

    Check with your host to make sure you don't have a redirect setup in your hosting 'control panel'

Topic Closed

This topic has been closed to new replies.

About this Topic