PDA

View Full Version : .htaccess redirect question


Sean
12-18-2006, 04:36 PM
I've just switched over from .shtml to .php files, and I want to tell Google to redirect my old homepage (http://www.ocny.com/index.shtml) to the new homepage (http://www.ocny.com/index.php). I tried using this code:

Redirect 301 /index.shtml http://www.ocny.com/index.php

The problem is, I have a few IRMs on my account, and with this code, the homepage for http://www.armageddonmonks.com starts redirecting to http://www.ocny.com.

How do I redirect just that one index page in my root directory without affecting the index pages for all my IRMs?

Terra
12-18-2006, 04:56 PM
View this post concerning the FutureQuest custom added directive: RedirectControl

http://www.aota.net/forums/showthread.php?postid=104354#post104354

--
Terra
sysAdmin
FutureQuest

Sean
12-18-2006, 05:08 PM
It works:clapper:

Thanks!