Can I write ‘RewriteCond’ using ‘functions.php’?

use this https://wordpress.org/plugins/wp-htaccess-editor/, if you are not willing to use any plugin, understand the code and implement in functions.php or your own custom plugin.
cheers.

Leave a Comment