× Here you can get community support related to ReDJ.

Remove Part of a URL

More
10 years 3 months ago #2934 by spc
Remove Part of a URL was created by spc
Hello,

I would like to weite a global rule that remove the word "entry" in the url string.

For example:

MAKE
/more/entry/no-annual-deductible-it-s-true

INTO:
/more/no-annual-deductible-it-s-true

I need to do this due to a url structure change on the site but I want book marks to still work. How do I do this?

Thanks!

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

More
10 years 3 months ago #2941 by admin
Replied by admin on topic Remove Part of a URL
As documented here:

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

Try this rule:
From URL: ^/more/entry/
To URL: {scheme}://{siteurl}/more/{pathltrim /more/entry/}{queryfull}
Request only: true (checked)

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

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

Time to create page: 0.115 seconds