• Home
  • Get help
  • Ask a question

Reduced schedule during conference and annual break

We'll be operating with a reduced schedule from tomorrow and the next few weeks, as follows:

We'll be travelling and attending JoomlaDay USA from Tuesday April 22 to Friday April 25. Support will have extended response time during this period. From April 25 evening to Tuesday May 12 included, support will be closed for our annual break.

Don't forget to look up the documentation, including the videos, your answer may already be there! Likewise, be sure to check the Development versions area, in case your problem may already have been solved.

In case of emergency (ie your site is down with a fatal error directly linked to one of our extensions), please contact us by email (see contact icon at the bottom of all pages of this site)

#8948 – More targeted redirects, what's possible?

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.
Saturday, 06 August 2022 14:12 UTC
christianrieger

Hi!

I created some general redirects which work fine. But now I'm trying to find more targeted redirects with as few redirect rules as possible.

Example:

old url:

/loesungen-abitur/mathematik-abitur-bayern-2021/pruefungsteil-a/analysis-1/teilaufgabe-1.html

new url:

/abiturloesungen-mathematik-bayern/mathematik-abitur-bayern-2021/pruefungsteil-a/analysis-1/teilaufgabe-1.html

The first part of the url has permanently changed. other parts of the url can take different values, which I can better explain with the attached screenshot.

Is it possible to have only one redirect (or a few redirects) for all those similar biult urls? And if yes with which expressions can I work.

Best regards,

Christian 

 

 
Monday, 08 August 2022 07:02 UTC
wb_weeblr

Hi

In your example, and assuming only the first segment has changed, you would do:

From: /loesungen-abitur/{*}

To: /abiturloesungen-mathematik-bayern/{*}

to redirect any such group of URLs with just one rule.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 

 
Monday, 08 August 2022 12:23 UTC
christianrieger

Hi

That's great. I didn't think it would be so easy to redirect hundreds of items directly.

Until now I only had this redirect:

/loesungen-abitur/*

/abiturloesungen-mathematik-bayern/

Thank you very much!

Best regards,

Christian

 
Monday, 08 August 2022 13:06 UTC
wb_weeblr

Hi

Yes, that's kind of the main goal: create redirects for many pages in one go, without having to learn regular expressions in your .htaccess (you CAN use regular expressions if you so desire).

/loesungen-abitur/*

Note that the syntax uses {*} and not *. Just * will have no effect - unless you want to redirect the URL /loesungen-abitur/* which is a perfectly valild URL.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Thursday, 08 September 2022 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
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.