Forums

[resolved] what to put in my .htaccess? (7 posts)

  1. 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?

  2. samboll
    moderator
    Posted 1 year ago #

    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

  3. 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.

  4. samboll
    moderator
    Posted 1 year ago #

    do you have a link to your blog?

  5. maybeshescrazy
    Member
    Posted 1 year ago #

  6. samboll
    moderator
    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?

  7. maybeshescrazy
    Member
    Posted 1 year ago #

    It didn't help - and yes, I've got that in the index.php

Topic Closed

This topic has been closed to new replies.

About this Topic