Static HTML pages redirect to WordPress blog (5 posts)

  1. hphovercraft
    Posted 8 years ago #

    I have a few static HTML pages that I would like to be able to display on my site other than my wordpress blog. My wordpress is set up to be the root. So for example, if you type in http://www.mydomain.com, it takes you to the first page of my blog. However, if I want to have static HTML page that isn't managed by my blog, like http://www.mydomain.com/staticpage.html, it redirects you to my wordpress blog instead of displaying "staticpage.html". I have messed around with my permalink structure and deactivated my flickr plugin, but I still can't get it to work. I've looked through the support forums, but haven't been able to find any help. I can't imagine I'm the only one that has run into this. Any ideas on this one? Thanks in advance.

  2. talonai
    Posted 8 years ago #

    I use a folder under the webroot for all non wordpress files. So the link would go to http://www.somesite.com/pages/static.html

  3. hphovercraft
    Posted 8 years ago #

    I have tried that, but everything still redirects to my blog. Is there a way to exclude a certain sub-folder, such as "pages" from the blog. It doesn't matter what I type in after http://www.somesite.com .... it will always redirect you to my most recent post on the blog, unless it is some other valid URL, of course. Any other ideas. Thanks for your response.

  4. christykny
    Posted 8 years ago #

    Realize this is outdated question but in case anyone come looking with same problem or suggestions..

    I was trying to solve the same problem few days ago. Putting the file (in my case it was a pdf) in a subdirectory still redirected to 404 within WordPress. I understand why this happens, but it still leaves a problem. My solution for now is that I had to put the pdf in a subdomain rather than a subdirectory.

  5. Anonymous
    Posted 7 years ago #

    Have the same question and wondering if there was another solution other than using a subdomain.

    My issue is that I have my forum installed in a subdirectory /phpbb3/ and want to provide a link to it without WP grabbing it.

    I'm using "pretty" permalinks and understand that this is the reason for this behavior but I'm hoping I can have both.

Topic Closed

This topic has been closed to new replies.

About this Topic