Body: <p>I have a Craft site with approx. 13 Sites. They are grouped by language, e.g. German has Germany and Austria in it. Spanish has Spain and Mexico in it. </p>
  
  <p>I imported all content to the main groups sites as the other fields are all set to be translatable per group. So importing Spain means Mexico will have the same content.  </p>
  
  <p>But the slugs are not synced. The slugs still use the original English slugs from when I cerated the sites. </p>
  
  <p>How can I get the slugs to sync. within the group? So Mexico slugs will take Spanish slugs? </p>
  
  <p>Thanks</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-09T11:04:17.073Z
Comments.Text: Slugs are created when you create entry and won't be changed unless you change them manually. You can also remove slug for specific entry and resave it - slug will be re-created from current entry title.
Comments.UserDisplayName: Piotr Pogorzelski
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-09T14:17:46.987Z
Comments.Text: But I have set all other fields including the title (via a custom field) to be the same within a group. Extremely strange you cant do the same for a slug. I have imported all this foreign content and the slugs are all english except for the main site in the group I imported.
Comments.UserDisplayName: Laurence Cope
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-10T10:11:58.833Z
Comments.Text: Are you using feedme plugin to import? If thats the case, i retract what i said later - i have no experience using this plugin so i cant say for sure if slug cam be changed in that case or not.
Comments.UserDisplayName: Piotr Pogorzelski
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-10T10:14:33.553Z
Comments.Text: Yes FeedMe but even changing it afterwards does not sync them. There is no option to keep them the sane like customs fields. I’ve written a function in my plugin to sync them in the database after import and an after save event so will add my code here soon.
Comments.UserDisplayName: Laurence Cope
Tags: <craft3><localization><slug><sites>
Title: How can I sync slugs within sites in the same Group?
ThreadText: # How can I sync slugs within sites in the same Group?
  
  (Asked by: username_0 on 2019-07-09)
  
  I have a Craft site with approx. 13 Sites. They are grouped by language, e.g. German has Germany and Austria in it. Spanish has Spain and Mexico in it.
  
  I imported all content to the main groups sites as the other fields are all set to be translatable per group. So importing Spain means Mexico will have the same content.
  
  But the slugs are not synced. The slugs still use the original English slugs from when I cerated the sites.
  
  How can I get the slugs to sync. within the group? So Mexico slugs will take Spanish slugs?
  
  Thanks
  
  **Tags:** craft3, localization, slug, sites
  
  > **Comments:**
  > **username_1**: Slugs are created when you create entry and won't be changed unless you change them manually. You can also remove slug for specific entry and resave it - slug will be re-created from current entry title.  
  > **username_0**: But I have set all other fields including the title (via a custom field) to be the same within a group. Extremely strange you cant do the same for a slug. I have imported all this foreign content and the slugs are all english except for the main site in the group I imported.  
  > **username_1**: Are you using feedme plugin to import? If thats the case, i retract what i said later - i have no experience using this plugin so i cant say for sure if slug cam be changed in that case or not.  
  > **username_0**: Yes FeedMe but even changing it afterwards does not sync them. There is no option to keep them the sane like customs fields. I’ve written a function in my plugin to sync them in the database after import and an after save event so will add my code here soon.  
  
  ---
  
  ## 0 answers
  
  