Forums Adult Industry Boards General Business Topics
  • Topic: SSL Nav Help

    Back To Topics
    (0 rates)
    • May 1, 2018 2:29 PM PDT
      • Post(s)
        953
      • Thank(s)
        0
      • Thanked
        131
      • cR(s)
        35 0

      SSL Nav Help

      I've successfully installed my SSL Certificates on all my sites, had normal issues such as 'mixed content warnings', and most annoyingly the proverbial 'redirect loop' issue which has really gotten me in a trick bag.

       

      Several sites are functioning properly site wide with help from the 'really-simple-ssl' wordpress plugin, however my main site is kicking me in the royal astabuella and I am exhausting my efforts to try and find the fix, perhaps someone on this board can point to that one uncovered rock.

       

      My landing page is giving me the broken padlock, 'mixed content' warning.  When I installed the plugin it set the landing page straight and overall the category pages are all showing the green padlock, however my posts are serving up the redirect loop error.

       

      I have uninstalled the plugin and tried using the rewrite rule in my htaccess > RewriteCond %{HTTPS} off
      RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

      As well as a rewrite condition > RewriteCond %{HTTP_HOST} mysite\.com [NC]
      RewriteCond %{SERVER_PORT} 80
      RewriteRule ^(.*)$ https://mysite.com/$1 [R,L]

       

      I used the define: force ssl in wp-config, same redirect issue.

       

      I've done everything else correctly right down to manually changing links, etc.

       

      So currently it's the same, home / landing page is broken padlock, categories are fine, post load but have no padlock at all.  I need help!

      ____________________________________

      The Artist Formally Known As Housekeeper
      Trans-Glam Productions
      photography - design - video production
      Follow me on Twitter - FaceBook




      Hawkhost features quality hosting for adult website
      Quality Hosting With Affordable Plans

    • May 1, 2018 2:38 PM PDT
      • Post(s)
        2,992
      • Thank(s)
        0
      • Thanked
        161
      • cR(s)
        51 0

      Untitled title

      What a pain in the ass. 

      ____________________________________

      YNOT MAIL | THE BEST ADULT MAILING SOLUTION
      Richard Buss | ICQ: 680123 | Skype: rochardbuss

    • May 4, 2018 9:51 AM PDT
      • Post(s)
        3,325
      • Thank(s)
        328
      • Thanked
        215
      • cR(s)
        54 0

      Untitled title

      Oh boy... totally in the dark on this one :(

      ____________________________________

      YNOT MAIL - THE BEST ADULT MAILING SOLUTION
      Contact me to advertise on YNOT.com and have your brand seen by thousands of adult business people daily!
      Skype: LAJConsulting

    • May 5, 2018 7:20 PM PDT
      • Post(s)
        444
      • Thank(s)
        10
      • Thanked
        23
      • cR(s)
        5 0

      Untitled title

      I actually know a bit about this! I've been making retail mainstream sites, and I have SSL on my checkout pages so the customers stay on my site through the checkout process. Anyways, you should set it up so it's the right, correct way. You do not want to use a plugin or the htaccess redirect. That gives you the loop problem.

       

      The way to correctly set your site up is to first undo any htaccess and/or redirect plugins your trying to use to change it. Go to your wordpress settings and reset your home page to https. Save that. Then update your permalinks settings again. Just make it reset somehow. Now check it and see if anything is still broken. Any hard links you put in post will have to be manually changed.

       

      If it's still not working right you need to use a plugin that finds and replaces links in your database. You need to run that and find http and replace with https. Do a search for database find/replace plugins. Make sure you back everything up as you could make a big mess. 

       

      I'm redoing a site myself. I made a sub-folder in the site and put a fresh wp install in there, using a new database. I made my new site with new theme, woocommerce and so on. Now I'm going to hire a company I know to delete the old root wp files and move everything from the sub folder to the root, making them the new site.

      That company said they will have to change all the sub-folder url paths in the database to the root path. Your problem is the database still has http paths. But do what I said above first and see if that fixes it. I can give you a link to the company doing mine if you want. It's 70 bucks for them to do a fix like this.

    • May 7, 2018 4:38 PM PDT
      • Post(s)
        953
      • Thank(s)
        0
      • Thanked
        131
      • cR(s)
        35 0

      Untitled title

      SunFunBill said:
      Your problem is the database still has http paths. But do what I said above first and see if that fixes it. I can give you a link to the company doing mine if you want. It's 70 bucks for them to do a fix like this.

      Thanks Bill, I have already done everything you mentioned, the permalinks changed automatically.  Since I have so many sites, some are working correctly and some are pissy.  As you said, the Woocommerce was easy.

       

      I used a link checker, even ran an SQL query as you suggested to update those inconsistencies.  The mixed content issue is a bit dicey and if I can figure out the redirect loop problem, I will be set.  I have been manually changing my posts, but I suspect the image links are the culprit.

       

      One thing I did learn, you can link to a domain without the protocol //anysite.com, but you cannot call an image without http://anysite

       

      In my case it is the entire post link that puts me in a redirect

      ____________________________________

      The Artist Formally Known As Housekeeper
      Trans-Glam Productions
      photography - design - video production
      Follow me on Twitter - FaceBook




      Hawkhost features quality hosting for adult website
      Quality Hosting With Affordable Plans

    • May 7, 2018 4:41 PM PDT
      • Post(s)
        953
      • Thank(s)
        0
      • Thanked
        131
      • cR(s)
        35 0

      Untitled title

      SunFunBill said:
      undo any htaccess and/or redirect plugins your trying to use

      Forgot to mention, did all that, even disabled each plugin to see if the conflicts were in any of them.

      ____________________________________

      The Artist Formally Known As Housekeeper
      Trans-Glam Productions
      photography - design - video production
      Follow me on Twitter - FaceBook




      Hawkhost features quality hosting for adult website
      Quality Hosting With Affordable Plans

    • May 8, 2018 5:36 PM PDT
      • Post(s)
        444
      • Thank(s)
        10
      • Thanked
        23
      • cR(s)
        5 0

      Untitled title

      Well damn, don't know what else to tell you, sorry. Some times it goes smooth, other times it's a mess. :(

    • May 13, 2018 4:51 AM PDT
      • Post(s)
        953
      • Thank(s)
        0
      • Thanked
        131
      • cR(s)
        35 0

      Untitled title

      SunFunBill said:

      it's a mess

      I went through all wp_posts and corrected each and every link, even the posts meta. Went into all of my plug-ins and removed any embedded http: links, and there were many.

       

      Finally got my homepage secure and the green padlock beaming in the address bar, however all of my posts still display http. 

       

      I ran some posts links through 'whynopadlock' and the only 'mixed content error was:

      A form with the action of "http://mysite.com/wp-comments-post.php" exists in the source code of the tested page.


      This form needs to be updated to use "https://mysite.com/wp-comments-post.php" or another secure URL for your padlock to return.

       

      How do I update wp-comments-post.php?

      ____________________________________

      The Artist Formally Known As Housekeeper
      Trans-Glam Productions
      photography - design - video production
      Follow me on Twitter - FaceBook




      Hawkhost features quality hosting for adult website
      Quality Hosting With Affordable Plans

    • May 13, 2018 6:57 AM PDT
      • Post(s)
        444
      • Thank(s)
        10
      • Thanked
        23
      • cR(s)
        5 0

      Untitled title

      It sounds like you still have http links in the database. I think that is where that link is. You can try a mass search/replace in all your database tables. However you have to be careful as you can mess it up. Read these here:

      https://blog.templatetoaster.com/update-old-urls-in-database/

      https://www.hostdime.com/resources/change-wordpress-site-url-via-phpmyadmin/

      Maybe those will help. I'm still working on my site, hope to have it moved out of the sub-folder and to the root this week. I'm also going to change all links to https. I have to put a lot of 301 redirects in the htaccess file as many pages have a different path besides the https. Good luck.

    • May 13, 2018 4:25 PM PDT
      • Post(s)
        953
      • Thank(s)
        0
      • Thanked
        131
      • cR(s)
        35 0

      Untitled title

      SunFunBill said:

      It sounds like you still have http links in the database. I think that is where that link is. You can try a mass search/replace in all your database tables. However you have to be careful as you can mess it up. Read these here:

      https://blog.templatetoaster.com/update-old-urls-in-database/

      https://www.hostdime.com/resources/change-wordpress-site-url-via-phpmyadmin/

      Maybe those will help. I'm still working on my site, hope to have it moved out of the sub-folder and to the root this week. I'm also going to change all links to https. I have to put a lot of 301 redirects in the htaccess file as many pages have a different path besides the https. Good luck.

      Thanks a heap Bill, I'm going to go over those links, appreciate your helping out.  Remember that first getting your site secure is the first step, the redirects in htaccess may put you into the eternal loop, so just be mindful of that, it didn't work for me.

       

      Also, file this one under BIG FUCKING DAH!, as there has always been a 'enable ssl' field in the posts section [see below], ticked that now all my posts are secure.  HOWEVER, now my vids don't play because with video files and jpg files, they will not load when removing the protocol //sponosor-site-com  SO, not certain what to do about that except for the time being go without the video previews

       

       

      Here's a good link I finally did find, searches on this subject suck as they are tell you the same surface shit

      https://css-tricks.com/moving-to-https-on-wordpress/

      ____________________________________

      The Artist Formally Known As Housekeeper
      Trans-Glam Productions
      photography - design - video production
      Follow me on Twitter - FaceBook




      Hawkhost features quality hosting for adult website
      Quality Hosting With Affordable Plans

    • May 16, 2018 4:08 PM PDT
      • Post(s)
        444
      • Thank(s)
        10
      • Thanked
        23
      • cR(s)
        5 0

      Untitled title

      Just wanted to let you know I had that company do their work today. He moved my new site from a sub-folder to the root, took out the old site, changed it all from http to https and put in 70 or so 301 page redirects. All properly with no plugins. All links work perfect, no mixed content warnings. Now I gotta install a few more plugins and I'm ready for biz! The site is called onsite WP. Google it. They do a great job. 

    • May 16, 2018 4:47 PM PDT
      • Post(s)
        953
      • Thank(s)
        0
      • Thanked
        131
      • cR(s)
        35 0

      Untitled title

      SunFunBill said:

      Just wanted to let you know I had that company do their work today. He moved my new site from a sub-folder to the root, took out the old site, changed it all from http to https and put in 70 or so 301 page redirects. All properly with no plugins. All links work perfect, no mixed content warnings. Now I gotta install a few more plugins and I'm ready for biz! The site is called onsite WP. Google it. They do a great job. 

      Bravo!  I think the final deadline is July 18 before Google puts the warning page up, I'll have all or my sites ready by then.

      ____________________________________

      The Artist Formally Known As Housekeeper
      Trans-Glam Productions
      photography - design - video production
      Follow me on Twitter - FaceBook




      Hawkhost features quality hosting for adult website
      Quality Hosting With Affordable Plans

    Icon Legend and Forum Rights

  • Topic has replies
    Hot topic
    Topic unread
    Topic doesn't have any replies
    Closed topic
    BBCode  is opened
    HTML  is opened
    You don't have permission to post or reply a topic
    You don't have permission to edit a topic
    You don't have the permission to delete a topic
    You don't have the permission to approve a post
    You don't have the permission to make a sticky on a topic
    You don't have the permission to close a topic
    You don't have the permission to move a topic

Add Reputation

Do you want to add reputation for this user by this post?

or cancel