I just changed servers and now two of my mod rewrite rules no longer work, but I have no idea why.
Do you have any idea why these rules wouldn't work?
RewriteRule ^u/(.*)$ /profile.php?u=$1 [QSA,L]
RewriteRule ^c/(.*)$ /company.php?c=$1 [QSA,L]
| SitePoint Sponsor |

I just changed servers and now two of my mod rewrite rules no longer work, but I have no idea why.
Do you have any idea why these rules wouldn't work?
RewriteRule ^u/(.*)$ /profile.php?u=$1 [QSA,L]
RewriteRule ^c/(.*)$ /company.php?c=$1 [QSA,L]

ue,
Have you confirmed that mod_rewrite is enabled on the new server? AllowOverrides ALL? Have a look at my signature's tutorial for all that needs to be done on a server to enable mod_rewrite.
I'd normally ask whether you're using Apache but, since IIS is emulating mod_rewrite, that should not be a problem.
Regards,
DK
David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
Client and (unpaid) WHB Ambassador
Updated mod_rewrite Tutorial Article (setup, config, test & write
mod_rewrite regex w/sample code) and Code Generator
Bookmarks