Skip to content

A NodeBB plugin to sanitize and deduplicate og:url and canonical meta tags for better SEO

Notifications You must be signed in to change notification settings

playsignage/nodebb-plugin-seo-deduplicate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nodebb-plugin-seo-deduplicate

A NodeBB plugin to sanitize and deduplicate og:url and canonical meta tags for better SEO.

In particular, it removes query parameters from canonical and og:url tags on all pages and removes page offset from topic page canonical and og:url tags.

Install:

cd $NODEBB_HOME
./nodebb stop
npm install nodebb-plugin-seo-deduplicate
./nodebb start

# Then enable the plugin via admin panel

To see if it works, go to any public page of your forum and add query parameter to the url E.g. https://community.example.com/user/foobar?hello=world . Then, open up page source. Without this plugin, you would see the query parameter in both canonical meta and og:url. With the plugin, the query paramaters won't be there.

About

A NodeBB plugin to sanitize and deduplicate og:url and canonical meta tags for better SEO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published