Page 1 of 1
how can i redirect the url of homepage?help me!
Posted: Mon Jul 20, 2009 5:27 pm
by yuwenlong126
hi,
I want to redirect (301) this URL:
http://www.mydomain.com/index.php?route=common/home
TO :
http://www.mydomain.com/
how could i write the .htaccess file?
PLS tell me, thank you very much!
Re: how can i redirect the url of homepage?help me!
Posted: Mon Jul 20, 2009 5:39 pm
by yuwenlong126
Redirect permanent /index.php?route=common/home
http://www.mydomain.com/
is it right?
Re: how can i redirect the url of homepage?help me!
Posted: Thu Jul 23, 2009 4:29 pm
by yuwenlong126
any one can help me ?
Re: how can i redirect the url of homepage?help me!
Posted: Thu Jul 23, 2009 6:46 pm
by readyman
I don't understand what you want this redirect for?

Doesn't your domain name go to the home page already? If so, you might end up creating an infinite loop. ie You'll be redirecting to the same place.
In cpanel you can create a redirect by adding the url - it will add the htaccess for you.
Re: how can i redirect the url of homepage?help me!
Posted: Thu Jul 23, 2009 7:24 pm
by Qphoria
i think he wants to mask it.
You can google htaccess mask domain
Re: how can i redirect the url of homepage?help me!
Posted: Sat Jul 25, 2009 9:46 am
by yuwenlong126
readyman wrote:I don't understand what you want this redirect for?

Doesn't your domain name go to the home page already? If so, you might end up creating an infinite loop. ie You'll be redirecting to the same place.
In cpanel you can create a redirect by adding the url - it will add the htaccess for you.
thanks for your reply,
i just think ,this URL become to be more friendly to search engins,
you know one site have its unique homepage URL ,that is good for SEO