Mojolicious::Plugin::RedirectHost

Redirects requests from mirrors to the main host (useful for SEO)
Download

Mojolicious::Plugin::RedirectHost Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Alex.

Mojolicious::Plugin::RedirectHost Tags


Mojolicious::Plugin::RedirectHost Description

Mojolicious::Plugin::RedirectHost is a Perl module that redirects requests from mirrors to the main host (useful for SEO).SYNOPSISGenerate 301 redirect from http://mirror.main.host/path?query to http://main.host/path?query # Mojolicious $app->plugin('RedirectHost', host => 'main.host'); # Mojolicious::Lite plugin RedirectHost => { host => 'main.host' };All requests with Host header not equal to the host option will be redirected to the main host.Product's homepage


Mojolicious::Plugin::RedirectHost Related Software