• Hi Guys,

    What a day! Just when things seemed to be progressing well with my new WP site, I manage to get myself lockout out and the server cannot find the pages!

    Having started to construct the site on this directory:

    http://bit.ly/fpyNG7

    I suddenly noticed that the urls were without www. So I went to General Settings and readjusted them and everything proceeded to go pear-shaped.

    I got [and still get] http://bit.ly/elNy61

    Seems to be a css error?

    I then tried to return things to normal but that didn’t seem to work either, and now when I try to log into the Dashboard it doesn’t recognize my password and username!

    And when I go to my normal ‘favourites’ setting to go to the Dashboard I get:
    The requested URL /wp-login.php was not found on this server.

    What’s happening? Is it a safety feature to stop hacking? I hope this isn’t normal behaviour for WP!

    Help!

    B.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    Thread Starter belenenses

    (@belenenses)

    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&#8217;);
    update_option(‘home’,’http://example.com/blog&#8217;);

    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

    Thread Starter belenenses

    (@belenenses)

    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

    Moderator keesiemeijer

    (@keesiemeijer)

    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');

    Thread Starter belenenses

    (@belenenses)

    Hi,

    Are you saying I should place this coding into the functions.php file?

    Thanks,

    B

    Moderator keesiemeijer

    (@keesiemeijer)

    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');
    Thread Starter belenenses

    (@belenenses)

    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&#8230;. 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

    Moderator keesiemeijer

    (@keesiemeijer)

    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

    Thread Starter belenenses

    (@belenenses)

    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

    Moderator keesiemeijer

    (@keesiemeijer)

    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.

    Thread Starter belenenses

    (@belenenses)

    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.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Locked out of my own site & other related issues’ is closed to new replies.