Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Asfar Anjum
Asfar Anjum
4,010 Points

SSL not working on my WordPress Website

SSL not working properly on my website pockettailors.com please tell me what to do

Asfar Anjum
Asfar Anjum
4,010 Points

Thankyou very much ?

Asfar Anjum
Asfar Anjum
4,010 Points

Thankyou very much ?

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! When I connect to the site you mentioned I get a coming soon page. And it connects through http. However, I can choose to enter https and the name of your site and it does indeed pull up the same version of your site over https. I can even view the certificate. Are you perhaps missing a redirect that forces the traffic over https?

Or have I misunderstood the question? You posted this in the SQL section. Did you mean SQL or SSL?

Hope this helps! :sparkles:

Asfar Anjum
Asfar Anjum
4,010 Points

But SSL is not working properly as you can see there is not written secure and a lock is also missing

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Again, it works for me. The lock is present. But I have to explicitly type it with the https protocol present. I have to type https://www.pockettailors.com. When I do that, it goes to your site with the lock and the certificate present and valid. What you need is a redirect that points from the http to the https version if you want to force traffic over https.

On a side note, I'm moving this thread to the "General Discussion" board as it has more to do with networking and Information Security than SQL :sparkles:

Asfar Anjum
Asfar Anjum
4,010 Points

Can you please tell me what page rule i need to add to force on https as i am using ssl of cloudflare

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

It's not a page rule and has nothing to do with it being WordPress. This is related to how the server directs traffic to your site. You should check with the site that's hosting your webpage about how to force traffic over https by redirecting all http traffic to the https version :smiley:

Asfar Anjum
Asfar Anjum
4,010 Points

Thanks for you help my hosting provider is aws amazon do you know how to force https on this provider?