Understanding htaccess URL rewrite, possible?

If I have a rewrite in .htaccess like:

RewriteRule ^monkey$ /_rewrites/monkey.php [L,NC]

Then in php/html have:

<a href="/monkey">Monkey!</a>

Is it possible, somehow, to make PHPStorm aware that /monkey is actually /_rewrites/monkey.php so that it doesn't highlight it as a broken link and double clicking opens the php file?

Thanks :)

Please sign in to leave a comment.