View Full Version : Redirecting one IRM to another
ssmith
12-31-2006, 05:45 PM
A beginner's question, maybe, but here goes! We have several IRM sites under the main/parent site, parenting-initiative.org. We would like to have one IRM site (CaliforniaFreshCatering.org) within the parent site point temporarily to another IRM site (CaliforniaFreshBuffet.com). Is there a simple way to do this without purchasing an IRM to point the CFC site to the CFB site, and then purchasing another IRM to repoint the CFC site back to itself?
Thanks!
Sandra
sheila
12-31-2006, 07:50 PM
This discussion is extremely similar to what you want to do.
http://www.aota.net/forums/showthread.php?postid=148421#post148421
The person in that thread wanted to redirect to a site not hosted at FutureQuest. It really doesn't matter where the other site is hosted...at FutureQuest or not. The redirect method is essentially the same in either case.
sheila
12-31-2006, 08:14 PM
Actually, here's another good site with lots of info about redirecting pages:
http://www.tamingthebeast.net/articles3/spiders-301-redirect.htm
ssmith
01-01-2007, 10:16 AM
Thanks for the suggestions, Sheila! The "Taming the Beast" site's information was very helfup regarding the 301 directive. The instructions of the "Redirecting entire sites with 301" section were followed, and an .htaccess page was created with the following code:
redirect 301 / http://www.californiafreshbuffet.com/
This file was copied into the subdirectory called "californiafreshcatering," but on testing to see if it works, a 500 Internal Server Error was returned. Maybe I put this file at the wrong place. Anyway, do you have any thoughts on what I might have done wrong?
Thanks again!
Sandra
Sandra,
What did you use to create the .htaccess file?
Using those special powers we sometimes have I took a look at at what I believe your account to be and it appears you may have created the .htaccess file in a HTML editor and you need to just create a text file with just
redirect 301 / http://www.californiafreshbuffet.com/
as the only content and nothing else, no HEAD, BODY or HTML tags or code...
-Bob
Psssttttt.... http://www.futurequest.net/Community/SiteOwner/
ssmith
01-01-2007, 08:18 PM
Bob, those special powers are really appreciated! They did detect that the text had been made in GoLive (as it allowed saving the file as ".htaccess" without a .txt tag at the end). So the text exactly as you wrote it above was recreated in Notepad and saved as a text file (".htaccess.txt"). Windows has not been allowing me to rename it as ".htaccess". With ".htaccess.txt" a different error message is appearing:
Index of /
Name Last modified Size Description
--------------------------------------------------------------------------
Parent Directory 01-Jan-2007 08:39 -
--------------------------------------------------------------------------
Apache/1.3.33 Server at www.californiafreshcatering.org Port 80
Thanks for painstakingly leading this beginner through the basic steps!!
-Sandra
Melissa
01-01-2007, 08:27 PM
Hi Sandra,
I see the .htaccess.txt file in your account. You can rename it using the CNC File Manager. Just click the box in front of the file name and click the Rename Files button in the bottom menu. Remove the .txt part, click Submit, and that ought to do it. :)
ssmith
01-03-2007, 03:12 PM
Melissa, that did the trick. Thank you SO much!
Melissa
01-03-2007, 06:14 PM
Good deal :QTthumb:
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.