• arafat_ah

    (@arafat_ah)


    Hello friends,

    Previously, my WordPress site was based on Apache. Then I moved it to NGINX. Today I installed LetsEncrypt SSL on my server. Now my site’s inner pages show 404 error. The homepage is only being loaded. But the posts don’t load. After I moved to NGINX, my catching plugin WP Super Cache said that ‘Mod Rewrite not installed on server’. Is this an issue? I guess that I need to configure NGINX to work with URL rewrite or something like this (because .htaccess doesn’t work with NGINX). But I can’t find what should I edit. Could you anyone please help me make SSL work with my NGINX based WP site?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • ProjectArmy

    (@supporthero)

    “Mod Rewrite” is an Apache module, it’s not available through Nginx. All rewrites on Nginx are handled by nginx.conf file. This is also where you would enable HTTPS.

    Here are some articles relevant to your situation:

    Nginx configuration for SSL:
    https://www.digicert.com/ssl-certificate-installation-nginx.htm

    WP Super Cache nginx configuration:
    https://gist.github.com/adeubank/e12ede1d15c23f77fd37

    Also, make sure you’ve updated your database and home/site URLs to use HTTPS version.

    I would recommend setting up Really Simple SSL plugin, to make sure SSL is working with your WP correctly. Installing this plugin won’t fix your 404 issues, you still need to troubleshoot your nginx.conf file using articles above. But after you fix it, consider using this plugin.

    ^V

    Thread Starter arafat_ah

    (@arafat_ah)

    Thanks ProjectArmy, I apologize for late reply. If I want to use Cloudflare free flexible SSL, should I still tweak NGINX settings? I changed the database with a plugin to add HTTPS to all of my URLS including GUIDs (URLS were changed). But My site’s inner posts still show 404 (it says ‘too many redirects’ as well). What should I do, could you please advice?

    I have install ssl to my website hosted on windows server, it is working properly but, http://www.ventaforce.com/blog is in wordpress on same windows server, but blog section is not working, even I am trying to login the wordpress panel , but the URL is not working.
    http://www.vwntaforce.com/blog/wp-login.php is not working….plz help me to solve this problem.

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

The topic ‘404 error for inner pages after installing SSL’ is closed to new replies.