Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
$5
Accidentally changed the Site URL in General Settings
Site URL: www.StJohnsLacrosse.com/laxprogram
Site Home: www.StJohnsLacrosse.com
This question has been answered.
Patrick MacAdams | 06/05/12 at 1:50pm
Edit
(9) Possible Answers Submitted...
See a chronological view of answers?
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
-

Last edited:
06/05/12
1:55pmJohn Cotton says:They are entries in the wp_options table of the database - you can change them there..
(You can also edit your wp-config.php file)Previous versions of this answer: 06/05/12 at 1:55pm
-

Last edited:
06/05/12
1:54pmJerson Baguio says:just modify the database table under wp_options.. or just pm i can help you modify that
-

Last edited:
06/05/12
1:54pmFrancisco Javier Carazo Gil says:Hi Patrick,
Don't worry. Go to phpMyAdmin find "site_url" into "wp_options" table and change it.- 06/05/12 1:56pm
Francisco Javier Carazo Gil says:If you want SQL query:
UPDATE wp_options SET option_value = "http://www.StJohnsLacrosse.com" WHERE option_name = "site_url";
- 06/05/12 1:56pm
Francisco Javier Carazo Gil says:Or send me access to your database and I will set in a moment.
- 06/05/12 1:59pm
Francisco Javier Carazo Gil says:What Manoj says is another good option.
- 06/05/12 9:09pm
Patrick MacAdams says:i've tried and failed. if anyone can do this, send an email to patrick@annapolisdesigncompany.com
- 06/05/12 9:12pm
Francisco Javier Carazo Gil says:Message sent.
- 06/06/12 12:55pm
Francisco Javier Carazo Gil says:Job is done :)
- 06/05/12 1:56pm
-

Last edited:
06/05/12
1:58pmJatin Soni says:I understood that you want to change Site URL as www.StJohnsLacrosse.com instead of www.StJohnsLacrosse.com/laxprogram
give me the access of the database. that will take a min to do
or
edit yourself into the databse
wp_options > siteurl (third) click on edit and change the option_value what you wantPrevious versions of this answer: 06/05/12 at 1:58pm
-

Last edited:
06/05/12
1:56pmManoj Raj says:update_option('siteurl','http://example.com');
update_option('home','http://example.com');
add this to functions.php and then enter the blog... -

Last edited:
06/05/12
1:57pmRoss Wilson says:You can also use the wordpress relocate method to recover the settings
http://codex.wordpress.org/Changing_The_Site_URL#Relocate_method -

Last edited:
06/05/12
1:58pmderekshirk says:I think you can also add this to your config.php in the root level of your Wordpress directory
define('WP_SITEURL', 'http://example.com');
define('WP_HOME', 'http://example.com');
-

Last edited:
06/05/12
2:00pmM. Daniel says:Hi Patrick,
You have 2 options:
1. To fix this issue if you have Cpanel:
Open up phpMyAdmin:
- Select the database in which your WP install resides
- Select wp_options table from the left hand side list
Now you need to modify 2 things:
siteurl (it has option_id number 1)
home (option_id 37)
You should backup your site before doing this!
http://codex.wordpress.org/WordPress_Backups#Simple_Backup
2. Follow the steps listed on the wordpress Codex:
http://codex.wordpress.org/Changing_The_Site_URL -

Last edited:
06/05/12
3:40pmAgus Setiawan says:Open up wp-config.php and paste these lines (with your site name) into it after the initial commenting:
define('WP_HOME', 'http://sitename.com');
define('WP_SITEURL', 'http://sitename.com');
This question has expired.
Gabriel Reguly, Patrick MacAdams, Jurre Hanema voted on this question.
Current status of this question: Completed
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
