LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Closed Thread
  Search this Thread
Old 10-24-2016, 06:21 PM   #1
ryanrajpoot
LQ Newbie
 
Registered: Oct 2016
Location: Mumbai
Posts: 3

Rep: Reputation: Disabled
Redirected HTTP to HTTPs with htaccess but still have problem


I have added SSL to my website and redirect http non-www to https www with htaccess but sometime https shows in my domain name and sometimes not on browsers. I just want to know whether it's htaccess redirection code issue or SSL issue or anything else. If you ask i can show you my htaccess codes. One more thing, the site is currently added to Google Webmaster Tools as and all the pages are indexed without using SSL. Do I just submit a updated sitemap which has the HTTPS URLs or Do I add a new site as and submit the sitemap with HTTPS urls?
 
Old 10-24-2016, 11:15 PM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
You will need to change your website's programming as necessary to be certain that it will not respond to "http" except to redirect the request to "https."

Then, it might be quite some time ... if ever ... that search engines actually re-index you as "https." If they ever visited your site successfully without it, they will not soon forget the experience.
 
Old 10-25-2016, 05:11 AM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
It's all https on the 5 or 6 pages I looked at.
http went to https...
Links look correct and 2 opened but I only checked for https in the address bar of my browser.
 
Old 10-25-2016, 02:56 PM   #4
ryanrajpoot
LQ Newbie
 
Registered: Oct 2016
Location: Mumbai
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank for the response. I am thinking to add https version in webmaster and it's sitemap. Is it right?
 
  


Closed Thread

Tags
http, https, ssl



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache proxy http to https problem jobart08 Linux - Server 4 04-16-2015 01:42 PM
Apache and problem with redirect between HTTP and HTTPS tquang Linux - Server 8 02-07-2014 04:26 AM
webmail redirected to https not working mad_penguin Linux - Newbie 8 08-03-2009 09:30 AM
Squid reverse proxy problem (HTTPS to HTTP) RussP Linux - Networking 1 10-02-2008 01:20 PM
https with http problem Ameii83 Linux - Newbie 2 06-12-2006 09:26 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 12:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration