Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Feb 2008
    Location
    Tx gulf coast
    Posts
    126
    Plugin Contributions
    0

    Default Changing over to https everywhere

    I am looking to go https for my entire website but over the years i have identified image files with a standard http:// address. Now I want to identify them with https:
    Would this statement do the job in phpmyadmin? :

    UPDATE products_description SET products_description=replace(products_description, 'http://website.com', 'https://website.com')

    or is there a better way to go https throughout the site?

    tia

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Changing over to https everywhere

    May we ask why you want to secure the whole site? That may cause slow page loads and other issues with no discernible advantage I'm aware of.

  3. #3
    Join Date
    Feb 2008
    Location
    Tx gulf coast
    Posts
    126
    Plugin Contributions
    0

    Default Re: Changing over to https everywhere

    Here is the headline...

    https://blog.digicert.com/google-giv...ranking-boost/

    I rec'd notice about a week ago that google will be evaluating sites with https for increased rankings...

    thx

  4. #4
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Changing over to https everywhere

    Quote Originally Posted by CabinetGuy View Post
    Here is the headline...

    https://blog.digicert.com/google-giv...ranking-boost/

    I rec'd notice about a week ago that google will be evaluating sites with https for increased rankings...

    thx
    Hmmm I wonder if that's been taken out of context by that site with a vested interest?
    Just asking?
    Maybe I'm too cynical?

  5. #5
    Join Date
    Feb 2008
    Location
    Tx gulf coast
    Posts
    126
    Plugin Contributions
    0

    Default Re: Changing over to https everywhere

    granted, not all folks are for it...but doggone...google rankings being what they are...and I already have a private ssl cert....

    Here is another opinion about the Google https Everywhere Initiative:

    http://www.2rosenthals.net/wordpress...t-so-fast-994/

    It was my SEO company that notified me....

  6. #6
    Join Date
    Feb 2008
    Location
    Tx gulf coast
    Posts
    126
    Plugin Contributions
    0

    Default Re: Changing over to https everywhere

    here is the Google announcement:

    http://bit.ly/sslseo

    Keith

  7. #7
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Changing over to https everywhere

    Huh. It was Google's insistence on using https on its own site that led me to switch to Bing for search (well, that and the inability to turn off auto-complete).

    Sorry, I'm not SQLer enough to comment on your proposed statement, but there are many here who are. If the reply turns out to come from RodG we may hear his comments on the 'security theater' aspects of SSL, which are pretty much the same as mine.

  8. #8
    Join Date
    Feb 2008
    Location
    Tx gulf coast
    Posts
    126
    Plugin Contributions
    0

    Default Re: Changing over to https everywhere

    thx....we'll see...

    I don't see a problem with the sql statement...I just wanted to verify...with someone much more adept than me.

    thx again.

  9. #9
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Changing over to https everywhere

    I've found that provided the server being reached serves the item(s) via https that provided page is served http or https, then the prefix http: or https: need not be included and the associated image/link will happen in the form of the served page. So if the above SQL format is considered correct, then the replacement would be something like:

    UPDATE products_description SET products_description=replace(products_description, 'http://website.com', '//website.com')


    The browser used will apply the appropriate method. Now, this does not work if the address identified above is used in an href type tag, but does work for data types like images where say src="//server/path/image".

    But, there is also the aspect that, why is the server being listed/identified if the image(s) are locally stored, and if they are not locally stored, why not? Wouldn't simply a relative reference be appropriate for the locally stored image(s)?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #10
    Join Date
    Feb 2008
    Location
    Tx gulf coast
    Posts
    126
    Plugin Contributions
    0

    Default Re: Changing over to https everywhere

    over the years, I have learned a few things...in the past, I thought I had to include the http: in the image location path names.

    It never made any difference until now that some of them had the http:, now it does. So, I think the ammended sql string is appropriate to eliminate the http: from the local addresses.... So, now I would have to make sure that any href tags are not included in the process, only image files...

    thanks

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Changing to HTTPS
    By enddes in forum General Questions
    Replies: 3
    Last Post: 19 Feb 2010, 03:19 AM
  2. Changing Side Menu from 'click' to 'roll over'?
    By KismetDesign in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Aug 2009, 03:26 AM
  3. changing footer on Https
    By Amit001 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Sep 2008, 11:25 AM
  4. Changing Shipping Options when order over £30 ?
    By Beeunique in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 14 Jun 2008, 08:58 AM
  5. templates don't carry over to https
    By Badgermaster in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Apr 2007, 07:09 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR