To post a new support question, click the Post New Topic button below.
Current Version: 4.9.0 | Sytist Manual | Common  Issues | Feature Requests

Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.

Redirect My Website To Https

44 posts
Fri Sep 07, 18 10:34 AM CST
Hello Tim,

My hosting Go Daddy ask me to redirect my website to HTTPS in cPanel/Linux. I wil attach what they sent me.

Can you help?
Attached Photos

Thank's :)
16,205 posts (admin)
Sat Sep 08, 18 3:56 AM CST
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
44 posts
Mon Sep 10, 18 5:50 PM CST
I don't know if it's related but I don't have acces to my admin site anymore?!? www.verophoto.ca
Edited Mon Sep 10, 18 6:07 PM by V?ronique Dupuis
Thank's :)
16,205 posts (admin)
Tue Sep 11, 18 5:17 AM CST
Did you edit any other files?

You would need to email me your FTP info for me to look at the files.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
44 posts
Wed Sep 19, 18 2:51 PM CST
Hello Tim, I tried to redirect my website to htpps the way you said but my website is unaccessable since :(
Can you look at it please
Thank's :)
16,205 posts (admin)
Thu Sep 20, 18 5:24 AM CST
You added the code for the .htaccess file into the sy-config file which caused that. I have it fixed and also forcing httpS so nothing else you need to do.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
R
16 posts
Mon Feb 11, 19 5:42 PM CST
I'm trying to do an HTTPS redirect, but when I go into the admin and click on the settings menu, neither "edit .htaccess file" nor "edit config file" appear as options on the left side list. Are these options found elsewhere in the admin?
16,205 posts (admin)
Tue Feb 12, 19 4:41 AM CST
Underneath the left menu.
Attached Photos

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
R
16 posts
Tue Feb 12, 19 9:46 AM CST
Thanks, but I just killed my site. I did step one, edit .htaccess file, and put the following in

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.rwphotography.com/$1 [R,L]

And when I clicked save, Chrome gave me "page isn't working" error, and now I can't access either the admin or the site directly. Did the sy-config.php. need to be done before saving?

What should I try to do at this point?
Edited Tue Feb 12, 19 10:13 AM by Robert Welch
R
16 posts
Tue Feb 12, 19 10:36 AM CST
I downloaded the .htaccess file with Filezilla, here is the full content now:

ErrorDocument 404 /404.php
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.rwphotography.com/$1 [R,L]

AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript



Header set Cache-Control "max-age=604800, public"


Does all of that look correct?
16,205 posts (admin)
Tue Feb 12, 19 10:48 AM CST
It could be that the server doesn't like that method. Replace the contents of the .htaccess file with the follow:

ErrorDocument 404 /404.php
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www.rwphotography.com$ [NC]
RewriteRule ^(.*)$ https://www.rwphotography.com/$1 [L,R=301]

<ifModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript
</ifModule>

<FilesMatch ".(jpg|jpeg|png|gif|swf|js|css)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
R
16 posts
Tue Feb 12, 19 10:55 AM CST
Ok, I tried that and still not working. Chrome still says:

ERR_TOO_MANY_REDIRECTS
16,205 posts (admin)
Tue Feb 12, 19 11:01 AM CST
Remove this part of the code from the .htaccess file and re-upload it.

RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www.rwphotography.com$ [NC]
RewriteRule ^(.*)$ https://www.rwphotography.com/$1 [L,R=301]


Since neither method works, you will need to find out from your hosting company the way to force httpS with their hosting.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
R
16 posts
Tue Feb 12, 19 11:07 AM CST
Ok, thanks for the help. It's back up with that.

I'll call the host and see what they say about it. It's hosted on Web.com, FWIW.
14 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 1,220 times
Category: Installation
 
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close