Lost access to admin dashboard

  • Unknown's avatar

    I have a blog at http://www.chikarmaworld.com/chikarmadiving/blog/
    I have made changes to my .htaccess file in order to make it more secure but I cannot access my admin dashboard. Can someone help me edit my .htaccess file so i can get into my dashboard but it is still secure. I have tried to go back to default .htaccess file but my site does not load at all when i do this. The code which effects login is as below. Any advice on changes would be great.

    RewriteRule ^login/?$ /chikarmadiving/wp-login.php?trxuxjuar6plmmrc4cf1j [R,L]

    RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$
    RewriteRule ^admin/?$ /chikarmadiving/wp-login.php?trxuxjuar6plmmrc4cf1j&redirect_to=/chikarmadiving/wp-admin/ [R,L]

    RewriteRule ^admin/?$ /chikarmadiving/wp-admin/?trxuxjuar6plmmrc4cf1j [R,L]

    RewriteRule ^register/?$ /chikarmadiving/wp-login.php?trxuxjuar6plmmrc4cf1j&action=register [R,L]

    RewriteCond %{SCRIPT_FILENAME} !^(.*)admin-ajax.php
    RewriteCond %{HTTP_REFERER} !^(.*)chikarma.com/chikarmadiving/wp-admin
    RewriteCond %{HTTP_REFERER} !^(.*)chikarma.com/chikarmadiving/wp-login.php
    RewriteCond %{HTTP_REFERER} !^(.*)chikarma.com/chikarmadiving/login
    RewriteCond %{HTTP_REFERER} !^(.*)chikarma.com/chikarmadiving/admin
    RewriteCond %{HTTP_REFERER} !^(.*)chikarma.com/chikarmadiving/register
    RewriteCond %{QUERY_STRING} !^trxuxjuar6plmmrc4cf1j
    RewriteCond %{QUERY_STRING} !^action=logout
    RewriteCond %{QUERY_STRING} !^action=rp
    RewriteCond %{QUERY_STRING} !^action=register
    RewriteCond %{QUERY_STRING} !^action=postpass
    RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$
    RewriteRule ^.*wp-admin/?|^.*wp-login.php /chikarmadiving/not_found [R,L]

    RewriteCond %{QUERY_STRING} ^loggedout=true
    RewriteRule ^.*$ /chikarmadiving/wp-login.php?trxuxjuar6plmmrc4cf1j [R,L]

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    The blog you specified at http://www.chikarma.com does not appear to be hosted at WordPress.com.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • Unknown's avatar

    As the friendly supportbot notes above – you are in the wrong forum – see above for the links to get help

  • The topic ‘Lost access to admin dashboard’ is closed to new replies.