Redirection
-
indeepblue
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
7 years 9 months ago #5961
by admin
Something like this:
From URL: ^/category-[^/]+/
To URL: {scheme}://{siteurl}/category/{preg_match 1}/\/category-[^/]+\/(.*)$/{preg_match}
Request only: true (checked)
Kind regards
The following user(s) said Thank You: indeepblue
Please Log in or Create an account to join the conversation.
-
indeepblue
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
-
indeepblue
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
7 years 9 months ago #5967
by indeepblue
And i need to mention that i have many links like that, how can i do that without causing a loop
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
7 years 9 months ago #5972
by admin
Change the following rule according to your real paths:
From URL: /123-xyz\.html$
To URL: {scheme}://{siteurl}/realcategory/123-xyz.html
Request only:true (checked)
Skip: /realcategory/123-xyz\.html$
The last row is mandatory to avoid loops.
Please Log in or Create an account to join the conversation.
Time to create page: 0.156 seconds