maybeshescrazy
Member
Posted 1 year ago #
I have a problem. At some point, my .htacces file has disappeared - and now Wordpress thinks that /wp-admin is a page and is trying to load it as a page... while it doesn't exist, therefore I keep getting 404s and can't login.
So, can someone tell me what I need to put in my new .htaccess file to stop this?
just upload an empty .htaccess and chmod 666
go to admin - permalinks and set and save your permalink structure.
This should work - when it does, chmod .htaccess back to 644 for security
maybeshescrazy
Member
Posted 1 year ago #
I can't login to my admin panel though - when I try to go to wp-admin, I just get a 404.
do you have a link to your blog?
maybeshescrazy
Member
Posted 1 year ago #
ok - that's strange the login is 404, also
did you change the blog address and site url correctly?
maybe you should reset that
http://codex.wordpress.org/Changing_The_Site_URL
also, I assume you just have an index.php in the root - did you include
require('./wordpress/wp-blog-header.php');
in the index.php?
maybeshescrazy
Member
Posted 1 year ago #
It didn't help - and yes, I've got that in the index.php