RewriteRule ^([\d]{2}).html$ index.php?n=$1 RewriteRule ^(.+)\.html$ index.php?n=$1 [QSA,L] PHP: what is the difference between these 2 lines of code. thanks
These are from .htaccess file? I think that first line catches strings containing only digits (\d) of 2 characters length ( {2} ). For example: 00.html, 53.html, 99.html. The second line catches all strings.
sorry yes they are, i think i may have posted in the wrong forum now that i think of it. im wondering is there a string i could use for letters and numbers. i have links on my page that just contain 2 numbers.html and then there are links that contain letters and maybe a number at the end. seems as if i cannot use these 2 strings together in my htaccess file , do you know what string i can use ? thank you