2

Recently changed the URL format for a section. Now I have a red circle in the upper right and an error message of "resaving blog entries - failed". Trying again results in same error. Any ideas what could be wrong?

Jim Hull
  • 53
  • 3

1 Answers1

2

The section that entry #392 belongs to is called blog and it's Entry URL Format setting is set to blog/{slug}.

You also have quite a few entries (100 to be precise), with their slug set to: snippet generating a URI for that slug of blog/snippet.

That works great for the first one, but when you try to save the 2nd one, Craft sees that blog/snippet is already taken and will start appending numbers to the end to try and find a unique URI like so: blog/snippet-1, blog/snippet-2, etc.

But Craft wants to have a reasonable way to know when to stop trying to find a unique URI, so it will look to the maxSlugIncrement config setting and use that, which defaults to 100 - hence the error you're running into.

You either need to 1) use something to generate more unique entry slug formats - like post date/time or 2) increase the maxSlugIncrement config setting to a higher value.

Brad Bell
  • 67,440
  • 6
  • 73
  • 143