Thread: changing a url?
View Single Post
Old 2004-05-04, 06:44 PM   #5
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
If you have telnet or SSH access to your server you could make a symbolic link to your new page with the name of your old page and it would always serve up the current page no matter what URL the surfer went to.


create symlinks¸In a terminal window, type:
ln -s /path/to/real/file /path/to/alias

So in your case if terminal puts you in your home folder and your html file is in the web folder you would type this.
ln -s /web/index.html /web/matureindex.htm
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote