I have this CMS with bad URLs that I want to fix. Here's what I have:
- Code: Select all
http://host/?p=index&id=234&extraparam=123&anotherparam=234
I want to reformat it like: (simply enclose the page name in slashes)
- Code: Select all
http://host/index/id=234&extraparam=123&anotherparam=234 (and any extra parameters will be appended to the URL string).
I just want the "page" parameter to be enclosed with slashes. But one thing that keeps me from successfully get this working is I have folders too:
http://host/folder1/ is a derived sub application of the root one, that means it can have the same parameters:
- Code: Select all
http://host/folder1/?p=index&id=234&extraparam=123&anotherparam=234.
So with the URL rule, it would like to make it look like: http://host/folder1/index/id=234&extrap ... rparam=234 like described above for any sub folders, not just "folder1".