delphidabbler / delphidabbler.github.io

Main DelphiDabbler website

Home Page:https://delphidabbler.com

Repository from Github https://github.comdelphidabbler/delphidabbler.github.ioRepository from Github https://github.comdelphidabbler/delphidabbler.github.io

Some unexpected 404 errors

delphidabbler opened this issue · comments

Something seems to have changed on production server so it is not honouring MultiViews+ option. Many URLs in form /resource are not being rewritten to /resource.html as before.

Recent changes to add canonical URLs without .html extension may make this worse.

It's not proving possible to log in to the production site's host to open a support ticket. In fact it looks like the host may have been abandoned.

FTP access is still available, so some changes have been made to fix the known 404 errors.

Additionally a flash message has been placed on each page informing of the problems and pointing users to delphidabbler.github.io.

404 pages have been updated to suggest entering .html extension manually.

Longer term it would appear necessary o change delphidabbler.com to point to the GitHub pages site.

NOTE: Changes pushed to the production server were made in a special server-problems-workaround branch that has not been, and will not be, merged to master to prevent the GitHub Pages version of the site from displaying the warning messages that the production server is displaying.

Started work on moving from Creo Hosting (which is still looking rather flaky) to GitHub Pages.

Now that move to GitHub Pages is complete there's a need to check which pages (if any) are still giving 404s.

NOTE: Changes pushed to the old production server from the server-problems-workaround have been left in place.

Since there is no plan to make further changes to the old server, or to the branch, the server-problems-workaround has now been deleted.

Will need to regenerate sitemap.xml when everything is sorted.

Reverted to using canonical URLs without .html extension and deleted .htaccess files (since GitHub Pages don't support their use) at commit 82e640e.

Need to re-check for 404s on production server following this change.

Whole site was tested for unexpected 404 errors arising from internal links or typing in canonical links in browser address bar. No such 404s were found. All fixed by commit 985ba3a.

However, any redirects that used to be addressed by the old server's .htaccess files will persist since .htaccess is not supported by GitHub Pages. This problem has its own issue (#88)