Support » Fixing WordPress » Need to create an http page not https!

  • Hey Folks,

    I have a site where a feed they need to stream does not work on a secure page… checked with the content provider and they verified – nope has to be on an http page. So i need to create a single http page that is not under the blanket of the ssl and then i can stream from that page.

    my problem is – how do i do that with wordpress when every page by default is created as an https!

    can’t find a (supported) plugin that will do it. and i want the page created through wordpress so they can update it as any other page.

    thanks for any input you might have!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator bcworkz


    WordPress by default will alter the transport to that of the siteurl and home options. So you are normally stuck with whatever that is, typically https. It doesn’t matter how you create a page, there’s no way to specify a transport when making pages. What you can do at least for feeds is to use the “redirect_canonical” filter to detect that particular feed and change that URL’s transport to http.

    Not all URLs go through this filter, so it does not always work, but it appears to work for feeds at least.

    You can do this in your htaccess file and call to the specific page you need to be non secure.

    RewriteEngine On
    # Go to https if not on onepage.html
    RewriteCond %{SERVER_PORT} 80 
    RewriteCond %{REQUEST_URI} !^/onepage.html$ [NC]
    RewriteRule ^(.*)$$1 [R,L]
    # Go to http if you are on onepage.html
    RewriteCond %{SERVER_PORT} !80 
    RewriteCond %{REQUEST_URI} ^/onepage.html$ [NC]
    RewriteRule ^(.*)$$1 [R,L]

    thanks for the input. Very much appreciate it. Not wanting to get into php which I gather is how you use redirect_canonical, I will give the htaccess file a shot!

    Now I have limited experience with them so – Is all I am changing in your example Stefster is wherever onepage.html (which in the case would be onepage.php I guess) appears in the code, as well as the Or is the port number something I need to figure out?

    Thanks again – I really appreciate the help on this one!

    I was hoping there would be a plugin to tend to this but as my google searches for help didn’t bare any fruit, I am guessing this isn’t a common issue.

    You’re not putting either. It’s just an example.

    It would be whatever the slug is for the page. So for instance your domain was is

    You put “this-page” wherever I have that.

    Note that anywhere I have a # is like a comment out or a description. Does that make sense?

    Practice on a staging area first or local server if you do not know how to do this or you will crash your site. I don’t know who your host is but some host won’t allow you access to this file. So just know that.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.