WordPress.org

Ready to get started?Download WordPress

Forums

Changing Address (17 posts)

  1. Bad_Egg
    Member
    Posted 1 year ago #

    I'm contemplating changing my WP address from http://www.mademers.com/globalindieauthor to http://www.mademers.com/selfpublishing. It seems easy enough to do BUT:

    1. When I change the address, and therefore the permalink, are the addresses to all my blog posts updated automatically? Or do I have to manually update them all?

    2. If I place a redirect from the old address to the new, and someone has a individual blog post bookmarked, will the redirect still work or does it only work for the parent site address?

    3. If I have links from one blog post to another, do I have to manually update those links or will they change automatically?

    Thanks.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    That's not just an address change. You are moving the site. See Moving_WordPress.

  3. Bad_Egg
    Member
    Posted 1 year ago #

    Hi Esmi:

    I contacted my server and they told me that I do not need to change the folder name in my directory or move the files in any way; I simply leave that as is and change the WP and the site address in WordPress. My files will still be stored in the public_html/globalindieauthor folder.

    Is my server incorrect?

    If not, then I am not moving the site; I am just renaming the URL. Correct? If so, then do I still have to update all the addresses of each blog post, etc.?

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    It really depends upon how your server is configured. See Changing_The_Site_URL.

  5. Bad_Egg
    Member
    Posted 1 year ago #

    If I read this correctly, I can change the Home setting so that when people type in the new name they still get to my site. If I leave the Site URL alone, and I leave the file directly alone on my server, then the site still knows where to find the files.

    So in a stupid move I decide to see what happens if I change one of the addresses and now everything is messed up. Changing the address back is not fixing it. I can't get into my original dashboard. I get a 404 error.

    When I go to http://mademers.com/globalindieauthor/wp-login.php I am taken to a log in page for mademers.com/self-publishing and then I get a 404 error.

    If one goes to the site, the info is there but is now disconnected from the WP theme.

    Now I'm panicking and this is the last thing I needed. Now what do I do?

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    Change the urls back. Except for specific situations, your Site and WordPress urls should be the same.

  7. Bad_Egg
    Member
    Posted 1 year ago #

    I did. And saved the changes. Everything was as originally. But it's broken. And now I cannot get back in at all. If you go to

    http://mademers.com/globalindieauthor/wp-login.php

    you will see the log-in page is not the WP template, and when I input my username and password I get redirected to:

    http://mademers.com/self-publishing/wp-login.php

    and a 404 error. I am completely hooped. How do I get back in? Can I get in through my server directory?

  8. esmi
    Forum Moderator
    Posted 1 year ago #

    You need to change both urls back to the original (ie the url where you installed WordPress).

  9. Bad_Egg
    Member
    Posted 1 year ago #

    How am I supposed to do that if I can't get into the dashboard? And it had been changed back. Everything was as originally inputted when I last saved it but now I've been locked out.

  10. esmi
    Forum Moderator
    Posted 1 year ago #

  11. Bad_Egg
    Member
    Posted 1 year ago #

    I can edit the WP files through my server directory if I know which one to look at to see if "self-publishing" is stuck in there somewhere. Any idea?

  12. Bad_Egg
    Member
    Posted 1 year ago #

    I have looked through the entire file directory in my WP site via my server: cannot find the wp-config.php. Does the file name differ in various WP sites? I am using PageLines.

  13. Bad_Egg
    Member
    Posted 1 year ago #

    Scrap that. I found it. Let me check and get back.

  14. esmi
    Forum Moderator
    Posted 1 year ago #

    No. It is in every single WordPress installation. Usually in the root WordPress folder.

  15. Bad_Egg
    Member
    Posted 1 year ago #

    Thank you! I found the functions.php and fixed it. I think I will leave this alone for awhile. Will experiment with an older site that I don't care so much about.

    Now I need a drink. It's only 2:30. Not good.

  16. Bad_Egg
    Member
    Posted 1 year ago #

    Thanks for seeing me through the panic. Much appreciated.

  17. esmi
    Forum Moderator
    Posted 1 year ago #

    Glad to hear that you got it all sorted. That said, it does raise some concerns about just changing the site urls later on when you want to rename the WordPress sub-folder. You might want to re-check that with your hosts.

Topic Closed

This topic has been closed to new replies.

About this Topic