× Here you can get community support related to ReDJ.

Remove sub directory

More
6 years 11 months ago #6144 by jake7
Remove sub directory was created by jake7
I need to redirect the url from:
blog/27-blog/anyitem

To:
blog/anyitem

So basically I need to remove '27-blog' from the url while being able to keep the last part of the url the same.

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

More
6 years 10 months ago #6147 by admin
Replied by admin on topic Remove sub directory
Try this rule:
From URL: ^/blog/27-blog/
To URL: {scheme}://{siteurl}/blog/{pathltrim /blog/27-blog/}{queryfull}
Request only: true (checked)

Kind regards,
Luigi

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

Time to create page: 0.098 seconds