I keep seeing the ^ character in RewriteRule statements in a context that doesn't fit with the usage specified here.
For example: RewriteRule ^(.*)$ $1.php [L,QSA]
What does it signify?
|
I keep seeing the For example: What does it signify? |
|||
|
|
It means "this matches the start of the string". So in your example the rule does the rewrite if there's
In other words, this whole expression matches any string. |
|||||||
|
|