PDA

View Full Version : Using the Catalog head as the site index


cpkelly
05-Apr-2005, 08:19 PM
Just sold http://www.simplysuperbgifts.com to a new owner and have transferred it to V7 and have tried to simplify the updating of the 'index' page. I have now created a catalog header page to look like the original html based index.html page. As it stands I now have two index pages but seem to have a mental block as how to make the /acatalog/index.html page replace the simplysuperbgifts.com/index.html.

You can see the first version in question if you open up the site and the second if you enter the 'shop'. (haven't finished meta tags, descriptions etc for the new page yet)

Any help will be much appreciated.

pinbrook
05-Apr-2005, 09:13 PM
http://community.actinic.com/showthread.php?t=13262

cpkelly
06-Apr-2005, 07:31 AM
Hi Jo

Thanks for the pointer to this post, I didn't see it on my searches last night. Tried it out but no divert so far. Maybe the server at NewNet is a Windows one I will check later today.

Charles

cpkelly
06-Apr-2005, 07:33 PM
Hi Jo

The site is certainly on a Unix server but I still can't get this to work. I have added 'redirect /index.html http://www.simplysuperbgifts.com/acatalog/index.html' to the root directory but this only generates a 'server error'. I have tried placing it in the other directories but it has no effect. Any thought appreciated.

Regards
Charles

cdicken
07-Apr-2005, 08:16 AM
I suggest having a quick word with your web hosting company as they may have an optimum way of doing this for their servers.

cpkelly
07-Apr-2005, 01:28 PM
Thanks Chris, did as you suggested and the rediect has worked perfectly

Regards

Charles Kelly
Simply Superb Gifts
http://www.simplysuperbgifts.com

DaveT
07-Apr-2005, 02:13 PM
What did you have to do in the end?

cpkelly
07-Apr-2005, 04:16 PM
My ISP help desk sent me a new index.html page with the following code:

<html>
<head>
<title>Redirecting you now...</title>

<meta http-equiv="refresh" content="0;url=http://www.simplysuperbgifts.com/acatalog/">
</head>

<body bgcolor="black">
<font color="black">Redirecting you now.....</font>
</body>
</html>

Initially the background was white but as I didn't want to show the "Redirecting you now" text and as my page backgrounds are black, I added the <body bgcolor="black"> code. I placed this index.html page in my root directory and the result can be seen at http://www.simplysuperbgifts.com

Hope this is of use to you and other board members.

Regards

Charles Kelly
Simply Superb Gifts http://www.simplysuperbgifts.com
Distinctive Boxes http://www.distinctiveboxes.com
Intelligent Brochures http://intelligentbrochures.com

David@MPL
07-Apr-2005, 04:24 PM
I've got a feeling this solution will upset the search engine spiders, i.e. they won't end up on your acatlog index. I'm sure someone else will be able to confirm/deny that though.

David@MPL
07-Apr-2005, 04:30 PM
Actually, if you follow this link (http://community.actinic.com/showthread.php?t=13262) that pinbrook provided at the start of the thread you'll find the best solution . . . assuming your site is on a *unix machine.

DaveT
07-Apr-2005, 04:34 PM
I think they tried the htaccess redirect though.

That meta redirect is very bad news for search engines though - most will have probs.

See this link:

http://www.netmechanic.com/news/vol4/promo_no15.htm

omulcock
07-Apr-2005, 05:00 PM
htaccess permanant redirect would be the best way to do it but if the server won't have it, I suppose theres not much we can do about it.