Difference between ^(.*)$ and ^ in regular Expressions (.htaccess)
snippet in htaccess

Difference between ^(.*)$ and ^ in regular Expressions (.htaccess)

user3552

^      - means match line start (will always match)
^(.*)$ - means match whole URI with 0 or more characters and capture it in $1