0

My website URL was www.example.com/singer

I decided to get rid of "/singer" in the dashboard and ever since i have met with this error.

Fatal error: Call to undefined function wp() in /data/15/3/113/145/3439634/user/3834081/htdocs/singer/wp-blog-header.php on line 14

I've tried multiple methods to fix but all with no luck.

Any guidance is appreciated.

3
  • Please, explain what you have done to get rid of "/singer". If you have moved Wordpress, this can help. If you have not move Wordpress, see this.
    – cybmeta
    Sep 13, 2014 at 19:01
  • I only did it because it gave me the option. Did not move any files at all. Sep 13, 2014 at 19:05
  • change the site URL properly: codex.wordpress.org/Changing_The_Site_URL
    – Tara
    Sep 13, 2014 at 20:24

1 Answer 1

0

Add the following to your wp-config.php

 define( 'WP_SITEURL', 'www.amandabarise.com/singer' );
 define('WP_HOME', 'www.amandabarise.com/singer');

That should make the site work again, but try to correct the values, and read this

3
  • I think hardcode the url of your site in the config file is really bad.
    – cybmeta
    Sep 13, 2014 at 19:03
  • Did what you suggested, and it didn't work. Sep 13, 2014 at 19:10
  • it seems that you have another problem.
    – Tomás Cot
    Sep 13, 2014 at 20:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.