Hello My script won't work with when there is no slash at the end of the url, so I some kind of redirection code that will add "/" to every url accessed, In that case there will be no error My current .htaccess file has the following content. #Options +FollowSymlinks RewriteEngine On RewriteRule ^(.*)/(.*)/$ index.php?k=$1&v=$2 [nc] RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^.*$ - [S=44] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [S=44] RewriteRule ^(.*)/$ index.php?k=$1 [nc] Code (markup):