1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

WordPress 404 Errors for Non-Blog HTML Files on Same Server

Discussion in 'WordPress' started by ccano, Nov 24, 2006.

  1. #1
    I use WordPress to manage my weblog, and one thing I can't STAND is the problems I get when I try to host a non-blog HTML file on the same server as my WordPress blog.

    For some reason, WordPress wants to run everything and it refuses to accept a non-WordPress related file.

    2 Examples:

    • I was running a script for an affiliate store on the same server as my blog, and I wrote up a mod_rewrite to make my links more SEO friendly. The link names were all changed with no problems, but as soon as I clicked them, it took me to a WordPress page with my blog template - mind you, the mod_rewritten urls had nothing to do with my blog - that said "Sorry, no posts matched your criteria." That was on Firefox. On Internet Explorer I got a 404 error page.

    • I created a subdirectory which I'd like to use with an add-on domain. The url looks something like this: www. mywebsite .com/subdirectory/index.html. When I click the link I get the same error pages as mentioned above.

    This is becoming a major problem because it's really limiting some things I'd like to do. I don't want to get a new hosting plan just to separate my blog from the other stuff. I really love WordPress except for this one glitch. Anyone know what I can do? I would greatly, greatly, greatly appreciate your help.

    Thanks in advance,
    Chris :)
     
    ccano, Nov 24, 2006 IP