SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2010
    Posts
    82
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Redirect HTTPS to HTTP

    I am trying to redirect only one of my https pages to a http one, since i dont have ssl installed and it keeps causing error messages,

    Can I do this for one of my pages, e.g. https://site.com/signin.php. to http://site.com/signin.php

    Cheers!

  2. #2
    SitePoint Member
    Join Date
    Feb 2010
    Location
    Jacksonville, FL
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Since you do not have an SSL, you will always get the warning, even with a redirect.

    For the redirect, the visitor still has to visit the HTTPS page first before they can be redirected to the HTTP page.

    So while you can put in a redirect, it will not cause the SSL certificate to go away.

    If you have SSL support, you may want to just buy an inexpensive certificate until most of the traffic coming to that URL has stopped.
    Help? Linux server management services,Linux server backups,
    and server security solutions for your small business.

  3. #3
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,653
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    condo,

    I'm not sure that Jeff is correct (but I'd feel safer about the link if it did give the warning during the redirection).

    If you need to learn how to redirect, have a read of the tutorial linked in my signature and look for the coding examples (force https examples also includes force http).

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •