|
|
|
|
|
|
![]() |
#1 |
I'm the only guy in the world who has to wake up to have a nightmare
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 ![]() |
![]() |
![]() |
![]() |
#2 |
"Without evil there can be no good, so it must be good to be evil sometimes" ~ Satan
Join Date: Aug 2004
Location: Motor City, baby, where carjacking was invented! Now GIMME THOSE SHOES!
Posts: 2,385
|
|
![]() |
![]() |
![]() |
#3 |
I'm the only guy in the world who has to wake up to have a nightmare
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? |
![]() |
![]() |
![]() |
#4 | |
Arghhhh...submit yer sites ya ruddy swabs!
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#5 |
I'm the only guy in the world who has to wake up to have a nightmare
Join Date: Feb 2004
Location: London, United Kingdom
Posts: 1,895
|
Well then that pretty much rocks
![]() ![]() |
![]() |
![]() |
![]() |
#6 |
I'm the only guy in the world who has to wake up to have a nightmare
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 |
![]() |
![]() |
![]() |
#7 |
I'm a jaded evil bastard, I wouldn't piss on myself if I was on fire...
|
Wot dis?
RemoveHandler .html .htm
__________________
I sale Internet My sites have no traffic and no PR - let's trade - PM me |
![]() |
![]() |
![]() |
#8 |
I'm a jaded evil bastard, I wouldn't piss on myself if I was on fire...
|
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 |
![]() |
![]() |
![]() |
#9 |
Lonewolf Internet Sales
|
Try <!--#include file="insertfilehere.extension"-->
|
![]() |
![]() |
![]() |
#10 |
Arghhhh...submit yer sites ya ruddy swabs!
|
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 |
![]() |
![]() |
![]() |
#11 | |
Lonewolf Internet Sales
|
Quote:
|
|
![]() |
![]() |
![]() |
#12 |
I'm the only guy in the world who has to wake up to have a nightmare
Join Date: Feb 2004
Location: London, United Kingdom
Posts: 1,895
|
Thanks Guys,
Removehandler was the problem ![]() |
![]() |
![]() |
![]() |
#13 |
I'm a jaded evil bastard, I wouldn't piss on myself if I was on fire...
|
Sweet
![]()
__________________
I sale Internet My sites have no traffic and no PR - let's trade - PM me |
![]() |
![]() |
![]() |
#14 |
Arghhhh...submit yer sites ya ruddy swabs!
|
Awesome...glad that got ya fixed up Jel
![]() |
![]() |
![]() |
![]() |
|
|