-
- 6 Posts
Hello all,
this is my first post on this forum. I couldn’t find an answer anywhere else (maybe I just didn’t look well enough...) so I’ll try it this way.
I was looking for an easy way to get friendly URL’s on IIS, but not the standard ones like ’page2.html’.
I found that the use of ISAPIRewrite and a slight modification of the DocumentParser class (11 new lines of code) would allow me to have URL’s like www.mydomain.com/Welcome_to_my_website, where "Welcome to my website" is the title of the page in question.
Of course it’s not advisable to modify this class in the light of future updates, so I was wondering if there’s another way to incorporate my code into ModX. Also, if I’ve just re-invented the wheel, I’d appreciate it if someone could show me the original wheel...
Peter
-
- 218 Posts
Afaik you can do this by simply not entering a suffix in the MODx sef configuration settings, and make a little change to the ISAPI rewrite rule you use.
Olaf
-
- 6 Posts
Hoi Olaf, Peter hier!
I don’t think that does the same, really. I see no reference to the pagetitle in regards to the URL in the DocumentParser class.