The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

where is siteurl defined? (2 posts)

  1. shrutika
    Posted 7 years ago #


    I've installed wordpress on my site. It was working properly.
    I wanted to make a redirection to another domain and in an attempt to do this I modified the blog-url and site-url on the settings page.

    After that, it appears that some settings have changed while some not.
    For eg. the blog-url is changed to new domain but the files have not been transfeered completely.

    Now I want to get back to my previous settings and for this searched the files to see where exactly the blog-url is getting set. I searched all the files but couldn't find any clue. I guess it is being set as an environment variable or something like that.
    Can anyone help on this?

  2. That setting is in your database, not in your files. Give this a try: backup your files and database.


    Also read up on restoring your database. Restoring your files is pretty trivial.


    Seriously, backup everything. Now read and follow these instructions


    If you do it right, then you will be good. If not, restore your database and try again.

Topic Closed

This topic has been closed to new replies.

About this Topic