WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WP Site gone after changing the URL in the settings (29 posts)

  1. robwise
    Member
    Posted 1 year ago #

    I change the url in the settings page and poof went the site. I tried to fix it by changing the functions.php and the wp_config file. I even went back through the back end and used myphp to fix it there.

    But it is still gone!!!! What can I do to fix it???

  2. Brandon Kraft
    Happiness Engineer
    Posted 1 year ago #

    Have you checked out the tips/instructions here:
    http://codex.wordpress.org/Moving_WordPress

    If you changed the URL in the setting page, you'll (almost always) need to move the files somewhere else to match the new URL.

  3. robwise
    Member
    Posted 1 year ago #

    Yes I did. I want to switch back to the /wordpress site, followed the to restore but it is still gone. The url is worldimpactbayarea.org

    Any thoughts?

  4. Brandon Kraft
    Happiness Engineer
    Posted 1 year ago #

    Well, the files seem to at /wordpress/, site throwing off an error now.

    Are you able to access the error logs for the server--it should give us an idea of why the error is occurring and an idea of how to get it back up.

    If you can access the logs, please copy and paste the error message here (or if it is more than a couple of lines, use http://pastebin.com/ and post the link to it).

  5. robwise
    Member
    Posted 1 year ago #

    How do i access the error logs? What kind of information do I need to do that? I have access to the back end of the site, as well as FTP access.

    Thanks.

  6. Brandon Kraft
    Happiness Engineer
    Posted 1 year ago #

    Contact your hosting company's support to ask them where to find the error logs. The server logs aren't part of WordPress, so they could be a variety of places depending on your host's config.

  7. robwise
    Member
    Posted 1 year ago #

    I will contact them and let you know soon!

  8. robwise
    Member
    Posted 1 year ago #

    What does this mean?

    [Sat Jan 26 01:03:25 2013] [notice] Digest: generating secret for digest authentication ...
    [Sat Jan 26 01:03:25 2013] [notice] Digest: done
    [Sat Jan 26 01:03:25 2013] [notice] LDAP: Built with OpenLDAP LDAP SDK
    [Sat Jan 26 01:03:25 2013] [notice] LDAP: SSL support unavailable
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/magickwand.so' - libXext.so.6: cannot open shared object file: No such file or directory in Unknown on line 0
    [Sat Jan 26 01:03:25 2013] [notice] Apache/2.0.52 (Red Hat) configured -- resuming normal operations
    [Sat Jan 26 01:03:26 2013] [error] [client 180.76.6.232] File does not exist: /var/www/html/World_Impact_Bay_Area
    [Sat Jan 26 01:18:47 2013] [notice] caught SIGTERM, shutting down

  9. Brandon Kraft
    Happiness Engineer
    Posted 1 year ago #

    This doesn't appear to me to have the info I was hoping to see-- right now, at http://worldimpactbayarea.org/wordpress that page isn't working, returning an internal server error. This log doesn't contain information that error.

    I suppose you may need to be more specific and ask them for the web server logs (apache, etc). I'll ask for some other folks to chime in on this one too.

  10. robwise
    Member
    Posted 1 year ago #

    Brandon, Thanks so much for all you help. This is awesome to have such a great support network.

    This is the full log, I thought it was repeating the same error maybe not?

    <script src="http://pastebin.com/embed_js.php?i=18APyxR1"></script>

  11. robwise
    Member
    Posted 1 year ago #

    did I do that right. Maybe this works? http://pastebin.com/raw.php?i=18APyxR1

  12. Brandon Kraft
    Happiness Engineer
    Posted 1 year ago #

    You did good :-). Quick glance says we're not getting the right errors recorded. Let me get a second opinion.

  13. Brandon Kraft
    Happiness Engineer
    Posted 1 year ago #

    I'm sorry for asking you to keep going back to your hosting provider. Can you ask them to enable PHP error logging, or at least, explain that we're trying to determine what error is causing the 500 error at the /wordpress/ site on your page.

  14. robwise
    Member
    Posted 1 year ago #

    No prob. I will get a hold of them soon.

  15. robwise
    Member
    Posted 1 year ago #

    Here is the PHP error log

    [28-Jan-2013 15:03:02] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/magickwand.so' - libXext.so.6: cannot open shared object file: No such file or directory in Unknown on line 0

  16. Marventus
    Member
    Posted 1 year ago #

    Hi there.
    I may be wrong, but it seems like you might have messed up the path to your Home and Site URLs in the Admin Panel. To override that modification, what you could do is hardcode your old values into your wp-config.php file as defined in this section of the corresponding Codex article. That should override the values you set in the Admin Panel.
    If your site was working prior to that change, you should be able to restore it. If you have already moved your blog to the new location, then try hardcoding the new values in there.
    Cheers!

  17. robwise
    Member
    Posted 1 year ago #

    Where do I add those in the wp-config.php? The article is pretty unclear.

  18. Marventus
    Member
    Posted 1 year ago #

    Anywhere between the description of what the wp-config.php does and the line below should be fine:

    require_once(ABSPATH . 'wp-settings.php');

    Edit: On a second thought, when you go to http://www.worldimpactbayarea.org/, the Red Hat test page gets displayed, so it seems as if your server may be misconfigured. You should definitely contact your hosting provider if that's the case.

  19. Brandon Kraft
    Happiness Engineer
    Posted 1 year ago #

    Thanks Marventus. The OP said they were trying to move the WP install back to http://worldimpactbayarea.org/wordpress , so I assumed that the Red Hat page after they moved WP back to /wordpress.

    Although, with this error message: [Sat Jan 26 01:03:26 2013] [error] [client 180.76.6.232] File does not exist: /var/www/html/World_Impact_Bay_Area I think you might be right.

    I haven't ran into that particular PHP error before (re: magickwand with 3.5's switch to imagemagik) and wasn't sure if it was WP-related or not.

    In short, asking hosting support for more help gets no objection from me!

  20. robwise
    Member
    Posted 1 year ago #

    Alright, I talked to the hosting support and the got worldimpactbayarea.org/wordpress up and running again, but now I am getting this error when I navigate to another page.

    Not Found

    The requested URL /index.php was not found on this server.
    Apache/2.0.52 (Red Hat) Server at http://www.worldimpactsf.org Port 80

    What's up with this?

  21. Brandon Kraft
    Happiness Engineer
    Posted 1 year ago #

    Try resetting the permalinks.

    Visit /wordpress/wp-admin and visit Settings->Permalinks, then click save. You don't have to change anything.

    If that doesn't do it, can you confirm in Settings->General that both the Site URL and Home URL are http://www.worldimpactbayarea.com/wordpress/

  22. Marventus
    Member
    Posted 1 year ago #

    Yep, it seems you are having a Permalinks issue.
    If you want to be able to edit the home and site URLs from the admin page, remember to remove the lines we added previously in the wp-config.php file. Otherwise, the fields will be grayed out.

  23. robwise
    Member
    Posted 1 year ago #

    Awesome!!! Thanks for all your help guys!!!

    Now I still want the url to be worldimpactbayarea.org

    How should I go about that? Can I leave the folder /wordpress where it is at and change the url.

    Almost there....

  24. robwise
    Member
    Posted 1 year ago #

  25. Brandon Kraft
    Happiness Engineer
    Posted 1 year ago #

    Possibly. I'd go straight to the source of his info:

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install

    Basically, you'll need to copy/paste a couple of files and tweak one or two.

  26. robwise
    Member
    Posted 1 year ago #

    Cool Thanks for all your help!!!

    We are running at worldimpactbayarea.org

  27. robwise
    Member
    Posted 1 year ago #

    woot!

  28. Brandon Kraft
    Happiness Engineer
    Posted 1 year ago #

    Rock on. Thanks for sticking with it!

  29. robwise
    Member
    Posted 1 year ago #

    Thanks for walking along with me!

Topic Closed

This topic has been closed to new replies.

About this Topic