Support » Fixing WordPress » Strange redirecting trouble

  • Hello. I’ve got a problem. My site has some ip address, not domain-name. When i’m trying to open say https://x.x.x.x:9443/wordpress/wp-admin everything is fine, but when i’m trying to open http://x.x.x.x:9443/wordpress it automatically redirecting me to "https://name:9443/wordpress". Why? How can i fix it?

Viewing 10 replies - 1 through 10 (of 10 total)
  • What would you like it to do? It’s a good thing that you’re using SSL to secure your website. As long as the website shows correctly, using https is a good thing.

    If you don’t want to use https you should check the URL settings in WordPress. If you login to the backend and go to Settings >> General, what do you have for “WordPress Address (URL)” and “Site Address (URL)”? You most likely will want both of those to be the same address. If you want to use http, then both need to have http instead of https listed.

    Thread Starter qmor

    (@qmor)

    unfortunately it doesn’t work too. I mean it works with the same result. I’ve tried both http://x.x.x.x:9443/wordpress and https://9443/wordpress

    Are both of the URL settings in WordPress set to the same address?

    Are you trying to always load your website in https or http? If you go to Settings –> General you should adjust your WordPress Address and Site Address to the non-https url. This way your website will always load non-secure. You probably don’t need the SSL certificate unless you are doing money transactions on your site. If it’s just a normal site then you shouldn’t be loading it in https. It’s just overhead on the webserver for no reason and won’t really bring any major benefit to the end users on your site.

    Thread Starter qmor

    (@qmor)

    Yes, of course.

    @qmor, did you see @jchechik’s reply? Try setting everything to use only http and see if that helps. If you still see URLs with https then you should probably look in your htaccess file for issues.

    Thread Starter qmor

    (@qmor)

    @jonathan, i’ve tried do that. Without positive results. A strange thing that phpMyAdmin works fine, and admin part of wordpress too. I do not need any security, but some another site on that server need for it. And i’ve got the only one external port 9443 which is redirected to internal port 443.

    Without having a ton of details about your server setup this will be tough to diagnose. It would probably be worth reaching out to your hosting provider with the issue.

    If your hosting server has 9443 forwarding to internal 443 then most likely there is also a non-secure port forwarding to internal port 80. On many servers the external port 8080 is used for that. Maybe you can try that out and see if it works for you? If not then you would have to listen to @jonathan and speak with your hosting provider about putting another solution in place.

    Thread Starter qmor

    (@qmor)

    Yes, i think so. Thans for your answers. Will contact with my network admin to enable another non-secure port forwarding.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Strange redirecting trouble’ is closed to new replies.