No Redirect 200 with Chrome?
-
pileo
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
10 years 2 weeks ago #3754
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
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
10 years 2 weeks ago #3755
by admin
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.
-
pileo
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
10 years 2 weeks ago #3757
by pileo
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.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
10 years 2 weeks ago #3758
by admin
Not clearto me if the problem is solved now. Is it?
Please Log in or Create an account to join the conversation.
-
pileo
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
10 years 2 weeks ago #3759
by pileo
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.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
10 years 2 weeks ago - 10 years 2 weeks ago #3760
by admin
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: 10 years 2 weeks ago by admin.
Please Log in or Create an account to join the conversation.
Time to create page: 0.201 seconds