Answers.Body: <blockquote>
    <p>Or will I have to write a temporary custom controller action that I can trigger to loop over all entries to redo their slug?</p>
  </blockquote>
  
  <p>This one.</p>
  
  <p>The plugin could then just use <code>StringHelper::asciiString($slug);</code> to do the ASCII conversion and re-save it back to the database.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-11T17:16:32.543Z
Answers.LastActivityDate: 2017-10-11T17:16:32.543Z
Answers.UserDisplayName: Brad Bell
Body: <p>I’ve already got a ton of content put in by the client, and there’s quite a bit of accented characters (é, à, ...) in the titles, and thus also in the slugs where they get url encoded, which my client considers 'ugly'.</p>
  
  <p>Now I’ve added the <code>limitAutoSlugsToAscii' =&gt; true</code> rule to the config, but how can I best rework the url’s for the already existing content? There’s about 1000 entries already in the website so I’d rather not go over them by hand. </p>
  
  <p>Can I just clear the slug column in the database? Or will I have to write a temporary custom controller action that I can trigger to loop over all entries to redo their slug? Or is there another (better) solution?</p>
  
Tags: <slug><entry-slug>
Title: Bulk regenerate slugs
ThreadText: # Bulk regenerate slugs
  
  (Asked by: username_0 on 2017-10-11)
  
  I’ve already got a ton of content put in by the client, and there’s quite a bit of accented characters (é, à, ...) in the titles, and thus also in the slugs where they get url encoded, which my client considers 'ugly'.
  
  Now I’ve added the `limitAutoSlugsToAscii' => true` rule to the config, but how can I best rework the url’s for the already existing content? There’s about 1000 entries already in the website so I’d rather not go over them by hand.
  
  Can I just clear the slug column in the database? Or will I have to write a temporary custom controller action that I can trigger to loop over all entries to redo their slug? Or is there another (better) solution?
  
  **Tags:** slug, entry-slug
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-10-11. Score: 3 | Accepted answer
  
  > Or will I have to write a temporary custom controller action that I can trigger to loop over all entries to redo their slug?
  
  This one.
  
  The plugin could then just use `StringHelper::asciiString($slug);` to do the ASCII conversion and re-save it back to the database.
  
  
  ---
  
  