Redirect a complete category

Posted by gerdami on 28 Nov 2008 09:27, last edited by GoVegan on 09 May 2010 05:58

Tags: include redirect

rating: +4+x

Mass redirection from a bad-named-category to a new one

New instructions

1. Read carefully the Redirect module documentation

2. Write down this URL address for recovery purpose:

http://yoursite.wikidot.com/bad-named-category:_template/noredirect/true

3. Create a bad-named-category:_template with the following content:

[[module Redirect destination="new-category:%%page_name%%"]]

Note that %%content%% is necessary to activate the variable %%page_name%%

Hence a bad-named-category:page1 would be redirected to new-category:page1

Author

gerdamigerdami. Please visit his/her userPage.


Related articles

Comments

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.