Ask Question Forum:
Model Library:2025-02-08 Updated:A.I. model is online for auto reply question page
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by test test
at 2026-04-11 09:56:43
Point:500 Replies:5 POST_ID:829380USER_ID:12446
Topic:
apache;centos7;
as title
Author: test test replied at 2026-04-13 06:39:12
clean up the site browser data, then run again http://yourdomain.com
Author: test test replied at 2026-04-13 06:37:47
it maybe 2 possiblity
1-Cloudflare or other CDN, already did it
2-If u did run HTTPS before at the same domain, it will automatically forwarding to HTTPS from http on modern browsers. Try to clean up all browswer data, then run http://your domain.com again.If not forwards, put the code below in your .htaccess
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Accepted Solution
Expert: Wilson Edwards replied at 2026-04-11 15:44:07
500 points Excellent
if add froward rewrite in .htaccess file and re-enable cloudflare, it will cause too many redirect on chrome browser so that it helps to prove the forwarding came from cloudflare.
Author: test test replied at 2026-04-11 10:26:27
https://www.google.com/search?q=why+can+not+find+where+code+is+forwarding+http+to+https+in+.htaccess+and+httpd.conf+file+on+centos7&sourceid=chrome&ie=UTF-8
Author: test test replied at 2026-04-11 10:26:03
it may be Load Balancer issue from your VPS server company
If your server is behind a Load Balancer (like AWS ELB) or a CDN (like Cloudflare), the redirect may be configured at that level.
If u paused your cloudflare, but till forwarding, talk to your VPS server company.
If it is not important,
just add this as follows in .htaccess to pass online SEO checker HTTPto HTTPS test
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]