Skip to content

Redirect to extensionless url #92

@fulldecent

Description

@fulldecent

I would like to get

/page.html -- is the file created by Jekyll
/page -- is how I link to the file and GitHub Pages serves the page.html page
/page.php -- this page gets redirected to /page

I am attempting to get this with:

Use redirect_from: /page.php.html on the page (GitHub will serve this when accessing /page.php)
Use standard settings for permalink

The result I get is:

/page.html -- is created
/page -- is accessible
/page.php -- redirects to page.html

Please advise if it possible to get the desired behavior.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions