-
☆ A M B ☆
- 427 Posts
The simplest method would be to use .htaccess to remove the extension.
I have used those products you mentioned -- and no thank you.
-
MODX Staff
- 10,725 Posts
You can remove the extensions from the content types if you would like.
-
☆ A M B ☆
- 427 Posts
I thought the last word was we couldn’t remove it. I do realize this thread is quite old and many things have changed.
When using mod_rewrite for this purpose, it’s very useful to know that putting the rewrite rules inside your apache config (httpd.conf) yields much better performance than using .htaccess files.
The apache config is read ones during startup and every rule is put into memory.
When using .htaccess files, each time the directory is accessed, the file is read and not cached / stored.
Specially large-traffic sites will benefit from this.
-
☆ A M B ☆
- 2,475 Posts
True okdan... it’d be good to include a page in the docs on optimizing Apache requests -- it’s a big topic though.
The current version wont let me change the extension to nothing or adding a new content type without an extension so I am forced to have pages ending in .html
Is there any fixes for this?
Using version 2.0.8.