Folder Redirect

Component ID

2888530

Component name

Folder Redirect

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

173

Component created

Component changed

Component body

Folder Redirect
Auto generate 301 redirects for the files within a folder, useful for folder that contains large amount of files & are moved from one path to another.
path : admin/config/search/redirect/folder_redirect

Features
Allows users, with right permission to generate redirects for all files within a folder providing path to redirect from & redirect to.
Allows users to scan a folder located anywhere under the root folder & add redirects of all of its containing files
Users can add exceptions for files or folders, so the redirects won't be generated for that particular file or folder.

Configurations

  1. Go to admin/config/search/redirect/folder_redirect.
  2. Add folder path that need to be scanned for files.
  3. Check if the base path is the same as scanning folder, otherwise uncheck and provide redirect from path.
  4. Provide redirect to path. Trailing slash must be included.
  5. Add exceptions that are supposed to be ignored.
  6. Generate url redirects

Dependencies



Use Cases

  • Generate redirects for files within folder
  • Useful if files are moved from one root path to another

Please refer to README.txt for more help.