• Resolved sharon-lee

    (@sharon-lee)


    Hi

    I have recently upgraded to WP 2.5.1 which went without a hitch.

    I then began to play around with permalink structures, htaccess and php.ini. It was all working fine until I decided to change the url in the general settings from https://mydomain.co.uk/wordpress to https://mydomain.co.uk/. This then give me the the 404 error stating that wp-login.php was not found on this server!

    I am pretty new to WP so I hope I’m making sense here. I hope somebody can help me as I can’t even login now so I am at a total stand still!

    Thanks in advance guys

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hey, there, Sharon. Did you follow the instructions here?

    Thread Starter sharon-lee

    (@sharon-lee)

    Hey Rosie:) yes I followed these intructions when I first installed. However, I can’t even get to my admin panel now as it keeps throwing up a 404 saying wp-login.php cannot be found on the server.

    I’ve tried replacing wp-settings.php with a local copy – no joy ??

    WordPress content is located here /var/www/html/wordpress/ on my server until I am familiar with the application.

    I think the error is something to do with me writing a custom permalink: /index.php/%year%/%monthnum%/%day%/%postname%/

    I then changed the wordpress and blog URL to https://www.mydomain.co.uk – this seemed to throw something out but I cannot figure out what it is. Do you think it could be a DB error?

    Thread Starter sharon-lee

    (@sharon-lee)

    Is there any more info I can provide for somebody to try and help me? I am at a total stand still and trying to search for solutions but can’t find anything:(

    What is the URL to where you actually installed WordPress?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    It was all working fine until I decided to change the url in the general settings from https://mydomain.co.uk/wordpress to https://mydomain.co.uk/. This then give me the the 404 error stating that wp-login.php was not found on this server!

    You can’t just put in whatever values you like for those. They have to be the correct settings.

    Read this:
    https://codex.www.ads-software.com/Changing_The_Site_URL

    Thread Starter sharon-lee

    (@sharon-lee)

    Hi kmessinger:)

    The url is https://cyonix.co.uk/wordpress/.

    I have since overwritten the wp-admin directory and a few of the root files from my local drive to the web server. Still not working. Ive also noticed that the styles and formatting have disappeared. I previously set the homepage as a static page and included the header, sidebar and footer.

    The error seemed to appear when I changed the wordpress url and wordpress blog in settings/general to https://cyonix.co.uk from https://cyonix.co.uk/wordpress…(silly of me I know ?? I had also been playing about with permalinks and .htaccess – but it seemed to work fine at first.

    I do appreciate your input kmessinger – hope you can shed some light on this…

    Thread Starter sharon-lee

    (@sharon-lee)

    Hi Otto42 – I expected it was that but hadn’t a clue where to start to fix the error manually. Thanks for that link – I’ll take a look.

    This works https://cyonix.co.uk/wordpress/wp-login.php so try to login and fix your problem. Turn permalinks at least for now to default, correct your blog name and site.

    Thread Starter sharon-lee

    (@sharon-lee)

    Hi kmessinger – I tried to login but get a 403 error ??

    I am going to access the db through phpMyAdmin and try and change the url that way. I will let you know how it goes…

    Thanks

    Thread Starter sharon-lee

    (@sharon-lee)

    Can anybody tell me where to find the wp-content/cache folder?

    I followed this article to the bullet point ??
    https://codex.www.ads-software.com/Changing_The_Site_URL

    I managed to do everything apart from clear the cache (last point) as I couldn’t find it.

    I can now view the blog (its not perfect but its there) but can’t login as still getting a 403)

    https://cyonix.co.uk/wordpress/

    Could this have anything to do with not clearing the cache? Or could it be bacause the admin directory was overwritten with a local copy yesterday?

    I’m thinking it may be easier for me to re-install and but not over write the WP-content folder…

    Thanks

    Thread Starter sharon-lee

    (@sharon-lee)

    Well – what do you know!

    I just deleted the admin directory from the server and re-uploaded a local copy and I can now login to my admin dashboard! I think between resetting my URLS for wordpress and re-installing the admin directory worked wonders! Thanks to Otto42 for that excellent link (https://codex.www.ads-software.com/Changing_The_Site_URL ??

    Phew – thanks so much for all your help guys . I’d be grateful if somebody can tell me where the wp-content/cache is still ?? I’m sure you will be hearing from me in the not too distant future!

    strife

    (@strife)

    You can’t just put in whatever values you like for those. They have to be the correct settings.

    Read this:
    https://codex.www.ads-software.com/Changing_The_Site_URL

    this saved my life..um blog. I had the same issue as thread starter and could not solve the problem…followed the above guide to fix the issue and it worked perfectly.

    thank you so much for posting that link Otto42!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘404 error – wp-login.php was not found on this server.’ is closed to new replies.