Is it possible to have php set up my
Instead of having to manually input different ones into the .htaccess file i would rather able to sent it one from my php file, perhaps making a function so i could tell it were having the "page/date/process" instead of just the "page/date".
HTML:
## PHP REWRITES ##
RewriteEngine On
RewriteBase /
RewriteRule ^([a-zA-Z0-9_-]+)$ html/index.php?page=$1
RewriteRule ^([a-zA-Z0-9_-]+)/$ html/index.php?page=$1
RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)$ html/index.php?page=$1&process=$2
RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/$ html/index.php?page=$1&process=$2