The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Redirect non-www to www using .htaccess
Hi all!
I've a doubt: I'm trying that when everyone type vidaelectronica.com (which is my wp) would be redirected to www.vidaelectronica.com I've done this with this code: Code:
RewriteEngine on RewriteCond %{HTTP_HOST} ^vidaelectronica.com$ RewriteRule ^(.*)$ "http\:\/\/www\.vidaelectronica\.com\/$1" [R=301,L] vidaelectronica.com/forum/x/xx-x-x-x-xxx.html to http://www.vidaelectronica.com/forum...x-x-x-xxx.html How can I do that? Thanks! |
#2
|
|||
|
|||
Code:
RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.vidaelectronica\.com RewriteRule (.*) http://www.vidaelectronica.com/$1 [R=301,L] |
#3
|
|||
|
|||
Thanks, but it doesn't work. Only redirects the main
I'm putting the .htaccess in the root of the domain, can be it the problem? |
#4
|
|||
|
|||
hello I would like to make a redirect??
Let me explain I have a forum with link: http://www.arcade-entre-amis.be/forum.php I bought some link OVH it works fine but I would change donq I bought a new link (domain name) OVH and that (www.chez-belge.be) I would like the link is http://www.arcade-entre-amis.be/forum.php Deriger to the www.chez-belge.be how I can do without having that problem and nothing has changed my forum?? can you help me I'm terrible in there thank you in advance to you if possible a tutorial with everything in |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|