WordPress.org

Forums

OMG Please Help Me Before I Go Insane!! (6 posts)

  1. epicgamerworld
    Member
    Posted 2 years ago #

    I completely messed up my website and have been trying to fix it for 12 hours straight now with no luck.

    Right now my homepage is my wordpress blog and all I want to do is make my PHPBB forums my homepage and the wordpress blog to be in a /blog folder.

    So I figured it would be simple and I would just copy all of my wordpress files into the new folder "/blog" and move all of my forum files from my "/forums" folder to my root folder.

    When I go to http://www.mywebsite.com it is showing the forums but they are all messed up and looks crazy.
    When I go to http://www.mywebsite.com/blog my wordpress blog is there, but it is also all messed up and I can't access the admin panel.

    Anyone know what I am doing wrong?? I just did a restore from a backup so I'm ready to try again.

  2. particlepat
    Member
    Posted 2 years ago #

    Yes it should be a pretty simple fix. First you'll need to access your settings. If you can't, you may need to move all of the files from/blog/ back to wherever they were before. Once you can get to your dashboard, go to your general settings. Make http://www.mywebsite.com/blog/ your wordpress Address and http://www.mywebsite.com your Site Address. Then move your wp files back into /blog/. Then you'll need to create a COPY of the index.php file and pace it in the root directory of your website (the folder that /blog/ sits in). No you need to edit the code in this copied version of index.php in notepad, text editor, or any html editor. Look for the line that says require('./wp-blog-header.php'); and replace it with require('./wordpress/wp-blog-header.php');. Upload this new index.php to replace the copied version in the root of your website and your problem should be fixed.

  3. epicgamerworld
    Member
    Posted 2 years ago #

    I'm soooo close now.
    The forums are working perfect its just the wordpress.

    The problem is I have my forums now as my homepage and when i replace the index.php it doesn't work.

    Would it work if I added require('./wordpress/wp-blog-header.php'); to the index.php?

    The wordpress let me login but it doesn't have any of the settings or anything on the sidebar. All it shows on the left side bar is Dashboard, Jetpack, and Profile, and its not showing that I have any blog posts at all.

  4. yosemite
    Member
    Posted 2 years ago #

    The line above should read require('./blog/wp-blog-header.php'); to work with your 'blog' directory name.

  5. epicgamerworld
    Member
    Posted 2 years ago #

    Thanks guys for all the help.
    I tried require('./blog/wp-blog-header.php'); and many others but every time the site wouldn't load at all, but I figured it out.
    I used phpmyadmin and changed the settings for wp_options.
    I changed the "siteurl" and "home" to http://www.epicgamerworld.com/blog and it worked. Thanks for the help, I'm glad I finally figured it out.

  6. epicgamerworld
    Member
    Posted 2 years ago #

    Now my forums are all messed up.
    When I click on a Topic or thread it brings me to the blog and says 404 Not Found.

    I really need help with this because my forums are for people who bought my eBook on how to be successful on YouTube. If they see the website is down they are going to be mad and want their money back.

    Anyone know what the problem could be?
    The wordpress is now working fine but the forums are not when you click on a topic.
    Anyone help will be greatly appreciated!!

Topic Closed

This topic has been closed to new replies.

About this Topic