how to create a redirect page

Started by IdanC, January 25, 2010, 06:39:13 PM

Previous topic - Next topic

IdanC

i had a custom page i manually created, accessed through index?action=AudioChat.

but after the upgrade to 2.0, the page is now at index.php?page=audio

my problem is that allot of outside sites still have a link to the old url. how can i create a page there that will redirect them to the new one?

thanks!

hadesflames

Have a look at this online tut:

http://www.web-source.net/html_redirect.htm

Easily found using google for "html redirect"...

IdanC

thanks, i just assumed there's a way to create the redirect in subs.php or something.

using the meta tag would mean creating an actual page just for that line, or am i wrong?

greyknight17

You can do this using a .htaccess file (which you probably have already in the SMF directory which you can open up and edit it). See here on how to do the redirect. You will most likely want to put the entire path to the old AudioChat and to the new one called just audio.

Advertisement: