Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1066

Append "/index.html" to homepage url (it's empty otherwise), when non-default theme/language is used

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.3
    • Fix Version/s: 5.2.0-RC1
    • Component/s: Front End
    • Labels:
      None
    • Additional information:
      Hide

      Here are semantics behind each of these urls:

      Main goal is to let user (or crawler) know what actual page he/it will get based on the url.

      Show
      Here are semantics behind each of these urls: bad: http://www.website.tld/sub-folder/another_theme.html - show me "another_theme.html" document content good: http://www.website.tld/sub-folder/another_theme/index.html - show me "index.html" document of inside "another_theme" folder (which is theme, but this folder meaning is irrelevant in this example) bad: http://www.website.tld/sub-folder/another_language.html - show me "another_language.html" document content good: http://www.website.tld/sub-folder/another_language/index.html - show me "index.html" document of inside "another_language" folder (which is language, but this folder meaning is irrelevant in this example) Main goal is to let user (or crawler) know what actual page he/it will get based on the url.
    • Change Log Message:
      Fixes missing "index.html" in links into non-primary theme/language
    • Story Points:
      1
    • External issue ID:
      1299
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      In #0001075 (5.1.3) we've made, that homepage url doesn't include "/index.html" at the end.

      This might seem good decision when website have only 1 theme or language.

      But in case if website can have multiple themes/languages, then following links are created now:

      Since we're trying to replicate actual folders on disk with these mod-rewrite urls, then removing /index.html from urls in different language/theme really breaks this concept.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: