• Resolved cangurob

    (@cangurob)


    Our site is currently running an IPB forum in an iframe inside a wordpress page, it’s pretty clunky.

    I want to remove the wordpress wrapper, and just run the IPB forum.

    I’m not completely sure of the best way of doing this. The wordpress install is in the root of public_html, and the IPB installation is under /forum/

    I thought if I simply deleted the index.html, index.php and .htaccess files from the root, and replaced them with an index.html containing a redirect instruction to /forum/ it would work, however when I do that I just get a blank page…

    My index.html is

    <?php
    header("Location: /forum/");
    exit;
    ?>

    My question is: is the reason this is not working that it’s not enough to just delete the files I did? I don’t really want to completely delete the wordpress install until I’m sure everything is ok, I’d prefer to bypass it if possible… Any suggestions for how?

Viewing 2 replies - 1 through 2 (of 2 total)
  • When you go to your main page, check what the source code that’s being output is. I’ll bet that what the browser is seeing is exactly what you’ve got in your .html file there.

    that’s becuase a .html file doesn’t work with PHP. You cannot use any PHP code in a standard .html or .htm file without setting up your server to behave differently to standard.

    What you need to do is rename that file to index.php and it will work.

    Thread Starter cangurob

    (@cangurob)

    /me slaps head. Thanks cataustic. Sometimes it’s the simple things…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bypass wordpress?’ is closed to new replies.