1 laibcoms Aug 30, 2006 18:01
3 laibcoms Sep 17, 2006 09:33
Update to the permanent redirect .htaccess code
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^([a-z0-9-]+\.)?gameshogun\.info$ [NC,OR]
RewriteCond %{HTTP_HOST} ^([a-z0-9-]+\.)?gameshogun\.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^([a-z0-9-]+\.)?gameshogun\.net$ [NC,OR]
RewriteCond %{HTTP_HOST} ^([a-z0-9-]+\.)?gameshogun\.org$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www\.gameshogun\.ws$ [NC]
RewriteRule ^(.*) http://gameshogun.ws/$1 [R=301,L]
If someone needs it ;)
4 pppplus Nov 03, 2006 09:41
Hello,
I try to do the same, but I have always an error page, from my internet provider.
Actually, I just make this type of change :
http://myhost.net/login instead of http://myhost.net/myfolder/login/
But I would like this http://login.myhost.net/
I try a lot of solution but without result.
Thanks for your help..
My .htaccess file is actually like that (and it woks like it !)
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)(/(.*))?$ /free/$1/index.php/$3
(free is my folder)
I try this :
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^([a-z0-9-]+\.)?myhost\.net$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www\.myhost\.net$ [NC]
RewriteRule ^(.*) http://dreamblog.net/free/$1 [R=301,L]
With http://myhost.net I have an error page with adress : http://myhost.net/free/free/free/free/free ...
With http://login.myhost.net/ I have an error page from my provider.
Thanks for your help
I was looking for this exact same thing. My blog is getting a new home (hopefully). Hopefully someone knows this.