can’t access wordpress after changing url
-
Hi Everyone,
As the title suggests I tried to change the URL in Settings > General and WordPress came up with Page 404 Not Found on everything I tried to access.
The URL of the website was http://www.ultimateplanning.com.au/wordpress and I removed the /wordpress.
Fast forward and I have followed the instructions to fix this problem by following the instructions from this link…https://codex.ww.wp.xz.cn/Changing_The_Site_URL.
I don’t have access to Cpanel so I have modified the functions.php and added in the 2 lines below the opening <?php line. The two new lines now read:
update_option( ‘siteurl’, ‘http://ultimateplanning.com.au’ );
update_option( ‘home’, ‘http://ultimateplanning.com.au’ );I now get a white screen on the site with the following message:
Fatal error: Call to undefined function update_option() in /misc/36/000/141/450/1/user/web/ultimateplanning.com.au/wordpress/wp-includes/functions.php on line 2
Can anyone help to fix this problem?? I had just finished a site for a client when I decided to try and make the change and now I’m worried I’ll have to start from scratch.
Cheers, Sylvia
The topic ‘can’t access wordpress after changing url’ is closed to new replies.