1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 Problem with secure content

Discussion in 'XenForo Questions and Support' started by rpoune, Apr 7, 2013.

  1. rpoune

    rpoune Member


    I create a page in my XenForo with embed code from an external source, and my website use HTTPS protocol, so i can't view it, the following message is displayed :

    Anyone can hep me to force non-https protocol on this page by .htaccess ?

    The page is : Thank you and see you soon
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    This should do it:

    RewriteEngine On
    RewriteCond %{QUERY_STRING} (^|\?)pages/XAT/$
    RewriteCond %{SERVER_PORT} 443
    RewriteRule ^index\.php$ http://piratage.me/index.php?pages/XAT/ [R=301,L]
  3. rpoune

    rpoune Member

    Ok thanks, ill go test this code

Share This Page