简体   繁体   中英

Redirect HTTP to HTTPS , Doesn't redirect to the login page

I have a phpBB3 forum and I have a issue with my redirect from HTTP to HTTPS.

I am using in my .htaccess

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Now everything works perfect besides the Login page , when I press on Login it redirects me to https://www.crowned.ro/ucp.php?mode=login , but my forum is located in /forum and for some reasons only the login doesn't want to redirect properly.

In this image you can see that if you hover over the Login button in the corner it shows the good link . http://prntscr.com/dojio3

如果您也遇到这种情况,请检查图像是否具有HTTP://如果它们确实使用HTTPS更改://,因为SSL要求每个连接都是HTTPS://以便正确显示所有内容。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM