Results 1 to 4 of 4

Thread: Exempt the Facebook crawler from HTTPS redirect

  1. #1
    Join Date
    Sep 2008
    Posts
    18
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default Exempt the Facebook crawler from HTTPS redirect

    After I redirected my site to SSL I lost Facebook likes of my non-SSL index page. I added meta property="og:url" there however I need Exempt the Facebook crawler from HTTPS redirect. How can I do this? Below is the my current .htaccess file:

    Code:
    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]
    Added to my index file:
    Code:
    <meta property="og:url" content="http://example.com/old-url" />
    Last edited by jscheuer1; 01-24-2017 at 01:15 PM. Reason: remove unnecessary link

  2. #2
    Join Date
    Sep 2008
    Posts
    18
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Is this possible?

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,373
    Thanks
    77
    Thanked 3,421 Times in 3,382 Posts
    Blog Entries
    12

    Default

    Have you tried the advice here:

    http://stackoverflow.com/questions/1...ccess-redirect

    ?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. The Following User Says Thank You to jscheuer1 For This Useful Post:

    nizamo (01-24-2017)

  5. #4
    Join Date
    Sep 2008
    Posts
    18
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    Worked fine thank you Mr. John.
    Last edited by nizamo; 01-24-2017 at 05:13 PM.

Similar Threads

  1. Replies: 1
    Last Post: 11-09-2016, 05:02 PM
  2. Resolved nivoslider https help
    By ianhaney in forum JavaScript
    Replies: 3
    Last Post: 09-07-2016, 02:39 PM
  3. Ajax on HTTPS
    By leroyuk1983 in forum JavaScript
    Replies: 9
    Last Post: 06-16-2012, 11:24 PM
  4. IE + HTTPS + CSS Drop Down gives warning
    By sjbotha in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 01-23-2007, 06:04 AM
  5. How to redirect to a HTTPS pages using DD script
    By ajaxdude in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 12-14-2006, 06:12 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
  •