Update Wordpress URL

/ Published in: PHP
Save to your folder(s)

Open your function.php of your active Theme.
Copy your code insert and call the new Site URL.
After delete the code snippet.

Copy this code and paste it in your HTML
  1. <?php
  3. update_option('siteurl','http://EURE-SITE.de/');
  4. update_option('home','http://EURE-SITE.de/');
  6. ?>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.