Skip to end of metadata
Go to start of metadata

Redirecting pages

In NeuroLex, category pages, resource pages and id pages often need to be, or would benefit from being redirected. A duplicate resource should be redirected, along with its NIF ID to the oldest resource. Creating a redirect page for commonly abbreviated categories such as NIH is also beneficial. Below are steps on how to do this.

Redirect to an existing page

To redirect to an existing page, choose “Edit source” from the “More” tab of the resource you want to redirect. Transfer any existing information to the main resource that you want to keep. Redirect the NIF ID before you delete it (See below). Then replace the existing contents with #REDIRECT[[:Category:Resource:XXXXX]] where XXXXX is the resource page you want to redirect it to. Save the page.
 

If you would like to redirect it to a non resource page, use the following format without “Resource:”.
#REDIRECT[[:Category:XXXXX]] 

Curate the redirected page or the system will not recognize it.

Redirect a NIF ID to another page

Search for the NIF ID. (Make sure there are no spaces in front of it.) A search for nlx_151325 will show,  "You searched for nlx_151325 (all pages starting with "nlx_151325" | all pages that link to "nlx_151325") "
above the search field. Click on the id. It will take you to the page it belongs to. At the top of the page you will see (Redirected from Nlx 151325). Click on the id. You should see the redirect page of its corresponding resource.  To redirect this to another page, click on “Edit source” from the “More” tab and update the name of the resource, e.g., #REDIRECT[[:Category:Resource:BBBBB DDDDD]] ---> #REDIRECT[[:Category:Resource:XXXXX]] Then save.
 
Alternatively, go to the NIF ID’s URL, e.g.,  http://neurolex.org/wiki/Nlx_151325 (always in the same format / replace your id with the ID shown). At the top of the page you will see (Redirected from Nlx 151325). Click on the id. You should see the redirect page of its corresponding resource.  To redirect this to another page, click on “Edit source” from the “More” tab and update the name of the resource, e.g., #REDIRECT[[:Category:Resource:BBBBB DDDDD]] ---> #REDIRECT[[:Category:Resource:XXXXX]] Then save.
 
To redirect to a non resource page the format will be as follows without the “Resource:”
#REDIRECT[[:Category:XXXXX]]  

Redirect to a new page / Changing a resource's name

You may either create a new category / resource from the main page, or, if the contents of the page you want to redirect is the correct contents, e.g., you just want to give it a different name, create the new page using the URL:
http://neurolex.org/w/index.php?title=Category:Resource:XXXXX XXX, XXXXX XXX representing the name of your resource.
(http://neurolex.org/w/index.php?title=Category:XXXX XXX for non resource pages)

Copy the contents to the resource you want to redirect over to this new resource: From the More tab, hit "Edit Source", Select all the contents (Ctrl A), Copy it, then paste it on the new page: From the More tab of the new page, select "Edit Source" and paste in the contents. Save the new page with the pasted in contents of the old page. 

Redirect the id of the old page (the one you are redirecting) to the new page. (see above).

Then redirect the old page to the new page:

Click on “Edit source” from the “More” tab and add the redirect information.
#REDIRECT[[:Category:Resource:XXXXX]] Then save.
 
To redirect to a non resource page the format will be as follows without the “Resource:”
#REDIRECT[[:Category:XXXXX]] 

Curate the redirected page or the system will not recognize it.

  • No labels