Page is a not externally linkable
ccDan - 5:13 pm on Jun 25, 2008 (gmt 0)
http://www.example.com/index.php?name=Firstname.Lastname The "easy" URL I want is: http://www.example.com/Firstname.Lastname Here is what I've tried: Options +FollowSymLinks RewriteRule ^/([a-z]+)\.([a-z]+)$ http://www.example.com/index.php?name=$1.$2 [NC] RewriteRule ^/([a-z]+)\.([a-z]+)$ /index.php?name=$1.$2 [NC] None of these have worked. Is it not possible to use the . as a separator? I've seen other sites doing it, but maybe they're not doing it with htaccess. [edited by: jdMorgan at 5:41 pm (utc) on June 25, 2008]
I'm trying to create a more manageable URL for people. The dynamic URL would be in the form of:
RewriteEngine On
RewriteRule ^/(.*)\.(.*)$ http://www.example.com/index.php?name=$1.$2 [NC]
RewriteRule ^/([^/]+)\.([^/]+)$ http://www.example.com/index.php?name=$1.$2 [NC]
RewriteRule ^/(.*)\.(.*)$ /index.php?name=$1.$2 [NC]
RewriteRule ^/([^/]+)\.([^/]+)$ /index.php?name=$1.$2 [NC]
[edit reason] example.com [/edit]