Redirect my old forum to my new forum?

Go down

Solved Redirect my old forum to my new forum?

Post by Lioth on April 5th 2013, 5:08 am

Hello again Hello. I've decided to create a new forumotion forum instead of my old one, and I basically want the old one's URL to redirect to my new one.

I use this code inside index_body, replacing all, so that the old forum will redirect to the new one (I didn't include my forums' URLs):

Code:
<html>
<head>
  <title>A web page that points a browser to a different page after 2 seconds</title>
<meta http-equiv="refresh" content="2; URL=http://-------------------/">
<meta name="keywords" content="automatic redirection">
</head>
<body>
<a href="http://http://----------------------/portal</a>
manually.
</body>
</html>

The problem is that whenever somebody goes to the old forums' threads [eg. http://------.com/monster-mate-thread/] it won't redirect to the new one and it says "The requested page does not exist".
avatar
Lioth
Forumember

Posts : 100
Reputation : 1
Language : English, Tagalog, Visayan

Back to top Go down

Solved Re: Redirect my old forum to my new forum?

Post by Sanket on April 5th 2013, 5:13 am

Have not really tried it out, but you can add such a javascript.
Code:
window.location.href = 'your_url';

There were a few ways provided there, just check which one is working.
http://stackoverflow.com/questions/503093/how-can-i-make-a-redirect-page-in-jquery-javascript
avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2828
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Redirect my old forum to my new forum?

Post by Lioth on April 5th 2013, 5:26 am

Thanks Sanket
It worked with :
Code:
window.location = "http://www.page-2.com";
Solved.
avatar
Lioth
Forumember

Posts : 100
Reputation : 1
Language : English, Tagalog, Visayan

Back to top Go down

Solved Re: Redirect my old forum to my new forum?

Post by Sanket on April 5th 2013, 5:31 am

Topic Solved & Locked
avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2828
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum