Tagged Questions
2
votes
1answer
27 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
2answers
28 views
Need to remove www for only one sub directory from a domain
I have a domain like www.example.com. I need to remove www. from specified sub folder by using a .htaccess file.
Example :
www.example.com/blog should redirect to example.com
All other sub ...
1
vote
1answer
136 views
edited and reversed changes on .htaccess - site starts redirecting to .comindex.php/
Site is a Joomla 2.5 site. I wanted to add a non www to www redirect to the htaccess file, did so, then the redirection went mad, reversed but still the site redirects.
When i click view site in ...
0
votes
1answer
1k views
.htaccess non-www to www rule seems to work but the URL isn't changing in the address bar
On a joomla site, apache, shared hosting, I'm using next .htaccess rule:
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
The problem is that the browser's ...
0
votes
3answers
135 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 ...
0
votes
2answers
358 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} ...
14
votes
4answers
444 views
Removing non-www support
I'm not an advocate of the no-www movement. I like the www because it adds as a buffer to distinguish between our public and private/static sites.
The problem is that with one of our sites, our ...