• Home
  • Get help
  • Ask a question
Last post 25 min ago
Posts last week 81
Average response time last week 44 min
All time posts 70349
All time tickets 10858
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.

#10012 – Case insensitive redirect

Posted in ‘4SEO’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 07 June 2023 07:56 UTC
iusab

I would like to have domain.com/XY23 to redirect to domain.com/long-url-x-and-z but users might as well write /xY23 or /Xy23 or /xy23

Is there an easy way to make the redirect case insensitive besides writing all four variations? Because i also have longer redirects with same issue.

I also use 4SEF and have the "convert to lowercase" enabled in both but doesn't help.

Wednesday, 07 June 2023 10:03 UTC
wb_weeblr

Hi,

That's not possible at the moment but it's indeed a good option to have so I'll add that in a future version, assuming there's no significant impact on performance.

I also use 4SEF and have the "convert to lowercase" enabled in both but doesn't help.

That's not related to what you want to do, 4SEF creates the URLs on your site, it does not do redirects of course, and has no impact on what URL typed in by a user can be.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Wednesday, 07 June 2023 10:12 UTC
iusab

Looking forward to that update!

Is there a way to use Regex expression or /i modifier?

Or is it better to just write a list with the four variations?

Wednesday, 07 June 2023 10:33 UTC
wb_weeblr

Hi

You can use RegExp here, but from recollection we don't take modifiers into account, need to check.

So if you have only have a handful of variations, creating variations is fine.

Note that you do not have to create multiple rules, you can do:

 

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Wednesday, 07 June 2023 11:14 UTC
iusab

Thanks. Thats how I solved it so far (writing 4 URLs in one rule).

Hope that the update will be available soon :-)

Wednesday, 07 June 2023 15:25 UTC
wb_weeblr

Hi

I have added that option to the current development version (get it from the development versions download area ). Just install over and create or update your existing url to enable "Disregard case".

Please test extensively, not only if that option works as expected but also that other rules are not broken.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Friday, 09 June 2023 13:18 UTC
iusab

Working fine with

/xy23
/XY23
/Xy23
/xY23

I do not use other type of redirect so can not verify or report any issues.

Thanks!

Friday, 09 June 2023 13:33 UTC
wb_weeblr

Hi

OK, fair enough. This will be in next official release but you can keep using the one you have without issue.

Closing this ticket now, feel free to open a new one as needed. If you do so, please mention this ticket number in the new one.

-- 

4AI is the new AI-powered assistant for Joomla 3&4. Discover it now!

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 

 
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.