Hi,
I cannot log in as per the first suggestion. I had tried that already and my details are not recognised. Why? Who can I get in contact to log me back in? The webmaster at WP?
I tried the third suggestion – i.e.,
Edit functions.php
Add these two lines to the theme’s functions.php file immediately after the initial “<?php” line.
update_option(‘siteurl’,’http://example.com/blog’);
update_option(‘home’,’http://example.com/blog’);
It didnt work and I get
http://bit.ly/g1XrFz
It was not clear from the instructions whether I needed to use with www. or without www. I tried both and neither worked. Or do I need to put the old one first and the desired one below? Or Vice versa? As I said, I cannot remember if the general settings accepted the http://www or http:// address before things went wrong. The original was just http://mysite
Surely this issue can be put right quickly? Can someone please advise? If I’ve lost all that work for such a small change then I am going to be seriously ill!
Thanks,
B
Hi,
I’ve still got the original WP editor interface page open, the one I was using pre-changes and pre-problem to edit a post.
If I click through in the top left-hand corner to see my site, I get:
http://bit.ly/gfjze1
Isn’t this a css problem? Do I need to update or change it in some way?
Thanks,
B
I think your wordpress installation is in a directory called “wordpress”
replace the two lines of code you put in your wp-config with this:
define('WP_HOME','http://walking-holidays-france.com/wordpress');
define('WP_SITEURL','http://walking-holidays-france.com/wordpress');
Hi,
Are you saying I should place this coding into the functions.php file?
Thanks,
B
Let’s forget that.
change the lines you put in your functions.php to:
update_option('siteurl','http://walking-holidays-france.com/wordpress');
update_option('home','http://walking-holidays-france.com/wordpress');
Pheeeew, thanks alot keesiemeijer, I can now put the valium back in the drawer.
I have some related Questions:
1. Do I need to erase that coding from the functions.php file as it says in the WP page instructions?
2. Our existing site is on http://www…. and the new WP site has started to be built using the same url but minus the ‘www.’ We had not realised this.
What do we need to do to change the url to the desired www. one? Is it complicated to do? Should we do this now or wait till we ‘remove’ the new site from the wordpress subdirectory in which it’s being built?
By the way, re this last issue, does WP automatically change all the urls containing the subdirectory?
Many thanks your valued help,
B
Yes, go to Settings > General in the wp admin and see if the “WordPress address (URL)” and the “Site address (URL)” are correct. if so delete these lines from functions.php and see if it is still working.
for the www part after deleting the lines in functions.php try changing “WordPress address (URL)” and the “Site address (URL)” under
Settings > General and change the urls with www.
http://www.walking-holidays-france.com/wordpress
keesiemeijer,
General Settings show the site address is back to what it was. I have now erased the coding and the site still works okay, so all’s well.
But…re the www issue, you are asking me to do what I tried to do this morning that started all the bother. Are you sure?
Thanks,
B
Yes but I think you left the “wordpress” part out of the url when you did it the first time, and you have the knowledge to put it back again when it fails. But I understand you don’t want to try again. There are some plugins I think that will do this for you.
keesiemeijer,
All I did was to try to input the wwww. I knew I shouldn’t touch the “wordpress” bit at this stage.
I’ll check out your plugin suggestion.
Many thanks for all your help. It’s much appreciated.
B.