poosh-plugin-header-location-from-html
v2.0.0 poosh
poosh-plugin-header-location-from-html
Poosh plugin that generates location HTTP headers from HTML content
Sample
If your local looks like that:
<!DOCTYPE html>
<html>
<head>
<link rel="canonical" href="http://mysite.tld/posts/my-original-url"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta http-equiv="refresh" content="0;url=http://mysite.tld/posts/my-original-url"/>
</head>
</html>
Then the plugin will automatically generates a location HTTP header for it.
Dependencies
npm i poosh-plugin-header-location-from-html
Metadata
- MIT
- >=v5.12.0
- Merlicco Yves
- released 2/16/2017