While trying to import some redirects, I've noticed there is no option to allow non-existent paths to be imported (Standard redirect module allows that.

Comments

simeon157 created an issue. See original summary.

simeon157’s picture

StatusFileSize
new2.46 KB

A patch that adds a new checkbox and allows you to skip the check for existing paths.

kenorb’s picture

nitebreed’s picture

StatusFileSize
new2.46 KB

Rerolled the patch against the latest dev

ronaldmulero’s picture

#4 works for me.

path_redirect_import 8.x-1.0-beta3
Drupal core 8.9.1

el1_1el’s picture

Status: Needs review » Reviewed & tested by the community

same as 5. a much needed feature for external redirects

capysara’s picture

Works great! Thanks!

It would be nice if it was an option in the drush command. I can look into updating the patch, but this is such a useful feature as is, I'm not sure if the drush command should hold it up.

  • kporras07 committed 1fb06b6 on 8.x-1.x authored by Nitebreed
    Issue #2995543 by simeon157, Nitebreed, el1_1el, kenorb, capysara,...
kporras07’s picture

Status: Reviewed & tested by the community » Fixed

Committed. I also added the new option in drush >=9

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.