how can i redirect mydomain.co.il to www.mydoamin.co.il ?

Use .htaccess there are guides on the internet how to do htaccess redirects.
 
is there a way do it at the directadmin panel ?

is there a way do it at the directadmin panel ? in the Advanced Features ?
 
What is Advanced Features? You might need to write (or buy) a plugin if you want to do it in Directadmin at Admin/Reseller/User level, or update you apache's templates if you want the same scenario for all of your domains.
 
why you want to do this by directadmin
this will be more easily done by domain panel by just adding a cname record
 
sorry for that
not CNAME but A record do the same
in domain panel under dns managment
just add a A record mydomain.com point to destination ip of you website
their is already one record www.mydomain.com which is pointing to your website ip

please correct if i m wrong
 
If a domain is added into directadmin cp, it's already there done so: both A records with www and without www point to one IP. The question is more SEO based, I guess, to avoid doubled content.
 
Something tells me this doesn't have anything to to with SEO. In fact using a redirect is bad for SEO. I don't think the OP is giving us the whole story. Either way, he's been given some answers that should get him on his way to what he wants.
 
with www or without

yes,it's fro SEO. i need that google will see one site. only the www.mydomain.com
and the link mydomain.com will redirect to www.mydomain.co.il
if i will not do that, google will see 2 sites with the same content and it's bad for seo.
what do i need to do so everyone who write mydomain.com without www will go to www.mydomain.com
you can see that effect at the domain
www.alljobs.co.il
and
alljobs.co.il
they both change to
www.alljobs.co.il
look at the http address field.
 
Back
Top