1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

HTTPS for WWW and Without WWW for my site - Please help

Discussion in 'Site & Server Administration' started by RSSeosolution, Nov 28, 2018.

  1. #1
    Hi,

    I am managing a website getdohelp.com. What i am facing problem is as below.

    In starting site hosted on Godaddy with SSL and all things were going fine. Site was opening fine with www or without www, but after some time we face speed and 503 problem so we change server and currently using VPS or Bigrock.

    Our SSL was on Godaddy and when we install it to our site then site is redirecting to automatically to https://getdohelp.com, while previously our site index with www and we submitted also sitemap to Google with www so we are getting soft error notice.

    Is there any problem with SSL installation? ... I am not sure and thats why asking. I am using SSL first time for one of our sites. Pleas suggest.

    I tried to manage it from htaccess but its giving error of redirection that not properly redirect.

    What i want is our site should open with www or without www normally. Please suggest me that how can i do it. I want to fix this issue as soon as possible.

    Website developed in cake PHP.

    Hope for quick and best suggestion.
     
    RSSeosolution, Nov 28, 2018 IP
  2. hostechsupport

    hostechsupport Well-Known Member

    Messages:
    413
    Likes Received:
    23
    Best Answers:
    7
    Trophy Points:
    138
    #2
    Your domain getdohelp.com is set to type of redirect: 301 Moved Permanently which is being Redirected to: https://www.getdohelp.com/ it must be set somewhere in your htaccess file. You need to remove that redirect using your control panel of ftp account.
     
    hostechsupport, Dec 4, 2018 IP
  3. scriptbox

    scriptbox Peon

    Messages:
    8
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    1
    #3
    Make sure that this code is in your .htaccess file:

    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] 
    Code (markup):
     
    scriptbox, Dec 10, 2018 IP