#1
  1. No Profile Picture
    Newbie
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Nov 2017
    Posts
    1
    Rep Power
    0

    https become http


    hi

    i had installed a comodo essential certificate for my website.
    the problem is i am able to key the https for my website
    but when it appear, it change to http

    for https i am using port 443
    while for http i am using port 80

    is there something wrong with the setup

    my website is www.uobam.com.my

    thank you in advance for your help
  2. #2
  3. No Profile Picture
    Moderator
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    Sep 2016
    Location
    USA
    Posts
    1,415
    Rep Power
    2532
    You have not setup your redirects correctly.

    If on linux go here >>>> https://httpd.apache.org/docs/2.0/mi...riteguide.html

    If on IIS go here >>>> https://docs.microsoft.com/en-us/iis...tion-reference

    If on Nginx go here >>> Module ngx_http_rewrite_module

    This should have you covered, get your favorite refreshment, and read away. You should have your answer in maybe 30 min to an hour of reading.

    Comments on this post

    • Pierre Benneton agrees
  4. #3
  5. SeoRaptor
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    Mar 2016
    Location
    France, Saint-Etienne
    Posts
    997
    Rep Power
    1703
    The error must be somewhere in your web.config file.

    I'm no Windows server guy, but you need the URL Rewrite module.

    Then try configuring your rewrite rules in web.config as follow. This should force HTTPS for ALL resources (301 Redirect):



    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <rewrite>
                <rules>
                    <clear />
                    <rule name="Redirect to https" stopProcessing="true">
                        <match url=".*" />
                        <conditions>
                            <add input="{HTTPS}" pattern="off" ignoreCase="true" />
                        </conditions>
                        <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />
                    </rule>
                </rules>
            </rewrite>
        </system.webServer>
    </configuration>
    ALWAYS BACK-UP YOUR FILE BEFORE DOING ANY CHANGES
    Last edited by Pierre Benneton; Nov 30th, 2017 at 05:00 AM.
    Owner of Bennetonable - "My opinions are my own - Feel free to disagree & think above the fold."
    Need a quick analysis > Free SEO grader Beta

Similar Threads

  1. Which converts better? http,https, http://www, https://www
    By ThomasHarvey in forum Search Engine Optimization
    Replies: 8
    Last Post: Jul 27th, 2017, 10:32 AM
  2. Regarding HTTP and HTTPS
    By trainingsadda in forum New User SEO Questions and Answers
    Replies: 6
    Last Post: Jan 31st, 2017, 02:07 PM
  3. https and http - Spider Simulator not crawling the https website
    By travelauto in forum New User SEO Questions and Answers
    Replies: 1
    Last Post: Aug 25th, 2015, 01:27 PM
  4. Http or https ?
    By volkswagen02 in forum Google Optimization
    Replies: 2
    Last Post: Apr 4th, 2012, 06:54 AM
  5. Help Plz(http Vs https)
    By kk bhakuni in forum Google Optimization
    Replies: 5
    Last Post: Jun 23rd, 2009, 11:25 AM

IMN logo majestic logo threadwatch logo seochat tools logo