• 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)

    (@sterndata)

    Volunteer Forum Moderator

    If they’re uneditable, you probably set the URL values in wp-config.php. Check that file.

    Thread Starter calebmacdonald

    (@calebmacdonald)

    First of all thank you for the response. Secondly yes there are two line of code like define(‘WP_HOME’,’https://’ . $_SERVER[‘HTTP_HOST’] . ‘/’ );

    so what should I do, should I remove them? is this thw hard coded value?

    Thread Starter calebmacdonald

    (@calebmacdonald)

    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’ );
    define( ‘WP_SITEURL’, ‘https://example.com’ );

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Just remove those two lines.

    Thread Starter calebmacdonald

    (@calebmacdonald)

    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)

    (@sterndata)

    Volunteer Forum Moderator

    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.