adamou
07-05-2010, 12:27 AM
Hey there,
I am writing a rewrite condition for a website of mine; anyhow
DirectoryIndex Index.php
Order deny,allow
RewriteEngine on
#SEO
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ([^/]+)-([^/]+)-([^/]+) Index.php?id=$1&make=$2&model=$3 [L]
Is there a faster implementation of that? Essentially my URL will look like
http://mywebsite.com/v/123-somename-lastname
I will probably replace - with some other deliminator if the need be, but however; any suggestions on writing my condition much more efficient and faster?
Thank you very much.
I am writing a rewrite condition for a website of mine; anyhow
DirectoryIndex Index.php
Order deny,allow
RewriteEngine on
#SEO
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ([^/]+)-([^/]+)-([^/]+) Index.php?id=$1&make=$2&model=$3 [L]
Is there a faster implementation of that? Essentially my URL will look like
http://mywebsite.com/v/123-somename-lastname
I will probably replace - with some other deliminator if the need be, but however; any suggestions on writing my condition much more efficient and faster?
Thank you very much.