× Here you can get community support related to ReDJ.

redirect categorie/article to categorie/subcategor

  • Werner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 5 months ago #4424 by Werner
How to make it work:

Redirect from categorie/article to categorie/subcategorie/article

Have tried a lot but first nothing happens or I get a loop :unsure:

( From : ^/bio-oleje/
TO: {scheme}://{siteurl}/bio-oleje/nesmisene-odrudy/{queryfull} )

Jommla 3.4 ReDj Community 1.7.8

Thank you

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

More
8 years 5 months ago #4427 by admin
The problem with your rule (reason for the loop) is the ^/bio-oleje/ matches both categorie/article and categorie/subcategorie/article. You need to identify an unique pattern to match (or unique pattern to exclude using the skip feature).

My proposal.
Because the categorie/subcategorie/article has two slashes, while categorie/article only one, we can skip categorie/subcategorie/article thanks to the second slash.
From URL: ^/bio-oleje/
To URL: {scheme}://{siteurl}/bio-oleje/nesmisene-odrudy/{queryfull}
Skip: /bio-oleje/nesmisene-odrudy/
Request only: true (checked)

Kind regards,
Luigi
The following user(s) said Thank You: Werner

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

Time to create page: 0.071 seconds