What are the potential pitfalls of using mod_rewrite in PHP applications?

One potential pitfall of using mod_rewrite in PHP applications is that it can lead to complex and hard-to-maintain rewrite rules. To solve this issue, it's recommended to keep the rewrite rules simple and well-documented to avoid confusion and errors.

RewriteEngine On
RewriteRule ^article/([0-9]+)$ article.php?id=$1 [L]