CBG
04-26-2011, 11:13 AM
Hi,
I have the below rewrite rule
RewriteRule ^([a-zA-Z0-9_-]+)$ profile.php?username=$1
When I go to: http://www.mydomain.co/ABC
It works fine
When I go to: https://www.mydomain.co/ABC
It redirects to: http://www.mydomain.co/ABC?username=ABC
I am not wanting ?username=ABC when being redirected for HTTPS
I am wanting to make access to this via HTTP only.
I have tried to add ? in places to strip but that didn't work and broke it
Any help please
I have the below rewrite rule
RewriteRule ^([a-zA-Z0-9_-]+)$ profile.php?username=$1
When I go to: http://www.mydomain.co/ABC
It works fine
When I go to: https://www.mydomain.co/ABC
It redirects to: http://www.mydomain.co/ABC?username=ABC
I am not wanting ?username=ABC when being redirected for HTTPS
I am wanting to make access to this via HTTP only.
I have tried to add ? in places to strip but that didn't work and broke it
Any help please