• Home
  • Get help
  • Ask a question
Last post 2 hours 36 min ago
Posts last week 81
Average response time last week 4 hours 29 min
All time posts 67915
All time tickets 10498
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#2703 – ERR_TOO_MANY_REDIRECTS

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 14 September 2016 10:36 UTC
nicholas.dring
Hi there,

With sh404sef activated I'm getting a redirect error on our Job listings.
It occurs when I go to https://www.xxxx.it/it/lavora-con-noi/openings and then go to page two of the listing.
The url that i see there is: https://www.xxxx.it/it/careers/openings?lang=it&page=2
If I switch off sh404sef the listing works and the url is https://www.xxxx.it/it/lavora-con-noi/openings?page=2

I've looked in the sef and alias list to see if there is something that I could do but I haven't been able to fix it.
As you might remember we are using Falang, latest version 2.6.0.

You still have access to our backend if you want to have a look at things.

Nick
Wednesday, 14 September 2016 10:43 UTC
wb_weeblr
Hi

As you might remember, Falang is not supported, we only offer support the Joomla native multilingual system. In that case however, I don't think Falang is involved.

If I switch off sh404sef the listing works and the url is https://www.xxxx.it/it/lavora-con-noi/openings?page=2
As usual, this in no way means sh404SEF is causing the problem, only that it occurs when it's enabled.

In this case, I can see pagination is handled by the Job Listing extension, because it uses "page=2" in the URL, which is not compliant with Joomla API. So there is not much I can do. The thing you want to try first:


1 - add the name of this extension (ie com_xxxx) to the list of "Extensions requiring $_GET". If they don't follow Joomla API for pagination, they may not comply with it for routing either.
2 - As seen on the screenshot, also disable auto-redirect from non-sef to sef, if enabled. and maybe as well the other redirects (301 redirect www/non-www and 301 redirect url to correct case)

Rgds
 
Wednesday, 14 September 2016 10:47 UTC
wb_weeblr
Hi

As a side note, I noticed that it's actually the pagination URLs that are wrong. They are similar to:

/it/openings?page=2

instead of:

/it/lavora-con-noi/openings?page=2

Did you manually customize this URL? anything special here?

Rgds
 
Monday, 19 September 2016 11:08 UTC
nicholas.dring
HI, I tried your suggestion but that didn't work.
Yes the URL's are wrong, but if sh404 is switched off the url is: https://www.xxxx.it/it/lavora-con-noi/openings?page=2 and it works fine.
Monday, 19 September 2016 11:28 UTC
wb_weeblr
Hi

but if sh404 is switched off the url is: https://www.xxxx.it/it/lavora-con-noi/openings?page=2 and it works fine.
Yes, but that in absolutely NO way means that sh404SEF is causing the issue here.

xxx/?page=2 is a totally non-standard, non Joomla API compliant way to provide pagination. sh404SEF can only work with Joomla api-compliant extensions (in the case of pagination it means using limitstart and limit in the non-sef URLs.

As a last effort, can you tell me what are the non-sef URLs for
/it/openings

and

/it/lavora-con-noi/openings

If there is nothing special here, you will have to move this extension to "Use Joomla router" under the "by components" tab of configuration. In doing that, none of the features of sh404SEF will be available for it, but I think it should restore operation.

Rgds
 
Monday, 19 September 2016 12:05 UTC
nicholas.dring
Hi, I set the component to use Joomla and that seems to do the trick, in the meantime we'll modify the component to be Joomla complaint and then we'll pick it up again.
Thanks
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.