If you have a support question or comment, click the Post New Topic link below. Sytist Manual | Sytist Articles | Facebook Page.

Redirect My Website To Https

 
Please log in or Create an account to post or reply to topics.
 
V?ronique Dupuis
44 posts
Fri Sep 07, 18
10:34 AM
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 :)
Tim - PicturesPro.com
10747 posts
admin
Sat Sep 08, 18
3:56 AM
 
 
 
 
 
Tim Grissett, DIA - PicturesPro.com || My Email Address: info@picturespro.com
V?ronique Dupuis
44 posts
Mon Sep 10, 18
5:50 PM
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 :)
Tim - PicturesPro.com
10747 posts
admin
Tue Sep 11, 18
5:17 AM
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
V?ronique Dupuis
44 posts
Wed Sep 19, 18
2:51 PM
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 :)
Tim - PicturesPro.com
10747 posts
admin
Thu Sep 20, 18
5:24 AM
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
Robert Welch
9 posts
Mon Feb 11, 19
5:42 PM
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?
Tim - PicturesPro.com
10747 posts
admin
Tue Feb 12, 19
4:41 AM
Underneath the left menu.
Attached Photos

 
 
 
 
 
Tim Grissett, DIA - PicturesPro.com || My Email Address: info@picturespro.com
Robert Welch
9 posts
Tue Feb 12, 19
9:46 AM
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
Robert Welch
9 posts
Tue Feb 12, 19
10:36 AM
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?
Tim - PicturesPro.com
10747 posts
admin
Tue Feb 12, 19
10:48 AM
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
Robert Welch
9 posts
Tue Feb 12, 19
10:55 AM
Ok, I tried that and still not working. Chrome still says:

ERR_TOO_MANY_REDIRECTS
Tim - PicturesPro.com
10747 posts
admin
Tue Feb 12, 19
11:01 AM
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
Robert Welch
9 posts
Tue Feb 12, 19
11:07 AM
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.
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 - 2018 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