Remove sub directory
-
jake7
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 1
-
Thank you received: 0
-
-
7 years 5 months ago #6144
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.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
7 years 5 months ago #6147
by admin
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.145 seconds