• Hi Guys!

    4 Years ago I created my first WordPress Site in my Localhost. When I uploaded to the Server, It didn’t work and I couldn’t login since I didn’t changed the “Site URL” before to upload the files… as a Solution I changed it with hard coding in the config file.
    I think that is making problem now:

    I’m trying to activate now the SSL connection. The hosting Provider has the option to force the redirection. When I do that, the site will be redirect to the https address but Everything is displayed without format but as soon as I change the the hard Code URL in the config file to the https address, I got the error notice: “too many redirects” and I can not access to the site.
    I’m not using any SSL plugin… in my other websites I’ve never had any problem…just activated the SSL and the redirection, then changed on the WP dashboard the http URL with the https address and voilá! everything works… but not here…
    Do you know what can be causing this problem? It is because I’m using this hard coding URL? (It is the only difference with my other sites)… how can I fix that?
    I’m not an IT person… please help me! THANK YOUUUUUUUUUUUU

    Paula

Viewing 1 replies (of 1 total)
  • Hi @pzmarketing,

    If you want to be sure you might want to alter the siteurl directly inside your database and remove it from wp-config.php

    Here is how you alter de url’s inside your database:

    • Backup your database and save the copy off-site.
    • Login to phpMyAdmin
    • Click the link to your Databases.
    • A list of your databases will appear. Choose the one that is your WordPress database.
    • All the tables in your database will appear on the screen.
    • From the list, look for wp_options. Note: The table prefix of wp_ may be different if you changed it when installing.
    • Click on the small icon indicated as Browse.
    • A screen will open with a list of the fields within the wp_options table.
    • Under the field option_name, scroll down and look for siteurl.
    • Click the Edit Field icon which usually is found at the far left at the beginning of the row.
    • The Edit Field window will appear.
    • In the input box for option_value, carefully change the URL information to the new address.
    • Verify this is correct and click Go to save the information.
    • You should be returned to your wp_options table.
    • Look for the home field in the table and click Edit Field. Note There are several pages of tables inside wp_options. Look for the > symbol to page through them.
    • In the input box for option_value, carefully change the URL information to the new address.
    • Verify this is correct and click Go to save the information.
    • This reply was modified 6 years, 7 months ago by helldog2018.
Viewing 1 replies (of 1 total)
  • The topic ‘SSL not working’ is closed to new replies.