Closed TheLQ closed 6 years ago
This issue has been automatically marked as stale because it has not been commented on for at least two months.
The resources of the Jekyll team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master
branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.
This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.
I would like to redirect a subfolder to another domain while keeping the relative path. Essentially I want
olddomain.io/project/some/deep/file.html
to be redirected tonew.com/project/some/deep/file.html
by making a single file at olddomain.io/project.mdFWIW I'm trying to preserve links for project with github pages transfered to another user.
redirect_to: http://new.com/project
sendshttp://olddomain.io/project/some/deep/file.html
tohttp://new.com/project
redirect_to: http://new.com/project/
sendshttp://olddomain.io/project/some/deep/file.html
tohttp://new.com/project/
Wildcards like
redirect_to: http://new.com/project/*
aren't implementedAs far as I can tell, I should not touch site.baseurl or site.url since olddomain.io is where this site is being served from.