Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1003430

    Hi

    I have changed the site url from http to https.

    It worked for a while and the website is broken now.

    I can not access any other pages apart from the home page.
    Even the homepage does not load theme properly.
    Can not access to admin page as well.

    • This topic was modified 6 years, 2 months ago by jayflavs.
    #1003435

    Hey jayflavs!

    Try to add this code to your .htaccess to redirect all requests to the new https url:

    
    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    

    If this doesn’t help try to download and install the php script from here: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    Use ftp to upload it to the main wordpress directory (where the wp-content, wp-admin, etc. folders are located). Then replace all occurrences of the old http:// url with your new https:// url.

    Regards,
    Peter

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.