jekyll / jekyll-redirect-from

:twisted_rightwards_arrows: Seamlessly specify multiple redirections URLs for your pages and posts.
MIT License
780 stars 112 forks source link

How to install it #238

Closed warbe-maker closed 2 years ago

warbe-maker commented 3 years ago

I do not use a local installation. All I use is a clone of my Jekyll blog with Github Windows or alternatively on my Android with the PocketGit App. When I write a new post, change one or change anything else such like the minima configuration I do this with my clone, commit the change and push it to the origin repo. Unfortunately my knowledge is very limited. The way I work does not require any CLI and thus I never use it. So what I need is an advice what to copy at which place (into which folder) of my cloned repo or which change I have to make in which file in order to get the redirection mechanism available for use. Many thanks in advance for any help.

fjp commented 3 years ago

I got this working after following the installation instructions. The important files that I had to be adapted in my repository were the Gemfile and _config.yml (add the plugin to plugins and whitelist). I guess you should have these two files in your repository too. Using the bundle command didn't seem to be needed in this case. Only for testing it locally, which you don't seem to require.

Of course, after the mentioned changes you have to know which redirects you want to do and adapt your YAML front-matter of your page or post.

jekyllbot commented 2 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.