× Here you can get community support related to ReDJ.

No Redirect 200 with Chrome?

More
9 years 1 month ago #3754 by pileo
No Redirect 200 with Chrome? was created by pileo
Hello,

I installed ReDJ and created some 200 Redirects. They work with Safari, Firefox and IE but not with Chrome.
Why? Can you help me to find the problem?

Thanks!
Leo
Attachments:

Please Log in or Create an account to join the conversation.

More
9 years 4 weeks ago #3755 by admin
Replied by admin on topic No Redirect 200 with Chrome?
Hi,
I am not able to read the URL from the screenshot, so you should post a text version here. By the way, the 200 internal redirect happens on the server side, so the server returns a different page. There's no way for the web browser to change this, and this is true also for Chrome. Be sure you clean browser cache and retry.

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

More
9 years 4 weeks ago #3757 by pileo
Replied by pileo on topic No Redirect 200 with Chrome?
Ok, checked it once again and found the problem: /index.php/ was missing in the link after the update... strange.

Please Log in or Create an account to join the conversation.

More
9 years 4 weeks ago #3758 by admin
Replied by admin on topic No Redirect 200 with Chrome?
Not clearto me if the problem is solved now. Is it?

Please Log in or Create an account to join the conversation.

More
9 years 4 weeks ago #3759 by pileo
Replied by pileo on topic No Redirect 200 with Chrome?
I think it is. But the problem is another:

the redirect worked only with www.
With chrome I visited my website without the www. and so the redirect was not working!

Please Log in or Create an account to join the conversation.

More
9 years 4 weeks ago - 9 years 4 weeks ago #3760 by admin
Replied by admin on topic No Redirect 200 with Chrome?
The first solution (I would suggest you) is to decide if your site needs www or not, and once decided to add a single global rule (possible in the .htaccess file) to redirect any www to non-www or viceversa. This is best for SEO, and you can test how it works on this site too (I decided to have a mandatory www on this site).

Another solution could be to adapt your rule to match both www and non-www versions of the page. Something like:
http://(www\.)?yoursite\.com/mypage\.html

Remember the From URL is a regular expression so you need to escape any special char like dot or question mark.
Last edit: 9 years 4 weeks ago by admin.

Please Log in or Create an account to join the conversation.

Time to create page: 0.154 seconds