2
votes
1answer
47 views

Force url to use www [duplicate]

I'm confused about how to force my url to use www in the address. I have a .htaccess code like this: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f ...
2
votes
1answer
3k views

301 Redirect from www to non-www without using VHOST

I have my web application running on EC2 with Apache. I want to redirect www to non-www. On searching Google, I used this but it leads to redirect loop: <VirtualHost *:80> ServerName ...
0
votes
3answers
182 views

Subdomain Is Redirected and Causing an Error Because www. is Added

On my site, say example.com, if I try to access test.example.com, Firefox automatically adds www. to test.example.com, making it www.test.example.com, which causes an error. However, if I visit a site ...
7
votes
2answers
2k views

Why does my site only work with a www in the URL?

I'm a bit confused as the following points: There is a simple text website, with no javascript, that works only with the prefix. http://www.mysite.corporation.com works but ...
0
votes
2answers
417 views

domain.com to www.domain.com .htaccess redirect working except one subdir

I've setup a redirect in .htaccess to consolidate domain.com to www.domain.com traffic on our Apache server. Looks like this: Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ...
1
vote
2answers
109 views

SSL Certification on both www and no-www domains

We've got our website running and HTTPS / SSL works just great. EXCEPT: when users enter http://www.mydomain.com and then enter the secure area and get directed to https://www.mydomain.com it works ...