Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

404 error with RewriteUrls enabled and SSL

Hello, I am adding SSL to my site and I found that there's something wrong with the redirection.

With RewriteUrls enabled in config, all pages return 404 error, only excluding home page. While the url with /index.php?p= works, no matter RewriteUrls enabled or disabled.

my .htaccess is

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]

So I am wondering what goes wrong here.

Comments

Sign In or Register to comment.