Double Domain in WordPress URL

I recently merged databases in WordPress and now my content is getting multiple domains in it’s url.

For example it should be http://www.example.com/content

Read More

but it is http://www.example.com/www.example.com/content

My settings show:
WordPress Address (URL) http://www.example.com/
Site Address (URL) http://www.example.com/

I haven’t made any changes to HTACCESS

Related posts

2 comments

  1. by hardcoding

    define('WP_HOME','http://www.example.com/');
    define('WP_SITEURL','http://www.example.com');
    

    into wp-config.php I was able to solve this issue.

Comments are closed.