soory i don't know about server mod_rewrite enabled.
-
☆ A M B ☆
- 24,524 Posts
MODx generates the friendly URL from the alias. That means you have to have the alias you want, for example "about", in the "alias" field when editing the resource. You can configure MODx with a system setting to automatically create the alias from the pagetitle. Otherwise it will use the resource ID. Depending on how you configure your MODx, it may refuse to save a resource until an alias is entered into the "alias" field.
By default the media type text/html has a suffix .html appended to the alias. You can change this by editing the media type (System -> Media Types).
-
☆ A M B ☆
- 24,524 Posts
Sorry, that should be "content types".
-
☆ A M B ☆
- 24,524 Posts
Yes. I made a mistake. It is System -> Content Types.
yes i mean to say taht i am also check in System -> Content Types. there are also no any "Media Types".
-
☆ A M B ☆
- 24,524 Posts
In System -> Content Types, find the row for HTML. Double-click on the "File Extension" field (.html) and erase the .html. Save.
Now your HTML pages will have just the alias, no .html at the end.
-
☆ A M B ☆
- 24,524 Posts
If I had more details of your server configuration it would help. You say you are using Apache. Does it have mod_rewrite enabled? Is your site in its own domain, or in a subdirectory (such as domain.com/modx/)?