Nexology Community
 
     
 
   

Go Back   Nexology Community > Community Zone > Reseller Talk

Reply
 
LinkBack Thread Tools Display Modes
Old 04-09-2007, 11:32 AM   #1
Registered User
 
Join Date: Apr 2007
Posts: 7
index.shtml

I rebuilt a website for a customer and moved it over to my HN account. The person that designed the previous site for whatever reason developed it all with .shtml files. Google and other search engines still have all the old shtml files referenced. I figured I could just put files out there with the old names that use java script to redirect to the new asp pages. For some reason even though the .shtml files are out there the server is still responding with a 404 return.

I got around most of this by using custom error docs and having the 404 document redirect to the home page however it won't work for index.shtml.

Not sure how to get around this. His site comes up number one on Google but it links to index.shtml and I can't get that to redirect to the real home page.

Any help would be greatly appreciated.
bramsey is offline   Reply With Quote
Old 04-10-2007, 09:42 AM   #2
Moderator
 
MikeMann's Avatar
 
Join Date: Jun 2002
Location: Los Angeles CA
Posts: 7,532
Not sure what your server has, but I know that you could add this to a .htaccess file through Apache:

RewriteEngine on
RewriteBase /
RewriteRule (.*).shtml$ /$1.asp
__________________
Michael Mann

Michael Mann Desktop Publishing
Me On the Net: Facebook | Twitter

Read My Writing

Need a notary in Los Angeles?
I'm a mobile notary
MikeMann is offline   Reply With Quote
Old 04-10-2007, 09:50 AM   #3
Registered User
 
Join Date: Apr 2007
Posts: 7
I'll look into that. I am on a windows based server I believe. Not sure if it is running IIS or Apache. Thanks for help.
bramsey is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:17 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 RC1
Copyright ©2001 - 2009, HostNexus