1
Welcome, Guest. Please login or register.
November 22, 2008, 05:49:38 AM
Home Help Search Login Register
News: iJoomla SideBars for Joomla 1.5 is here!

+  iJoomla Forum
|-+  General
| |-+  General iJoomla Discussions
| | |-+  redirect www.mydomain.com in domain.com with htacces
« previous next »
Pages: [1] Print
Author Topic: redirect www.mydomain.com in domain.com with htacces  (Read 150 times)
artnco
customers
Newbie
*
Posts: 8


View Profile Email
« on: October 06, 2008, 12:30:18 AM »

hello on your site i have see this code :

## Can be commented out if causes errors.
Options FollowSymLinks

# mod_rewrite in use

RewriteEngine On
RewriteCond %{HTTP_HOST} ^MyDomain\.com$ [NC]
RewriteRule ^(.*)$ http://www.MyDomain.com/$1 [R=301,L]

RewriteCond %{HTTP_HOST} !^.*MyDomain\.com [NC]
RewriteRule (.*) http://www.MyDomain.com/$1 [R=301,L]

but it is to do mydomain.com = www.mydomain.com in fact i would like for my site www.mydomain.com = mydomain.com

thanks for your help and great component ijoomla Smiley
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Theme Globe by Eponnox