Quote from: stratboy at Jun 15, 2011, 03:25 PM
@OpenGeek: thank you, interesting. But I can’t fully undestand what you’re saying since I never used FURLs before. The .html should anyway be visible in modx as some kind of resource (maybe as static resources or weblinks)? In what way should I implement FURLS then? (yes, I already read http://rtfm.modx.com/display/revolution20/Using+Friendly+URLs but didn’t understand too much)
Thank you
Let me try to explain that:
With FURLs you turn urls from say
hxxp://www.mydomain.com/?id=23 to
hxxp://www.mydomain.com/about.html. Basicly this is done by sending the
about.html-part to modx and modx figures out its id, say 23, and sends resource 23 to the browser. It important to know that there is no file under
about.html. Its all done with the index.php of modx and some .htaccess magic.
Now image you create that file named
about.html. Then that file is used and no modx will be called. The server just sends the static html-file you just created.
You can use that behavior to easily accomplish what you described in your opening post. Just create your website with static files. Then modx handles only the calls to - say -
hxxp://www.mydomain.com/news.html and all calls below
hxxp://www.mydomain.com/products/. You just have to make shure that there is no news.html and that there is no products-directory.