This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Install & configuration » redirect not work.
expandshrink

redirect not work.

redirect not work.

Monday 10 June 2013 10:19:32 am - 5 replies

Hello, I begin to use eZ and I have a problem!!

I write htacces for redirect .fr to .com, it not path page name to new URL??? it okay, can goto .com but, it goto index.php only!!!

I don't know "What pappen??"
RewriteCond %{HTTP_HOST} ^www\.myweb\.fr$
RewriteRule ^(.*)$ http://www.myweb.com/$1 [L,R=301]

Help me please!!

Monday 10 June 2013 11:02:55 am

Hi Jukkapun, and welcome to the eZ Community!

Your rules look fine, do you get errors when restarting Apache? Or in Apache's error log, upon redirection?

Cheers,

Monday 10 June 2013 11:06:30 am

Alright! I will check now.

thank you very much, I'm rookie.

Monday 10 June 2013 11:11:37 am

Again please, i don't see error from Apache!!!

How to check??

Thanks.

Monday 10 June 2013 1:22:34 pm

Ok. You can also test externally how the redirection is performed, by using curl from command line:

curl -I http://www.myweb.fr

Check the value of the "Location" header in the output.

Cheers,

Tuesday 11 June 2013 10:28:55 am

Thank you. ^ ^

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from