
Currently, in the Redirects component, you can set up redirects only for each individual page, but not for directories.
For example, if you changed the alias for a category that had 1000 articles, you will get many pages with 404 error, or you will have to manually create a redirect for 1000 pages.
I propose adding to the Redirects component the ability to make redirects not only for individual pages, but also for entire directories.
For example:
Redirect all pages that were in the category old-news with the old alias to the new directory new-news (which has a different category alias)
redirect all pages from directory:
site.com/old-news
to pages with directory:
site.com/new-news
redirect these pages:
site.com/old-news/1-article-water
site.com/old-news/2-article-sun
site.com/old-news/3-article-fire
to new URLs:
site.com/new-news/1-article-water
site.com/new-news/2-article-sun
site.com/new-news/3-article-fire
| Labels |
Added:
No Code Attached Yet
|
||
| Labels |
Added:
Feature
|
||
No need for two identical feature requests
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-04-28 12:19:45 |
| Closed_By | ⇒ | QuyTon |
Related #24600