Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter pab1953

    (@pab1953)

    Rakibul, the problem is worse than you realize. If you read my messages in the links I posted above you’ll see that I can’t login into my site nor is it visible any more.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You really should keep all this to one post if you can, but let’s go.

    Unless you deleted your database, everything should be okay.

    A couple questions to get started here:
    1) Did you physically move the wordpress folder? Like from /home/public_html/wordpress to somewhere else?
    2) Did you change the URL in the settings pages on the admin side of WordPress?
    3) Do you have shell access to your account?

    Thread Starter pab1953

    (@pab1953)

    Sorry about the multiple posts. I was sort of addressing different issues.

    1) Not the folder, but the contents of the folder, yes. A few times now. That was my initial goal, to move the contents of “wordpress” to the root level. I think something, perhaps via a plugin (?), got corrupted when I was making the path edits in the General Settings (or the Permalinks) area. When I clicked whatever the button said (“Save,” “Update”?) an error message (403? 404?) appeared.

    Currently, the original, edited install is there in its “wordpress” directory (except I’ve renamed the Plugins folder, as per Samboll’s suggestion, although that didn’t seem to help). When I go to either wordpress/index.php or wordpress/wp-login.php it just times out.

    2) Yes.

    3) Shell access? I have access via Dreamweaver or GoDaddy.

    Thanks for your interest.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Okay, we should be able to fix this. These directions should revert you back to where WordPress was (in the /wordpress folder). Once we’ve done that, we can set up your site to have your WP install in that folder, but your visitors will never know ??

    1) Upload your backup stuff back into the /wordpress folder. Just get that up there.

    2) Add these two lines to your wp-config.php:

    define('WP_HOME','https://wwww.iphonesatwork.com/wordpress');
    define('WP_SITEURL','https://wwww.iphonesatwork.com/wordpress');

    Now THAT should bring https://wwww.iphonesatwork.com/wordpress back to life (your permalinks may still be borked, but that’s okay).

    If you can get back in at this point, clean up everything you copied from /wordpress to your public_html root.

    Next, go to the General panel in wp-admin and in the box for WordPress address (URL) and Blog address (URL), set the address to https://wwww.iphonesatwork.com/wordpress

    Once you’ve done that, delete the two lines I gave you from your wp-config file. If you’ve set up Permalinks, go to the Permalinks panel and update your Permalink structure. This will update your links and make them all work again.

    At this point you should be back to where you started.

    I suggest try following the directions here: https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory

    This will let you keep your install in /wordpress but allow visitors to hit up your primary URL and get the Blog stuff.

    Thread Starter pab1953

    (@pab1953)

    Some progress, but not all the way.

    – Editing wp-config brings the site sort-of back to life, minus theme and styling … https://iphonesatwork.com/wordpress/

    – But I can’t login to https://iphonesatwork.com/wordpress/wp-login.php. When I try to login I get a “DNS Error – Cannot Find Server.” (Also I got this error when testing it on IE: “Forbidden. You don’t have permission to access /wordpress/wp-login.php. on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.33 Server at iphonesatwork.com Port 80.”)

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You may need to reset the file permissions on your /wordpress folder.

    See https://codex.www.ads-software.com/Changing_File_Permissions

    Thread Starter pab1953

    (@pab1953)

    Well, as best I can tell, the Permissions are okay. (GoDdaddy doesn’t use the numbering system in your help file, instead it uses “Owner permissions: Read, Write and Execute (directory)” and each of these are checked.)

    One, possibly small, thing: the “xmlrpc.php” file refuses to be put in the “wordpress” directory. When I try to move it, Dreamweaver says it “cannot be moved to his location.”

    Any other suggestions, ideas?

    Thanks.

    Thread Starter pab1953

    (@pab1953)

    SamsChoice, I’m afraid I don’t know what you mean by “NOTICE 4 w’s.” Or why you included a link for the CSS file. Please explain. Thanks.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Your URL has 4 w and that’s TOTALLY my bad! When I told you to add the lines to your wp-config, I screwed them up! Dude… I’m so sorry.

    Put this two CORRECT lines in your wp-config.php:

    define('WP_HOME','https://www.iphonesatwork.com/wordpress');
    define('WP_SITEURL','https://www.iphonesatwork.com/wordpress');

    wwww vs www and all that. D’OH!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How To Recover Posts and Pages from Broken Site?’ is closed to new replies.