WebFaction
Community site: login faq

I've just SSLed a PHP website and I've created a an PHP app for the non SSL to redirect to SSL URL.
What I need to do is forward all non SSL URLs to https;//domains.com/path
What do I need to include in my non SSL app's .htaccess ?

asked 29 Apr '16, 16:35

anjanesh
78623
accept rate: 16%


Instructions are available here: Redirecting from HTTP to HTTPS

Hope that helps!

permanent link

answered 29 Apr '16, 20:57

seanf
12.2k41836
accept rate: 37%

Thanks. It works now.

(30 Apr '16, 04:44) anjanesh
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×262
×76
×75

question asked: 29 Apr '16, 16:35

question was seen: 1,157 times

last updated: 30 Apr '16, 04:44

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM