Totally screwed my site. Help!!
-
First, I’ll save you the trouble. I’m a complete idiot. I get that.
I thought I remembered how to move a site to a new domain. I changed the site location in the settings panel of admin, started moving files, and then….I don’t know. I am not sure what exactly happened. But, now my site is toast. Hoping someone can help me scrape off the burnt chunks.
I used site restore from my host and all my files appear to be there, but the data base is messed up. Also, my theme is gone. Whenever I try to click anywhere in the site, I get a database error page on the subdomain where I was trying to more to.
I tried searching through the help files and did find an article that seemed to have instructions for what I need to do, but I can’t find the file it tells me to alter.
I think this is what I need to do:
If you accidentally moved the files before you changed the URIs: you have two options.
Suppose the files were originally in /path/to/old/ and you moved them to /path/to/new before changing the URIs. The way to fix this would be to make /path/to/old/ a symlink (for Windows users, “symlink” is equivalent to “shortcut”) to /path/to/new/, i.e. ln -s /path/to/new /path/to/old and then follow the steps above as normal. Afterwards delete the symlink if you want.
If you forget to change the WordPress Address and Blog Address, you will be unable to change it using the wordpress interface. However, you can fix it if you have access to the database. Go to the database of your blog and find the wp_options table. This table stores all the options that you can set in the interface. The WordPress Address and Blog Address are stored as siteurl and home (the option_name field). All you have to do is change the option_value field to the correct URL for the records with option_name=’siteurl‘ or option_name=’home‘.I don’t know how to access the database to make the change.
Thanks!
My site: https://www.staceyvphoto.com
Redirecting to https://www.seniors.staceyvphoto.com
- The topic ‘Totally screwed my site. Help!!’ is closed to new replies.