wordpress - Can Jekyll serve content based on a URL parameter? -
i'm migrating blog wordpress github pages. in logs site, i've noticed there many requests this:
get /wp/?feed=atom this 301 redirects atom feed site.
i'd planned utilize httrack scrape site , migrate static content. presents problem. there way replicate /wp/?foo=bar redirects using jekyll?
you can utilize jekyll redirect_from plugin 1 of rare plugin can used on github pages.
the problem yoursite.github.io/wp/?foo=bar server point of view yoursite.github.io/wp/index.php?foo=bar. so, ?foo=bar resolved same file.
i have xml feed redirect, trick :
--- layout: null redirect_from: - /wp/ --- content ... if have multiple files redirect, have switch javascript solution wp/index.html file.
wordpress jekyll github-pages
No comments:
Post a Comment