Title: https redirection issue
Last modified: August 29, 2022

---

# https redirection issue

 *  [calebmacdonald](https://wordpress.org/support/users/calebmacdonald/)
 * (@calebmacdonald)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/https-redirection-issue-2/)
 * Hi everyone, I found a strange problem on a wordpress website, my website address
   is “https” but in wordpress dashboard setting in general and in permalinks the
   adress is ” htttp” can anybody help me how can I fix this issue? because the 
   url settings both are being showed uneditable

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [3 years, 7 months ago](https://wordpress.org/support/topic/https-redirection-issue-2/#post-15960838)
 * If they’re uneditable, you probably set the URL values in wp-config.php. Check
   that file.
 *  Thread Starter [calebmacdonald](https://wordpress.org/support/users/calebmacdonald/)
 * (@calebmacdonald)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/https-redirection-issue-2/#post-15961105)
 * First of all thank you for the response. Secondly yes there are two line of code
   like define(‘WP_HOME’,’[http://&#8217](http://&#8217); . $_SERVER[‘HTTP_HOST’].‘/’);
 * so what should I do, should I remove them? is this thw hard coded value?
 *  Thread Starter [calebmacdonald](https://wordpress.org/support/users/calebmacdonald/)
 * (@calebmacdonald)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/https-redirection-issue-2/#post-15961112)
 * Should I have to remove the code or modify it like this and replace it with the
   https address?
    define( ‘WP_HOME’, ‘[https://example.com&#8217](https://example.com&#8217););
   define( ‘WP_SITEURL’, ‘[https://example.com&#8217](https://example.com&#8217););
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [3 years, 7 months ago](https://wordpress.org/support/topic/https-redirection-issue-2/#post-15961151)
 * Just remove those two lines.
 *  Thread Starter [calebmacdonald](https://wordpress.org/support/users/calebmacdonald/)
 * (@calebmacdonald)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/https-redirection-issue-2/#post-15961187)
 * Just for the more knowledge after removing these lines of code……will the address
   will change to https or after that I have to perform the url changing process
   because the whole permalink fields are filled with http?
 * Actually I am confused that greyed out url fields or the conflict between Urls
   are the same issue? will after removing the code the yrl will be updated with“
   https” throughout the dashbaord setting?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [3 years, 7 months ago](https://wordpress.org/support/topic/https-redirection-issue-2/#post-15961194)
 * Once you remove those lines, the grayed out fields will be writable again.

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

The topic ‘https redirection issue’ is closed to new replies.

## Tags

 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/https-redirection-issue-2/#post-15961194)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
