URL redirects to doubled version
-
Hi all,
I recently moved my wordpress installation to new hosting under an addon domain. When I access the site at http://mysite.com, it redirects to https://www.mysite.com/mysite.com.
I have googled and seen many other people with this problem and have checked and tried the following with no luck:
Made sure the siteurl and home fields in wp_options in the database both start with http://
Updated permalink settings in wordpress settings menu
In wp-config.php, added the linesdefine('WP_SITEURL', 'http://mysite.com'); define('WP_HOME', 'http://mysite.com');Added the following to the .htaccess file in public_html:
RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]Disabled any plugins that might affect redirects or URLs
Can anyone suggest other things I might have missed here? One thing I noticed is it is redirecting to the https:// version, but I’m still waiting for my security certificate from my host. I had been trying to use the Really Simple SSL plugin but disabled it till I get the certificate so I’m not sure why it is redirecting to the https at the moment, could that be part of the problem?
- This topic was modified 6 years, 5 months ago by .
- This topic was modified 6 years, 5 months ago by .
- This topic was modified 6 years, 5 months ago by .
The page I need help with: [log in to see the link]
The topic ‘URL redirects to doubled version’ is closed to new replies.