I have a pretty standard htaccess file (Think it’s the one from here) on my site, but I have a special set of forms I want to rewrite and having problems:-
RewriteEngine On
RewriteCond $1 !^(index\.php|\/index\.php|assets|site-cms|favicon\.ico|cgi-bin)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
AddType text/x-component .htc
Header set Access-Control-Allow-Origin "*"So I have a template group “contact” but I want to prename this so the url is \business\contact… \wedding\contact but all go to the same form
I thought something like RewriteRule /business/contact/conferences /index.php/contact/conferences [R] would work but no go.. any .htaccess experts help me out?