Made a mistake while changing from temp URL to perm one
-
I made the mistakes below and would like to make sure what the next step is before I ruin everything. Here is what happened:
I am ready to launch my website, so I tried to change from temp URL (https://69.89.31.155/~zelendes/newwebsite/) to permanent URL (www.zelendesign.com).
1. I did so through the WP admin surface:
WP Admin > Settings > WordPress Address (URL): https://www.zelendesign.com
WP Admin > Settings > Blog Address (URL) : https://www.zelendesign.com
That step locked me out of the admin panel.
2. I went into functions.php and inserted:
update_option(‘siteurl’,’https://69.89.31.155/~zelendes/newwebsite’);
update_option(‘home’,’https://69.89.31.155/~zelendes/newwebsite’);
Reloaded the website, deleted the above code from functions.php, reloaded again, and now I am able to access the admin panel again.
HOWEVER:
I can see all my pages and everything relating to my website in admin, but once I click to “Visit site” that is all I get:
https://69.89.31.155/~zelendes/newwebsite/
On top of that, when I go into a page and then click “View page”, this is what I get “404: File Not Found”
Interestingly, the permalink I see at the back end is this:
https://69.89.31.155/~zelendes/newwebsite/benches/
When I click on “View page” and mentioned above, this is what I see in the URL bar:
https://69.89.31.155/~zelendes/~zelendes/newwebsite/benches/
I don’t know what this extra “/~zelendes” is doing there.
I have read all the documentation related to changing URL but not sure how to proceed now as I obviously caused some errors here and should fix that first.
- The topic ‘Made a mistake while changing from temp URL to perm one’ is closed to new replies.