---
title: "Redirecting pages in TikiWiki"
description: "When pages are deleted or renamed, there is a chance that Google may have cached the page in their web crawler. Also, someone could have book marked the page. To Keep these deleted and renamed pages..."
url: https://www.inmotionhosting.com/support/edu/tiki-wiki/creating-redirects/
date: 2013-01-16
modified: 2021-08-16
author: "InMotion Hosting Contributor"
categories: ["Tiki Wiki"]
type: post
lang: en
---

# Redirecting pages in TikiWiki

When pages are deleted or renamed, there is a chance that Google may have cached the page in their web crawler. Also, someone could have book marked the page. To Keep these deleted and renamed pages from getting a “*404 not found error*“, you can set up redirects in your Tiki pages to redirect the old page to the new one. This tutorial will explain how to redirect pages in TikiWiki.

## How to redirect a page

There is no redirect function automatically built into TikiWiki. To redirect, you simply place the following code in the content of the page you are redirecting to.

~tc~ (alias(Page Name)) ~/tc~
TikiWiki will read that code when the old url is visited and redirect to the page the code was placed on. For example, If you are redirecting a page that was renamed from “*Home Page*” to “*My TikiWiki learning Site*“, you simply add the code to the “*My TikiWiki learning Site*” page. Then the old “*Home Page*” url will redirect to your “*My TikiWiki learning Site*” page. The following are steps to create a redirect in TikiWiki.

1. [Log into TikiWiki](/support/edu/tiki-wiki/login-tikiwiki/).
2. **Find the page **you want to redirect the deleted or renamed page to. **Click the Edit button**.
3. [![Add redirect plugin code TikiWiki](https://www.inmotionhosting.com/support/wp-content/uploads/2013/01/edu_tikiwiki_102_create-redirect_create-redirect-2-plugin-code.gif)](/support/wp-content/uploads/2013/01/edu_tikiwiki_102_create-redirect_create-redirect-2-plugin-code.gif) **Paste the following code **into the bottom of the page content. ~tc~ (alias(Page Name)) ~/tc~ **Important!** Replace the text that says “*Page Name*” with the name of the deleted or renamed page. **Click Save.** [![Old url in the address bar TikiWIki](https://www.inmotionhosting.com/support/wp-content/uploads/2013/01/edu_tikiwiki_102_create-redirect_create-redirect-3-old-url.gif)](/support/wp-content/uploads/2013/01/edu_tikiwiki_102_create-redirect_create-redirect-3-old-url.gif) Now when the old page name is visited in the address bar (in this case the renamed page is “*Home Page*“) the page will redirect to the new page.
