Visa ett inlägg
Oläst 2009-05-28, 22:28 #8
SajtSnickaren SajtSnickaren är inte uppkopplad
Nykomling
 
Reg.datum: May 2009
Inlägg: 12
SajtSnickaren SajtSnickaren är inte uppkopplad
Nykomling
 
Reg.datum: May 2009
Inlägg: 12
Här är ett fungerande exempel --> http://www.forkortningar.se/mime_test/page/software (testa byta ut 'software'):
Kod:
RewriteEngine on
RewriteRule ^page/([^/\.]+)/?$ index.php?page=$1 [L]
Index.php innehåller:
Kod:
<html>
  <head>
   <title>Second mod_rewrite example</title>
  </head>
  <body>
   <p>
     The requested page was:
     <?php echo $_GET['page']; ?>
   </p>
  </body>
</html>
Källa: http://www.workingwith.me.uk/article...ng/mod_rewrite
SajtSnickaren är inte uppkopplad   Svara med citatSvara med citat