Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-913

Short URLs should be configured by default

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 1.0 B4
    • URLs
    • None
    • simpler urls
    • Low

    Description

      Vincent, on the xwiki-dev mailing list:

      Some user (Jerome Lacoste) has commented to me that XWiki URLs are a
      bit too complex and should be simplified and cleaned as much as
      possible. I agree with him.

      Take for example: http://www.xwiki.org/xwiki/bin/view/Main/WebHome

      Wouldn't it be nice is this was simplified to http://www.xwiki.org/Main/WebHome ?

      This would mean view is the action by default.

      Reply:

      So, to summarize:

      • /xwiki/ should be there in the default package, but we need to document how it can be removed if needed/wanted.
      • /bin/ can be removed
      • /view/ can be removed
      • /edit/inline/viewrev/download ... can be replaced with something else, but I think they should stay there
      • /files/ should be added for serving files on the local file system
      • The code generating URLs should be modified.

      Also, the default page ( www.somewiki.com/ ) should not redirect to /Main/WebHome, but to include the rendered content in the page.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sdumitriu Sergiu Dumitriu
            Votes:
            15 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: