Skip to content

Use HTTP redirection from index.html to main content#7

Open
aunger wants to merge 1 commit into
WycliffeAssociates:developfrom
aunger:rba-redirect-index
Open

Use HTTP redirection from index.html to main content#7
aunger wants to merge 1 commit into
WycliffeAssociates:developfrom
aunger:rba-redirect-index

Conversation

@aunger

@aunger aunger commented Sep 2, 2020

Copy link
Copy Markdown

Use 302 HTTP redirection to load the main page in Live Reader, instead of copying its contents into index.html.

This change was part of a false start to fixing a linking error, but it turned out to be a nice option.

It's certainly just an option though.

Advantages:

  1. Jumping to anchors from the index previously required another page load, but now that page is already the active one, so the browser only needs to scroll the target into view.
  2. There are no longer two identical URLs with the main page content.

Disadvantage:

  1. When visiting the manual's top level, the URL will look uglier. Instead of ending with /index.html or /, it will end with the main page's filename (/01-wycliffe%20associates%20translation.html in the case of tM).

This change is Reviewable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant