nej? jeg mener det der står. jeg har en kode der gør at index.php?p=profil&id=1 bliver sådan, men hvordan får jeg det til at se lidt mere overskueligt ud med profil/1 ??? ;s
Du kan skrive følgende i en ".htaccess" fil: # this is the initialization Options +FollowSymLinks RewriteEngine On RewriteBase / Du kan lave en .htaccess fil og skrive følgende # these are the rewrite conditions RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # and finally, the rewrite rules RewriteRule ^([a-zA-Z0-9\-]+)/([a-zA-Z0-9\-]+)/?$ /index.php?p=$1&id=$2 [L,QSA]
# this is the initialization Options +FollowSymLinks RewriteEngine On RewriteBase / # these are the rewrite conditions RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # and finally, the rewrite rules RewriteRule ^([a-zA-Z0-9\-]+)/([a-zA-Z0-9\-]+)/?$ /index.php?p=$1&id=$2 [L,QSA]
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.