At the moment my htaccess does as follows:-
URL/$username – will redirect to check_user.php?username=$1
This is fine but I would also like
URL/$username/company to redirect to check_user_comp.php?username=$1
At the moment the existing code is below:
RewriteEngine on
RewriteOptions MaxRedirects=1
RewriteCond %{REQUEST_FILENAME} -f [NC,OR]
RewriteCond %{REQUEST_FILENAME} -d [NC]
RewriteRule .* – [L]
RewriteRule ^(.*)$ /check_user.php?username=$1 [QSA,L]
I have more projects to post later – please bid if you can complete today – also would appreciate a small email about yourselves and what you can do so that you may be considered for future projects