Title: Error 404 after trying to set Https
Last modified: September 6, 2018

---

# Error 404 after trying to set Https

 *  [murraynt1](https://wordpress.org/support/users/murraynt1/)
 * (@murraynt1)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-404-after-trying-to-set-https/)
 * 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 http:// 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 http:// (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’,’[http://example.com&#8217](http://example.com&#8217););
   define(‘WP_SITEURL’,’[http://example.com&#8217](http://example.com&#8217););
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-404-after-trying-to-set-https%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Farook Kholwadia](https://wordpress.org/support/users/judgerookie/)
 * (@judgerookie)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-404-after-trying-to-set-https/#post-10663511)
 * does this help?
    [https://wordpress.org/support/topic/404-on-wp-admin-after-adding-ssl-certificate/](https://wordpress.org/support/topic/404-on-wp-admin-after-adding-ssl-certificate/)
 *  Thread Starter [murraynt1](https://wordpress.org/support/users/murraynt1/)
 * (@murraynt1)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-404-after-trying-to-set-https/#post-10663549)
 * 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](https://wordpress.org/support/users/siddhartha10jun/)
 * (@siddhartha10jun)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-404-after-trying-to-set-https/#post-10663829)
 * Hello [@murray](https://wordpress.org/support/users/murray/)
 * Go to Database and open wp_options table and change the url..
    -  This reply was modified 7 years, 9 months ago by [siddhartha](https://wordpress.org/support/users/siddhartha10jun/).
 *  [HudsonValleyWebDesign](https://wordpress.org/support/users/jaycbrf/)
 * (@jaycbrf)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-404-after-trying-to-set-https/#post-10664084)
 * Go to freessl.com for free cert, just need to update regularly.
 *  Thread Starter [murraynt1](https://wordpress.org/support/users/murraynt1/)
 * (@murraynt1)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-404-after-trying-to-set-https/#post-10664318)
 * Hi Siddhartha. I did that but still nothing..
    [⌊image⌉](https://ibb.co/h3zuXz)
   [⌊image⌉](https://ibb.co/mcdMCz)
 *  Thread Starter [murraynt1](https://wordpress.org/support/users/murraynt1/)
 * (@murraynt1)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-404-after-trying-to-set-https/#post-10664320)
 * I will look atfreessl.com now Husdon Thank you.
 *  Thread Starter [murraynt1](https://wordpress.org/support/users/murraynt1/)
 * (@murraynt1)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-404-after-trying-to-set-https/#post-10664617)
 * 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](https://wordpress.org/support/users/murraynt1/)
 * (@murraynt1)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-404-after-trying-to-set-https/#post-10666584)
 * 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](https://wordpress.org/support/users/murraynt1/)
 * (@murraynt1)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-404-after-trying-to-set-https/#post-10668071)
 * Hello all. I’m now able to get into the long in page.
    [⌊image⌉](https://ibb.co/mytpKp)
   <br />[carbonate co3](https://aluminumsulfate.net/aluminum-carbonate)<br />
 * i’ve set both my HOME and SITEURL to http:/dynotorque.co.uk
    [⌊image⌉](https://ibb.co/bWmyC9)
   <br />[carbonate co3](https://aluminumsulfate.net/aluminum-carbonate)<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](https://wordpress.org/support/users/murraynt1/)
 * (@murraynt1)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-404-after-trying-to-set-https/#post-10668237)
 * [⌊image⌉⌊image⌉[
 * i can preview my posts
 *  [siddhartha](https://wordpress.org/support/users/siddhartha10jun/)
 * (@siddhartha10jun)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-404-after-trying-to-set-https/#post-10668517)
 * Hey murraynt,
 * [https://www.screencast.com/t/WNq4ow01Xe](https://www.screencast.com/t/WNq4ow01Xe)
 * see this
    -  This reply was modified 7 years, 9 months ago by [siddhartha](https://wordpress.org/support/users/siddhartha10jun/).
 *  Thread Starter [murraynt1](https://wordpress.org/support/users/murraynt1/)
 * (@murraynt1)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-404-after-trying-to-set-https/#post-10669174)
 * Hi [@siddhartha10jun](https://wordpress.org/support/users/siddhartha10jun/)
 * Thanks for the help
 * I’ve done that. Still get a 404 error.
    Any more ideas? [⌊image⌉](https://ibb.co/hdnOvU)
 *  Thread Starter [murraynt1](https://wordpress.org/support/users/murraynt1/)
 * (@murraynt1)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-404-after-trying-to-set-https/#post-10669461)
 * 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 [http://www.dynotorque.co.uk/index-php/%postname%/](http://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](https://wordpress.org/support/users/siddhartha10jun/)
 * (@siddhartha10jun)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/error-404-after-trying-to-set-https/#post-10704029)
 * 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.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 14 replies
 * 4 participants
 * Last reply from: [siddhartha](https://wordpress.org/support/users/siddhartha10jun/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/error-404-after-trying-to-set-https/#post-10704029)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
