Click here to Skip to main content
15,077,137 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
old website like this:

oldnews.html page changed to now newnews.html

new website like this:

when type any one
automatically page redirected to new page =>

How to page redirect old page to new page?

How to use .htaccessfile ?

Updated 28-Feb-13 1:31am
sandeep207 28-Feb-13 0:27am
paper.html"; is your new url

If your files are already deployed to the server then check this:
Control Panel Home Page Redirect[^]
Otherwise, right click on the page and "Set As Start Page".

check out the below link. The example describes how the page redirects on load of page.[^]

Please just write below code in your existing oldnews.html it will redirect to newnews.html

windows.location.href = "paper.html";
pkarthionline 28-Feb-13 7:23am
oldnews.html was deleted.i have newnews.html have there.

.htaccessfile can use?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900