RM 1.1 Change word in URL

It can be done with a route filter, but you need to match the entire URL (something like resources/{name}/reviews).
Turns out I spoke too soon.. I used :

resources/{name}/reviews to resources/{name}/word

Let's say I typed in the URL - http://domain.com/resources/blah-blah-blah.14/word (It brings up an error message on the forum). Is that how it works or am I doing something wrong?


Edited: I found out what I did wrong. I also changed "resources" but in the new URL field I kept "resources".

What about changing the word "review" in this URL after doing all the above - http://domain.com/resources/blah-blah-blah.14/word#review-10-2646
 
Last edited:
If the reviews tab doesn't have your new URL, then a mistake was made somewhere. I just tried this locally and it worked correctly for me.
 
If the reviews tab doesn't have your new URL, then a mistake was made somewhere. I just tried this locally and it worked correctly for me.
Yeah, I made an error but I edited the post (I used the route filter to change "resources" as well and I didn't use the new word for "resources" when I was trying to make it work). I should have posted again so that you would have seen an alert instead of editing my post, to save you time, sorry about that >.<

There's one last thing. This is an example URL that links to a review after doing all of the above - http://domain.com/resources/blah-blah-blah.14/word#review-10-2646

^ Is it possible to change "review" in this URL? I tried using http://domain.com/resources/blah-blah-blah.14/word#word-10-2646 as a replacement but nothing happened..

Thanks again for your time.
 
Back
Top Bottom