patrickdemooij9 / SeoToolkit.Umbraco

SeoToolkit is a SEO package for Umbraco 9, 10, 11, 12 & 13. This package features most functionalities needed for your SEO needs like meta fields, sitemap, robots.txt and much more.
MIT License
34 stars 28 forks source link

Allow Redirects to be disabled #249

Closed Rockerby closed 9 months ago

Rockerby commented 10 months ago

This is from i47 and allows redirects to be disabled in the system rather than deleted.

A toggle has been added to the add/edit page that allows them to be enabled and disabled. If a redirect is enabled, it follows the redirect, if disabled it ignores it!

The toggle is 'enabled' by default (one less click when adding) and they are greyed out in the list if they aren't enabled.

image

My test cases were:

I do agree with the original issue that it might be nice to be able to do this by bulk from the list, but haven't completed it in the PR.

patrickdemooij9 commented 9 months ago

Hi @Rockerby This looks amazing! I'll take it for a spin today and see how it works. I really appreciate you picking up this issue!

patrickdemooij9 commented 9 months ago

Works like a charm! Thank you so much for your contribution!