• On our site we have an Upcoming Events section that lists future events. Each event is posted as a page. After the date of the event passes, the page automatically goes to an archive section of the site and gets a new parent, ‘Event Archives.’ The URL of the event changes at this point, e.g. ‘/events/myevent’ changes to ‘/events/event-archive/myevent’.

    However, long before the event is archived, an email blast is sent to users notifying them of the upcoming event. So the user’s email URL would be ‘/events/myevent.’ The problem is that some users are clicking on the event link from the email AFTER the event is archived. At this point the event page has been moved and they get a 404.

    Is changing the .htaccess file manually every time the event is archived the only way around this? There’s probably 1-3 events per month, not a large amount, but it would be nice if there were an automated way to handle this.

    Any ideas welcome!

  • The topic ‘Redirect question on .htaccess’ is closed to new replies.