Support » Fixing WordPress » update_option appears on every page in my site

  • At the bottom of every page is this:

    update_option(‘siteurl’,’http://jacquisouthphotography.com/wordpress’); update_option(‘home’,’http://jacquisouthphotography.com’);

    Background: I created a new website in http://www.jacquisouthphotography.com/wordpress. When it was ready to replace my existing site, on the General Settings, I changed the site address to http://www.jacquisouthphotography.com.

    I got the 404 error message, page not found. I was completely shut out from the wordpress site. I could not log in at all. I went to the host (godaddy) and they told me it may be a problem with my database user id/password. So made sure the database name, user name and password were correct. I was then able to access the wordpress site, but it was an old version. All the updates I had done were lost. I have now made many of the updates again, but there is a line at the bottom of each page that says the above.
    How do I get rid of that line at the bottom of each page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    You must have added that somewhere in there…

    Check your functions.php in your theme folder, but also your wp-config.php file.

    I checked but didn’t find that code in any of the documents. Still trying to get rid of that code…

    Right now the wordpress site is in a separate folder on my site.
    Existing site: jacquisouthphotography.com
    wordpress site: jacquisouthphotography.com/wordpress

    When I figure out the above problem, and am ready to replace the old site with the wordpress site, do I change the WordPress address (URL) or the Site Address (URL) on the General settings page? If so, what do I change? Or am I supposed to edit something in the wp_config.php or functions.php documents? I have not found instructions that I can understand on the forum. I am not a programmer, and only worked with html and css before.

    This is what messed up things for me before, so I want to make sure I do the right thing. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘update_option appears on every page in my site’ is closed to new replies.