Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 3 Years, 3 Weeks ago Force Https
#1
Solved: 3 Years, 3 Weeks ago
Alright basically what the title says:

when someone types aeythex.com or www.aeythex.com, how can I force them to go to https://www.aeythex.com




I tried Googling the answer, however it does not work.
www.volvl.com | Get your first month of hosting for $0.01 USD with Promo Code: Hexeus
[Image: 12946833.gif]


Reply
#2
Solved: 3 Years, 3 Weeks ago
Read this newly added documentation for details: https://docs.mybb.com/1.8/administration...cing-https
Reply
#3
Solved: 3 Years, 3 Weeks ago
Alright thanks, but how do I know which one I am using?

Apache or nginx
www.volvl.com | Get your first month of hosting for $0.01 USD with Promo Code: Hexeus
[Image: 12946833.gif]


Reply
#4
Solved: 3 Years, 3 Weeks ago
you can check it under the admin cp - tools and maintenance - view php info, if you are using cpanel you can login into the cpanel and check server information. it will show you all the software and extensions installed on the server.
Reply
#5
Solved: 3 Years, 3 Weeks ago
I got an error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Apache Server at aeythex.com Port 80

This is my .htaccess


RewriteEngine on
RewriteCond %{HTTP_HOST} ^gamersanctuary\.xyz$ [OR]
RewriteCond %{HTTP_HOST} ^www\.gamersanctuary\.xyz$
RewriteRule ^/?$ "http\:\/\/aeythex\.com" [R=301,L]



RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

I have another error (this one was generated when I typed "www.aeythex.com":

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Apache Server at www.aeythex.com Port 443




The 1st error was generated when I typed "aeythex.com"
www.volvl.com | Get your first month of hosting for $0.01 USD with Promo Code: Hexeus
[Image: 12946833.gif]


Reply
#6
Solved: 3 Years, 3 Weeks ago
Seems like the Docs page is not displaying lines correctly - try separating those statements:
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Also, change
RewriteRule ^/?$ "http\:\/\/aeythex\.com" [R=301,L]
to
RewriteRule ^/?$ "https\:\/\/aeythex\.com" [R=301,L]
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#7
Solved: 3 Years, 3 Weeks ago
That got it to work, thanks!
www.volvl.com | Get your first month of hosting for $0.01 USD with Promo Code: Hexeus
[Image: 12946833.gif]


Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 2 Guest(s)