• Hello all.

    I hope somebody can help me.

    I’ve worked on my friend’s website for the past two years. Last night I changed the website address from https:// to https:// on the general tab on WordPress without adding an SSL cert.

    When I tried to re load the website I was greeted with the following error.

    “HTTP Error 404. The requested resource is not found.”

    So far I have tried the following:

    1.) Disable themes
    2.) Disable plug ins
    3.) Reinstall word press
    4.) Use a find and replace app to replace all https:// with https:// (not sure if this worked)

    5.) Go into Wp-config.php in root directy and add the following lines. Save and try the page again.
    define(‘WP_HOME’,’https://example.com’);
    define(‘WP_SITEURL’,’https://example.com’);

    I have FTP access and I’ve just installed myphpadmin. I don’t have SSH access but I’m working with my host to get this.
    If I buy a SSL cert will that fix my issue?

    Any help would be appreciated!

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter murraynt1

    (@murraynt1)

    Hi judgerookie. Thanks for your reply.

    I Don’t have an SSL cert, but I can buy one from my host.

    My issue is i can’t access the /wp-admin page to change settings or to use the plug in after manually installing..

    siddhartha

    (@siddhartha10jun)

    Hello @murray

    Go to Database and open wp_options table and change the url..

    • This reply was modified 6 years, 6 months ago by siddhartha.

    Go to freessl.com for free cert, just need to update regularly.

    Thread Starter murraynt1

    (@murraynt1)

    Hi Siddhartha. I did that but still nothing..
    image
    image

    Thread Starter murraynt1

    (@murraynt1)

    I will look atfreessl.com now Husdon Thank you.

    Thread Starter murraynt1

    (@murraynt1)

    I tried to get a SSL cert using the upload a file to FTP method but it has failed to reach the server…

    Thread Starter murraynt1

    (@murraynt1)

    I’ve been in contact with the host. It’s based on a windows server so SSH access is out of the question unfortunately.

    Thread Starter murraynt1

    (@murraynt1)

    Hello all. I’m now able to get into the long in page.
    image<br />carbonate co3<br />

    i’ve set both my HOME and SITEURL to http:/dynotorque.co.uk
    image<br />carbonate co3<br />

    i’m still getting 404 errors and i can’t take the first step in getting an ssl file.

    to be honest. i just want the site back up for now. I don’t care about getting HTTPs for now.

    I can see my pages are still there in the admin section.

    can anybody help any more?

    Thread Starter murraynt1

    (@murraynt1)

    image

    i can preview my posts

    siddhartha

    (@siddhartha10jun)

    Hey murraynt,

    https://www.screencast.com/t/WNq4ow01Xe

    see this

    • This reply was modified 6 years, 6 months ago by siddhartha.
    Thread Starter murraynt1

    (@murraynt1)

    Hi @siddhartha10jun

    Thanks for the help

    I’ve done that. Still get a 404 error.
    Any more ideas?
    image

    Thread Starter murraynt1

    (@murraynt1)

    Am I correct in saying i don’t use .htaccess file on a windows server and i a web.config file?

    this is what is in my config.file

    <?xml version=”1.0″ encoding=”utf-8″?>
    <configuration>
    <system.webServer>
    <rewrite>
    <rules>
    <rule name=”Main Rule” stopProcessing=”true”>
    <match url=”.*” />
    <conditions logicalGrouping=”MatchAll”>
    <add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
    <add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
    </conditions>
    <action type=”Rewrite” url=”index.php” />
    </rule>
    </rules>
    </rewrite>
    <staticContent>
    <remove fileExtension=”.svg” />
    <mimeMap fileExtension=”.svg” mimeType=”image/svg+xml” />
    </staticContent>
    <defaultDocument>
    <files>
    <remove value=”index.aspx” />
    <add value=”index.php” />
    </files>
    </defaultDocument>
    </system.webServer>
    </configuration>

    when i change my Permalink stetting to https://www.dynotorque.co.uk/index-php/%postname%/ i can access some pages by going to dynotorque.co.uk/index.php/post-name

    Id there something wrong with my .htacess or my web.config?

    i can va

    siddhartha

    (@siddhartha10jun)

    Hey,

    This is issues on permalink issues also i think your problem is resolve now.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Error 404 after trying to set Https’ is closed to new replies.