“id = $ 1” Code-Antworten

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

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen