Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to extensionless url #92

Closed
fulldecent opened this issue Jan 2, 2016 · 3 comments
Closed

Redirect to extensionless url #92

fulldecent opened this issue Jan 2, 2016 · 3 comments

Comments

@fulldecent
Copy link

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.

@parkr parkr added the Question label Jan 11, 2016
@parkr
Copy link
Member

parkr commented Jan 11, 2016

@fulldecent If you're using GitHub Pages to build your site, this is not presently possible as Jekyll 3 has not yet shipped there: github/pages-gem#175. Let me know if this is not the case.

@fulldecent
Copy link
Author

Understood, thank you. Closing as this is just simply a dependency on github/pages-gem#175

@parkr parkr closed this as completed Jan 11, 2016
@parkr
Copy link
Member

parkr commented Jan 11, 2016

Thanks, @fulldecent! We'll hopefully ship Jekyll 3 on GitHub Pages in the coming month or two.

@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants