Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Prevent importing duplicate redirections?

$
0
0

Replies: 0

Hi there,

first, thanks for this plugin! really make things easier 🙂

As I was importing redirections from a csv file I noticed that I can re-import the same redirections as many times as I want, creating duplicates each time.

The use case: exporting then editing a large list of redirects off-site and being able to re-import them without worrying about duplicates

I had a look a the redirection_create_redirect filter and think I could use this to prevent this from happening but as it seemed like a feature that could be useful to others I though I’d ask a few questions here first:

– does that seem like a reasonable expectation from the default plugin behaviour (preventing duplicates)
– is it a planned feature?
– what would be the best way to go if one was to implement this?

any feedback on this really appreciated
I can also move this to the github repo but as it’s more of a feature request right now I thought I’d post here first

Thanks!


Viewing all articles
Browse latest Browse all 59525

Trending Articles