أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
Put this in your root .htaccess file.(mod_rewrite must be enabled)
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?/$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?/$1 [L]
to remove index.php from the URL, you can simply add the following to your .htaccess file.
It will also turn on the Apache Mod Rewrite Module as well.
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] </IfModule>
Rename the server.php in the your Laravel root folder to index.php and copy the .htaccess file from /public directory to your Laravel root folder.
Basm allah alrahman alrahim
Fast trick
add no to the file ( i.e noindex.php )
Thanks for invitation but I don't have much experience with servers side technologies.