• Resolved danielelder

    (@danielelder)


    I wanted more control over my site, and I couldn’t figure the CMS with WordPress. So I set up a regular site that is still under construction, and moved my wordpress blog to a subdomain /blog/ everything went fine, for a while, but now the blog is slow, and I hadn’t checked my admin, but it’s lost it’s link to the CSS, I’m completely lost right now, could someone please guide me through this change. Thanks

Viewing 14 replies - 1 through 14 (of 14 total)
  • genevaeagles

    (@genevaeagles)

    I guess you need to change the path to your WP installation in the settings option.

    Thread Starter danielelder

    (@danielelder)

    It’s weird, I did that, I believe, I changed where the blog is directed to, but it’s still not referencing my CSS? I am going to try and update to 2.5 and see if that helps my problem, unless I’m advised against it?

    Any other ideas

    genevaeagles

    (@genevaeagles)

    As I can see, you already upgraded to WP 2.5
    I have another question for you. Did you have a sub-folder before or not? You might want to check in your index.php file if you point your blog to the right path:

    require('./"your-subfolder"/wp-blog-header.php');

    This could be another chance for you. For more on this topic click the link in the back end Settings “Blog address”.

    Thread Starter danielelder

    (@danielelder)

    I didn’t have a subdomain before, I just added it and then everything kind of went bonkers at that point, the blog works, just no the admin side of things.

    Thread Starter danielelder

    (@danielelder)

    From the looks of it, I think I messed up a lot of links to the hierarchy of the admin page, and it would take some time to fix this problem. Is it possible to reinstall my WordPress blog without losing my posts? I’ve already backed up everything just in case. Would I have to install everything from scratch i.e. the database and WP?

    Thread Starter danielelder

    (@danielelder)

    I think I found out my problem, but don’t have a clue how to diagnose it. I have backed up and deleted everything from my blog, I installed wordpress through fantastico which created a new database, everything is all good. So I proceed to import my old database into the new database, everything goes awol again, same as it was before. Now, here’s what I don’t know what to do in CPanel, and would love some guidance if anyone knows? Thanks

    Clicknathan

    (@clicknathan)

    If everything was legit after you did the reinstall until you imported your database, then you can pretty much bet that it’s something in the database, which would almost certainly be your WordPress address URL or Blog Address URL.

    Go into the Admin > Settings and make sure both of those fields (mentioned above) are set to the actual URL of your WP installation.

    You can also troubleshoot by viewing the source of one of your admin pages (if that’s the place you’re not getting any CSS) or your actual site (if that’s the culprit) and seeing where it’s trying to call the stylesheet from.

    Thread Starter danielelder

    (@danielelder)

    When I imported the my database into my legit reinstall everything went from completely smooth to nothing looked right at all. Blog was spotty, the admin, admin login and all of the various content weren’t connecting the dots. So, now all I want is to be able to reimport just my posts, if possible? If it is, could someone advise me on that. Thanks for the guidance.

    genevaeagles

    (@genevaeagles)

    You can…go to the Manage – Export options…get all authors…and download export files. This will take all your posts, comments, custom fields, pages and categories (even tags if I’m not totally wrong).

    Then go to your fresh WP install same place but Import and hit…”WordPress Import posts, comments, custom fields, pages, and categories from a WordPress export file.”…done!

    Thread Starter danielelder

    (@danielelder)

    Thanks I will give that a go, I appreciate your advice

    moshu

    (@moshu)

    Why all this overcomplication?
    Edit the “site_url” and “home” value in your database, in the wp_options table to reflect the real location of the WP install. Done.

    And just for the record: example.com/blog is NOT a subdomain, it is a subfolder!

    Thread Starter danielelder

    (@danielelder)

    Thanks for the clarification, I will see if addressing that issues helps my cause. Thanks again.

    Moshu, Your solution is so efficient!

    I am glad I found it really quickly…

    Pierre-Louis

    Hey there,

    I followed the instructions to change my blog name from http://www.site.com/wordpress to http://www.site.com by changing the URL directly in the directory using phpMyAdmin (http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database).

    I changed the “site_url” and the “home” value, just as the instructions and as Moshu instructed. However, the instructions then tell you to delete the wp-content/cache folder, which was nowhere to be found in any of my directories. When I checked out my site, it was no longer loading properly. I went back into the wp_options table and changed the URL back to http://www.site.com/wordpress and site loads correctly again. Any ideas as to what I am doing wrong?

    Thanks in advance for any assistance!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Moved Blog to Subdomain’ is closed to new replies.