Viewing 5 replies - 1 through 5 (of 5 total)
  • What was the URL of the site before you changed it?

    What was the purpose of the change – what were you trying to accomplish?

    If you have resolved the problem, please come back and tell us what you did to resolve the problem and then mark the issue as Resolved using the dropdown list and button you will find on the right sided of this page – scroll up and down and you’ll find them.

    Only the person who posted a question can mark it resolved.

    By doing so, it helps people to skip your post if they are looking to find issues that are still open so that they can try and help out.

    When you mark a post as resolved, (resolved) will be displayed to the left of the subject in the forum post index.

    Even if you you don’t want to go into the details of what resolved the problem, at least mark it resolved.

    That not only helps those looking for unresolved problems to help with but it also helps those looking for similar problems.

    What should be the correct url? Have you tried using the functions.php method?

    update_option( 'siteurl', 'http://example.com' );
    update_option( 'home', 'http://example.com' );

    If your site is hosted locally, have you tried using the usual structure like http://localhost/site-folder-name?

    Thread Starter riejetske

    (@riejetske)

    Hi, I don’t remember the name of the URL, that is the reason why I don’t know where to change it to. I changed it because I was following instructions from someone on a blog to put my website online. But obviously that wasnt’t working.
    I am working with MAMP, so my root files are based in applications/MAMP/htdocs/wordpress. How can I find out what my URL should be?

    And I have already tried the functions.php method.
    Thanks again!

    That often happens – someone gives advice that is less than correct or clear without giving you a detailed way to recover from any changes they suggest.

    I’ve used WAMP but not MAMP but I think we can work through this.

    You said you were moving it online –

    Do you mean you want to move it to a hosting company server?

    Do you have a domain name registered and a hosting plan paid for?

    !!! A thought – look back through all of your browser history and see if you can find a record where you accessed the site successfully on your local system before you made the changes. That should give you the URL needed to get things back as they were before you changed the URL.

    I’ll put what else I was going to suggest on hold until you answer the questions and look in your history.

    Bob

    I’ll check back here every hour or so for your reply.

    Once we get this figured out, I’ll give you a very good way to move a WP site, anywhere, and create a backup of the database and WP code at the same time, using a plug-in named Duplicator – https://wordpress.org/plugins/duplicator/

    Bob

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Changing the site URL’ is closed to new replies.