windows – XAMPP Object not found error

windows – XAMPP Object not found error

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.

Youre having problem because the object really doesnt exist in your htdocs directory.
You dont have to append xampp after localhost or because xampp will treat it as an object or a folder under htdocs.

if you want to access your blog, make sure you have a blog folder under htdocs and put in your URL localhost/blog

Just make sure you have the .htaccess in your projects public directory

If you dont have the file then create one and paste the below code in your .htaccess file.


<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews

    RewriteEngine On

    # Redirect Trailing Slashes If Not A Folder...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]

windows – XAMPP Object not found error

The issue is the object(project) folder and it is really not in the localhost.

Check the following things (Windows User)

1. project folder in htdocs

2. spelling of the project folder in htdocs

3. Public folder inside project folder

Leave a Reply

Your email address will not be published.