Answers.Body: <p>Nothing clever I can think of, but it's an interesting idea.</p>
  
  <p>You can either manually setup the redirects in your .htaccess file, or there are a <a href="http://straightupcraft.com/craft-plugins/redirect-manager" rel="nofollow">couple</a> of <a href="http://straightupcraft.com/craft-plugins/reroute" rel="nofollow">plugins</a> that appear to let you manually manage redirects from the control panel.</p>
  
  <p>A feature request to the plugin developers might be to get them to add support to listening to an (as-of-yet non-existent) "onMoveStructuredEntry" event in Craft that automatically creates the redirect for you.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-04T18:09:28.020Z
Answers.Text: I'd like to see that `onMoveStructuredEntry` event.  It would be great if a plugin had the ability to step in and make it near-impossible for a website user to create broken links.
Answers.UserDisplayName: Ben Parizek
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-04T23:42:16.893Z
Answers.Text: I like the idea as well, though if auto-creating redirects ever became built into Craft, expect to get users somehow accidentally creating redirect loops if there isn't some sort of check for it.  Drupal's Redirect module auto-redirects when a path has been changed, but if someone makes a change and then changes it back, it starts redirecting to itself.
Answers.UserDisplayName: Patrick Harrington
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-04T23:45:30.987Z
Answers.Text: And, of course, this bug has been known about in Drupal for about two years. But the beauty of the FOSS system means that it's been bantered about the right way to fix it for two years rather than actually fixing it: https://www.drupal.org/node/1796596 </rant> God, I love Craft
Answers.UserDisplayName: Patrick Harrington
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-06T19:33:45.997Z
Answers.Text: Thank you for the replies! I'll have to take a look at those plugins, thanks Brad. The idea of "onMoveStructuredEntry" would be great.
Answers.UserDisplayName: Josh
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-04T17:32:31.200Z
Answers.LastActivityDate: 2014-08-04T17:32:31.200Z
Answers.UserDisplayName: Brad Bell
Body: <p>Is there a way to automatically create a 301 redirect on a structure entry if it gets reordered into a new group. For example the original entry lives under <code>/section-1/entry-title</code> and it gets moved to <code>/section-2/entry-title</code>. So if the original url is indexed it gets redirected to the new location without the client needing to do anything.</p>
  
  <p>Thanks for the help</p>
  
Tags: <redirect>
Title: Structure dynamic 301 redirects
ThreadText: # Structure dynamic 301 redirects
  
  (Asked by: username_0 on 2014-08-04)
  
  Is there a way to automatically create a 301 redirect on a structure entry if it gets reordered into a new group. For example the original entry lives under `/section-1/entry-title` and it gets moved to `/section-2/entry-title`. So if the original url is indexed it gets redirected to the new location without the client needing to do anything.
  
  Thanks for the help
  
  **Tags:** redirect
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-08-04. Score: 1
  
  Nothing clever I can think of, but it's an interesting idea.
  
  You can either manually setup the redirects in your .htaccess file, or there are a [couple](http://straightupcraft.com/craft-plugins/redirect-manager) of [plugins](http://straightupcraft.com/craft-plugins/reroute) that appear to let you manually manage redirects from the control panel.
  
  A feature request to the plugin developers might be to get them to add support to listening to an (as-of-yet non-existent) "onMoveStructuredEntry" event in Craft that automatically creates the redirect for you.
  
  > **Comments:**
  > **username_2**: I'd like to see that `onMoveStructuredEntry` event.  It would be great if a plugin had the ability to step in and make it near-impossible for a website user to create broken links.  
  > **username_3**: I like the idea as well, though if auto-creating redirects ever became built into Craft, expect to get users somehow accidentally creating redirect loops if there isn't some sort of check for it.  Drupal's Redirect module auto-redirects when a path has been changed, but if someone makes a change and then changes it back, it starts redirecting to itself.  
  > **username_3**: And, of course, this bug has been known about in Drupal for about two years. But the beauty of the FOSS system means that it's been bantered about the right way to fix it for two years rather than actually fixing it: https://www.drupal.org/node/1796596 </rant> God, I love Craft  
  > **username_0**: Thank you for the replies! I'll have to take a look at those plugins, thanks username_1. The idea of "onMoveStructuredEntry" would be great.  
  
  ---
  
  