500 internal server error with Url Shortener script""resolved""

hello

when i submit a link i have this error

ty

to solve the problem is to modify the .htaccess file as follow.

    Options +FollowSymLinks
IndexIgnore */*

<IfModule mod_rewrite.c>

RewriteEngine on

RewriteRule ^admin admin.php

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^.*$ /index.php [L]

</IfModule>
1 Like