[SOLVED][Drupal Views] How to redirect old Views to a new one?

| | 1 min read

A few Drupal users who had changed one of their widely used Views in their Drupal site wanted to know how to redirect users coming to their old Views to the new one. If you wanted to know how to redirect old Views to a new one after it has been changed in your Drupal site then read on to find out more.

Steps

There are two ways you could redirect your Views from an old to a new one.

  • You could set a path alias and use a global redirect from the old path to a new one.
  • You could also hardcore the redirection by setting an htacess redirect in your Drupal site.
    RewriteEngine on
    RewriteBase /
    RewriteRule ^old_view_path/(.*) ^new_view_path [R=301,L]

Hope that helps.

The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.