• I have a live site and redid my xampp localhost to test plugins etc before they go on the live server. I have loaded xampp many times before. Installed fresh wp on xampp. Installed downloaded files from live server. Config.php all labeled correctly. Sql file loaded via c prompt and mysql command. All fine. I got an internal 500 error so i got rid of the .htaccess and put in a default wp .htaccess file. When I type localhost/mywebsite the site loads to my 404 page but i can go anywhere. When I type localhost/mysite/wp-admin i get:Object not found!

    The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. plus 404. If i could get in the backend maybe by switching to default permalinks, I could get things going. Any ideas? Thanks.
    Mark

Viewing 1 replies (of 1 total)
  • Your .htaccess file should be like this

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /mywebsite/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /mywebsite/index.php [L]
    </IfModule>
    
    # END WordPress
Viewing 1 replies (of 1 total)
  • The topic ‘Can access site but not wp-admin’ is closed to new replies.