Title: getting redirected
Last modified: January 5, 2020

---

# getting redirected

 *  [unknowndexy](https://wordpress.org/support/users/unknowndexy/)
 * (@unknowndexy)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/getting-redirected-2/)
 * My WordPress gets redirected if I use [http://nordicpvp.tk](http://nordicpvp.tk)
   to localhost and if I use [https://nordicpvp.tk](https://nordicpvp.tk) Im going
   to the WordPress website. I dont know what to do
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetting-redirected-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/getting-redirected-2/#post-12294363)
 * 1) use the http protocol and run this guide [https://wordpress.org/support/article/moving-wordpress/#changing-your-domain-name-and-urls](https://wordpress.org/support/article/moving-wordpress/#changing-your-domain-name-and-urls)(
   install the plugin mentioned by that guide to replace the old domain with the
   new one)
    2) After enabling a certificate ssl, you must set the new url in the
   dashboard settings and install the plugin to replace the old domain with new 
   domain, it must also be specified for wordpress `$_SERVER['SERVER_PORT']` with
   value 443 or `$_SERVER['HTTPS']` with value 1 or on otherwise wordpress fails
   to understand when you are in https (it means infinite cycle of redirects on 
   path https). For this you need to consult your web server manual. It would be
   nice if you backup your files and database first.
 *  [JNashHawkins](https://wordpress.org/support/users/jnashhawkins/)
 * (@jnashhawkins)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/getting-redirected-2/#post-12294369)
 * A few details might help us.
 * I found a web server running cPanel on the IP your domain resolved to. Does your
   localhost box run cPanel?
 * Has this site ever ran or is this a new website? I didn’t find anything for that
   domain name in the Wayback Machine?
 * Have you called your web host for help if that host is not a local webserver?
 * Was this a migration from a localhost to some version of web hosting?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘getting redirected’ is closed to new replies.

## Tags

 * [link](https://wordpress.org/support/topic-tag/link/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [JNashHawkins](https://wordpress.org/support/users/jnashhawkins/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/getting-redirected-2/#post-12294369)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
