FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > FutureQuest Site Owners (All may read - Only Site Owners May Respond) > Questions & Suggestions
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 02-01-2002, 08:30 AM   Postid: 61264
skolnick
Site Owner
 
skolnick's Avatar

Forum Notability:
117 pts: Helpful Contributor
[Post Feedback]
 
Join Date: Jul 2001
Location: where the boat is: Chesapeake Bay
Posts: 702
Please help w/ server-side redirect

I want to redirect calls to my /index.html to /index.shtml.

My (old domain name) site on my old host is #1 on Google for a particular search. I don't have access to the old host anymore, but the site is still up and I modified it when I still could with a note, a link to my current domain name, and a 3 second refresh. Unfortunately, the URL I used in the refresh included "index.html" explicitly.

My root page is now index.shtml.

Eventually the search engines will catch up. In the meantime, I tried a server-side redirect in the .htaccess, but get an Internal Server Error.

*** Never mind *** Fixed it -- I'll post anyway for others:

The redirect syntax in .htaccess is 'Redirect [status] url-path url'

I tried: Redirect /index.html /index.shtml

The server barfed. <g> In the middle of writing this post, I checked the server error log (didn't want to embarrass myself by skipping the obvious). There I found a message along the lines of "redirect to invalid URL." So I tried: Redirect /index.html http://<domain>/index.shtml

That works. So now I have:

Redirect 301 /index.html http://<domain>/index.shtml

to indicate a permanent redirection.

Nothing like trying to ask a coherent question to help you answer the question yourself!

dv
skolnick is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 12:01 AM.


Running on vBulletin®
Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2013 FutureQuest, Inc.
FutureQuest, Inc.