WordPress.org

Ready to get started?Download WordPress

Forums

where is siteurl defined? (2 posts)

  1. shrutika
    Member
    Posted 6 years ago #

    Hi,

    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.

    http://codex.wordpress.org/WordPress_Backups

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

    http://codex.wordpress.org/Restoring_Your_Database_From_Backup

    Seriously, backup everything. Now read and follow these instructions

    http://codex.wordpress.org/Changing_The_Site_URL

    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