WordPress.org

Ready to get started?Download WordPress

Forums

I want to change directory of my blog's home page (13 posts)

  1. nordberg25
    Member
    Posted 9 years ago #

    Everything works great i uploaded to my site so its domain.com/blog/wordpress/ I added 2 posts and all seems to be working, but I want it to be at domain.com/blog/ so I switched it to that in the admin section and clicked on view page, and it is just a blank page. How do I fix or get around that. Does it have to be outside of that folder to work or something?

  2. Kafkaesqui

    Posted 9 years ago #

    Did you move your WordPress installation up to that directory? That is, take everything in blog/wordpress/ and "reinstall" it in blog/.

  3. nordberg25
    Member
    Posted 9 years ago #

    Well can I move everything from the wordpress folder and put it in the blog folder, what i mean is your software (when unzipped) has it broken down into files like admin.php, admin-footer.php, and then there is the wordpress folder, can all these files co-exist while changing the directories, or do they need to stay in their structured "tree"

  4. nordberg25
    Member
    Posted 9 years ago #

    Also, there is an index.php in main directory and in wordpress

  5. nordberg25
    Member
    Posted 9 years ago #

  6. CHUD
    Member
    Posted 9 years ago #

    I'm still a little confused after reading all these this.

    • Let's say my domain is domain.com.
    • I've installed WordPress into domain.com/wordpress.
    • I want the blog to live in domain.com/blog.

    Can I place the index.php file in domain.com/blog and run the WordPress files out of domain.com/wp, or do they need to be along the same path for this to work?

  7. CHUD
    Member
    Posted 9 years ago #


  8. moshu
    Member
    Posted 9 years ago #

    CHUD,
    Go into the admin panel and change in the Options the 2 URIs from domain.com/wordpress to > domain.com/blog.
    DO NOT OPEN THE BLOG IN A BROWSER!
    Open your FTP client and rename the wordpress folder to blog on your server.
    Now you can open and see the blog in a browser!

  9. solipsist
    Member
    Posted 9 years ago #

    Thanks for posting the solution, I had the same problem myself a few months ago, and ended up deleting my whole db!

  10. CHUD
    Member
    Posted 9 years ago #

    So much for trying to keep things simple... ;)

    Thanks for the quick answer, moshu, but I didn't give the whole story so I could try to keep the question simple. The longer story is that I have a blog created in MT at domain.com/blog and a new install of WP in domain.com/wp. I want to leave all the MT files where they are and run WP over it without having to move my WP installation into the domain.com/blog directory, or into a subdirectory of it.

    Hence the simplistic question: Can I run index.php in Folder A while WP is installed in Folder B when the folders are on separate paths? It didn't work for me and I'm thinking it's because they need to be in the same path. Do they?

  11. zack56
    Member
    Posted 9 years ago #

    *Never* DO THAT!!
    There will always be a workaround. :)

  12. CHUD
    Member
    Posted 9 years ago #

    Dangit. I gave up on trying to do it my way and now I'm trying it the FAQ's way (wordpress directory as subdirectory of root where index.php is located) and it still isn't working. Here's my error:

    Warning: main(./wp/wp-blog-header.php): failed to open stream: No such file or directory in /home/deadpan/public_html/pie/index.php on line 4

    Suggestions, anyone?

  13. CHUD
    Member
    Posted 9 years ago #

    Nevermind. Apparently the fix was "You have to edit and upload the index.php file 37 times."

    Who knew?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.