Jump to content

hostguy

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by hostguy

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

    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME}\.html –f
    RewriteRule ^(.*)$ $1.html [NC,L]

    You can use this code to remove .htaccess file extension.

     

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

×
×
  • Create New...