GitHub Pages-网址重写支持 [英] GitHub Pages - Url Rewrite Support

查看:119
本文介绍了GitHub Pages-网址重写支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已按照此处列出的步骤( https://pages.github.com /)

I have setup a GitHub page for a site I am working on, following the steps laid out here (https://pages.github.com/)

我已设置的站点当前托管在IIS下,并且使用URL重写模块.

The site I have setup is currently hosted under IIS and makes use of the URL Rewrite module.

是否存在可用于重写应用程序中某些URL请求的等效模块或类似模块?

Is there an equivalent module or similar that I could use to rewrite certain URL requests within my application?

推荐答案

出于安全原因,Github页面不允许服务器配置文件,因此,不能重写URL.

For security reasons, Github pages doesn't allow server configuration files, so, no url rewriting.

但是您可以在 jekyll-redirect-from 的帮助下使用html重定向.

But you can use html redirection with the help of jekyll-redirect-from.

github页面建议重定向的方式.

这篇关于GitHub Pages-网址重写支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆