× Here you can get community support related to ReDJ.

redirect to change part of url

  • dimitrison
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 9 months ago #3545 by dimitrison
redirect to change part of url was created by dimitrison
Hello,

I have links of the form

http://domain/category/subcategory/article

I want to redirect based on the 'category' section to

http://domain/category2/subcategory/article

so that ALL subcategories and ALL articles under the category in question (former: category, currently: category2) are redirected.

Is this possible?

Thanks

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

More
9 years 9 months ago - 9 years 9 months ago #3547 by admin
Replied by admin on topic redirect to change part of url
Yes,
create a rule as follow:
From URL: ^/category/
To URL: {scheme}://{siteurl}/category2/{pathltrim /category/}{queryfull}
Request only: true (checked)

www.selfget.com/documentation/redj-joomla25/examples-and-solutions-to-common-problems.html

Kind regards
Last edit: 9 years 9 months ago by admin.

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

  • dimitrison
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 9 months ago #3560 by dimitrison
Replied by dimitrison on topic redirect to change part of url
Thanks for your timely reply once again. I managed to sort the issue based on your help and after a bit of tinkering on my side.

Thanks again

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

More
9 years 9 months ago #3562 by admin
Replied by admin on topic redirect to change part of url
U're welcome.

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

Time to create page: 0.090 seconds