Greenguy's Board


Go Back   Greenguy's Board > Search Engines
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2006-01-11, 12:29 PM   #1
Jel
I'm the only guy in the world who has to wake up to have a nightmare
 
Jel's Avatar
 
Join Date: Feb 2004
Location: London, United Kingdom
Posts: 1,895
Renaming index.html to index.shtml

I have a bunch of pages in directories that are the default index.html but want to change them to index.shtml so I can use virtual includes. Is this likely to cause problems with SES in regards to both the indexed pages and backlinks?

They are the indexes of each directory on my LL and as far as I am aware no-one uses domain/dir/index.html when linking to my categories, just the domain/dir/ so I am wildly guessing there shouldn't be too much of a problem, but an educated guess tells me I will run into problems if I just blindly go and rename each index .shtml - how can I make these changes without fucking evrything up, if it is at all possible to change in the first instance.

Many thanks in advance
Jel is offline   Reply With Quote
Old 2006-01-11, 03:55 PM   #2
MadMax
"Without evil there can be no good, so it must be good to be evil sometimes" ~ Satan
 
MadMax's Avatar
 
Join Date: Aug 2004
Location: Motor City, baby, where carjacking was invented! Now GIMME THOSE SHOES!
Posts: 2,385
Here's an easy method courtesy of Sparky
http://www.greenguysboard.com/board/...96&postcount=3

MadMax is offline   Reply With Quote
Old 2006-01-11, 04:33 PM   #3
Jel
I'm the only guy in the world who has to wake up to have a nightmare
 
Jel's Avatar
 
Join Date: Feb 2004
Location: London, United Kingdom
Posts: 1,895
Thanks Max,

Just about to hit the sack here, so apologies if you see this and I don't answer until tomorrow - what does that post mean? That I can add that to my root htaccess and just use the <!--#include file="filehere.inc" --> on my html page and it will work?
Jel is offline   Reply With Quote
Old 2006-01-11, 05:11 PM   #4
MrYum
Arghhhh...submit yer sites ya ruddy swabs!
 
MrYum's Avatar
 
Join Date: May 2004
Location: Sunny Florida!
Posts: 5,108
Send a message via ICQ to MrYum
Quote:
Originally Posted by Jel
Thanks Max,

Just about to hit the sack here, so apologies if you see this and I don't answer until tomorrow - what does that post mean? That I can add that to my root htaccess and just use the <!--#include file="filehere.inc" --> on my html page and it will work?
Yup...I use includes for a number of things...and have all straight html files
MrYum is offline   Reply With Quote
Old 2006-01-12, 12:54 AM   #5
Jel
I'm the only guy in the world who has to wake up to have a nightmare
 
Jel's Avatar
 
Join Date: Feb 2004
Location: London, United Kingdom
Posts: 1,895
Well then that pretty much rocks Thanks Max & Mr Yum, and Sparky for the original post
Jel is offline   Reply With Quote
Old 2006-01-18, 06:24 AM   #6
Jel
I'm the only guy in the world who has to wake up to have a nightmare
 
Jel's Avatar
 
Join Date: Feb 2004
Location: London, United Kingdom
Posts: 1,895
Hmm, that doesn't work for me, I have

RemoveHandler .html .htm
AddHandler server-parsed .shtml .html
AddType application/x-httpd-php .php .htm .html

in my root htaccess file but can't get the command

<!--#include virtual="insertfilehere.extension"-->

to appear on my pages, what dumbass thing am I doing wrong, any ideas?

TIA
Jel is offline   Reply With Quote
Old 2006-01-18, 08:11 AM   #7
Wazza
I'm a jaded evil bastard, I wouldn't piss on myself if I was on fire...
 
Join Date: Apr 2003
Location: Melbourne, Australia
Posts: 808
Send a message via ICQ to Wazza
Wot dis?

RemoveHandler .html .htm
__________________
I sale Internet

My sites have no traffic and no PR - let's trade - PM me
Wazza is offline   Reply With Quote
Old 2006-01-18, 08:14 AM   #8
Wazza
I'm a jaded evil bastard, I wouldn't piss on myself if I was on fire...
 
Join Date: Apr 2003
Location: Melbourne, Australia
Posts: 808
Send a message via ICQ to Wazza
Would appear to me, on a very quick read, to be an incorrect use of RemoveHandler

Shouldn't it go in a child directory's htaccess to stop html files from there on being parsed?

http://httpd.apache.org/docs/1.3/mod...#removehandler
__________________
I sale Internet

My sites have no traffic and no PR - let's trade - PM me
Wazza is offline   Reply With Quote
Old 2006-01-18, 08:27 AM   #9
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,826
Send a message via ICQ to Toby
Try <!--#include file="insertfilehere.extension"-->
Toby is offline   Reply With Quote
Old 2006-01-18, 09:49 AM   #10
MrYum
Arghhhh...submit yer sites ya ruddy swabs!
 
MrYum's Avatar
 
Join Date: May 2004
Location: Sunny Florida!
Posts: 5,108
Send a message via ICQ to MrYum
I dunno Toby...just checked and the syntax he's using is exactly what I use on ssi calls

I'm inclined to agree that it's something in your htaccess. Here's the first 3 lines from one of mine...give it a shot Jel...and I'd completely take out the Removehandler...

RewriteEngine on
AddHandler server-parsed .html
Options -Indexes FollowSymLinks Includes
MrYum is offline   Reply With Quote
Old 2006-01-18, 10:20 AM   #11
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,826
Send a message via ICQ to Toby
Quote:
Originally Posted by MrYum
I dunno Toby...just checked and the syntax he's using is exactly what I use on ssi calls
That may not be the problem in this case, I just know that I've had issues using "virtual=" before and changing to "file=" solved my problem.
Toby is offline   Reply With Quote
Old 2006-01-19, 10:25 AM   #12
Jel
I'm the only guy in the world who has to wake up to have a nightmare
 
Jel's Avatar
 
Join Date: Feb 2004
Location: London, United Kingdom
Posts: 1,895
Thanks Guys,

Removehandler was the problem
Jel is offline   Reply With Quote
Old 2006-01-19, 07:43 PM   #13
Wazza
I'm a jaded evil bastard, I wouldn't piss on myself if I was on fire...
 
Join Date: Apr 2003
Location: Melbourne, Australia
Posts: 808
Send a message via ICQ to Wazza
Sweet
__________________
I sale Internet

My sites have no traffic and no PR - let's trade - PM me
Wazza is offline   Reply With Quote
Old 2006-01-19, 08:34 PM   #14
MrYum
Arghhhh...submit yer sites ya ruddy swabs!
 
MrYum's Avatar
 
Join Date: May 2004
Location: Sunny Florida!
Posts: 5,108
Send a message via ICQ to MrYum
Awesome...glad that got ya fixed up Jel
MrYum is offline   Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:38 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc