|
SEO Optimzation - Dynamic Pages coverting to static using .htaccess
Here is my .htaccess :
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^category/([0-9][0-9])$ http://www.domain-name.com/index.php?sbcat_id=$1 [R]
RewriteRule ^category/([0-9][0-9])/$ http://www.domain-name.com/index.php?sbcat_id=$1
RewriteRule ^joke/([0-9][0-9][0-9])$ http://www.domain-name.com/index.php?sbjoke_id=$1 [R]
RewriteRule ^joke/([0-9][0-9][0-9])/$ http://www.domain-name.com/index.php?sbjoke_id=$1
This works perfectly fine - however when I change it to :
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^category/([0-9][0-9])$ http://www.domain-name.com/index.php?sbcat_id=$1 [R]
RewriteRule ^category/([0-9][0-9])/$ http://www.domain-name.com/index.php?sbcat_id=$1
RewriteRule ^joke/([0-9][0-9][0-9][0-9])$ http://www.domain-name.com/index.php?sbjoke_id=$1 [R]
RewriteRule ^joke/([0-9][0-9][0-9][0-9])/$ http://www.domain-name.com/index.php?sbjoke_id=$1
I run into problems ...
I am assuming I can't use [0-10000] etc, al ...
Since I am only running into a problem when adding the 4th digit there has to be a 'programming' reason why, any programmers here have any idea ?
|