Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22160

    Hi guys,

    My webpage in a mess right now after I tried to change the WP and Homepage URL.

    I have now only able to access the WP admin and landing page, after I added this line below in functions.php.

    update_option(‘siteurl’,'http://www.auramas.com.my/wp’);

    update_option(‘home’,'http://www.auramas.com.my/wp’);

    But the rest of pages not found, with a msg below:

    The requested URL /demo/index.php was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Can you help?

    Thank you.

    #114423

    Use a plugin like: http://wordpress.org/extend/plugins/search-and-replace/ to search & replace all occurences of your old website url with the new one. If this is not possible (because you can access the admin page) I’d recommend to export the database, then replace all url occurences in the sql file with the new url, then save the file and import it again.

    #114424

    Thank you Dude!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Broken link’ is closed to new replies.