Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am a total novice with WordPress and all things web. I was able to download a great theme, install it and practically finish what I considered an excellent website, until I tried to moved the URL and made that fatal mistake it seems many have made. The one mentioned at the top here: http://codex.wordpress.org/Changing_The_Site_URL

However, all the tutorials and solutions I was given links to did not work for me.

I had my site on a blog page and decided I want to have it overwrite my previous website. I naively figured I could just plug in my old site's URL and have it be. And then this happened: http://bailoutpictures.com/blog/

The old site has this message now:

Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/content/b/a/i/bailoutpic/html/index.php on line 17

Fatal error: require() [function.require]: Failed opening required './wp-blog-header.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/b/a/i/bailoutpic/html/index.php on line 17

The site is all there, but no theme. I seem to now have also lost some links in trying to move things over. I tried modifying php files, the whole nine yards. That is unless i was doing it totally wrong, but i was following the directions verbatim, so I'm not sure how I could've made that mistake.

I tried to restore everything and then just the theme and that worked for a moment. I had everything running again from a few days ago. After I tried to follow the tutorials to change my URL again and back to the same. When I tried to restore from the 12/27 again, it didn't work. I was overwriting the original files, so perhaps that was the case?

I just want to reboot from 3 days ago and try again. Any suggestions on what I could do? I feel like the solution is pretty simple. Not much is lost work-wise, I just need to find out how to connect it all.

Hell, I'm so frustrated I'm even willing to give my login and have someone take a look. I wanted this up on Jan 1st for symbolic reasons and otherwise. Any help is greatly appreciated.

Thanks!

share|improve this question

closed as too localized by toscho Mar 2 at 23:42

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

1 Answer

define('WP_HOME','http://bailoutpictures.com/');
define('WP_SITEURL','http://bailoutpictures.com/blog/');

Add these lines in your wp-config.php just before /* That's all, stop editing! Happy blogging. */

You can edit wp-config.php by downloading it from your server (FTP) and then changing it with notepad (or similar, not Word!). Then you can upload it again and overwrite your current wp-config.php

share|improve this answer
Thanks Rob. I was able to get it all back up. Now to move it over the right way. – BossBrews Dec 31 '11 at 22:16

Not the answer you're looking for? Browse other questions tagged or ask your own question.