“? id = 1 $” Réponses codées

? id = 1 $


RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^home/?$ /home.php [NC]
RewriteRule ^settings/?$ /settings.php [NC]
RewriteRule ^verify/([0-9]+)/([0-9]+)/?$ /verify.php?id=$1&user=$2 [NC,L]

Mr. Codex


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !\\..+$
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^/(.*)$ http://domain.com/$1/ [L,R=301] 

Mr. Codex

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code