hostguy
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by hostguy
-
-
Hello,
If you have already installed Laravel on local then you can run below commands after navigating to your project folder:
npm install (if you already have npm installed, skip this) composer install (if you already have composer installed, skip this) php artisan migrate npm run dev
After that run the "PHP Artisan" command and browse the project.
how to remove *.php extension in address url ?
in Web Servers
Posted · Edited by Ingolme
Removed advertising link
I know this issue is resolved but below code works for me so you can check this.
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php –f RewriteRule ^(.*)$ $1.php [NC,L]
You have to add this code in .htaccess file to remove .php extension.
You can use this code to remove .htaccess file extension.