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
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
by hardcoding
into wp-config.php I was able to solve this issue.
As @cool suggested, you have to check wp_options table for option name “home” (probably “siteurl” too, since you have the same).
Save the options prepended with “http://”.
Like http://www.example.com. You have them saved as http://www.example.com as seen from your question: