![]() |
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 :) |
|
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 on my html page and it will work? |
Quote:
|
Well then that pretty much rocks :) Thanks Max & Mr Yum, and Sparky for the original post |thumb
|
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 to appear on my pages, what dumbass thing am I doing wrong, any ideas? TIA |
Wot dis?
RemoveHandler .html .htm |
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 |
Try
|
I dunno Toby...just checked and the syntax he's using is exactly what I use on ssi calls |huh
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 |
Quote:
|
Thanks Guys,
Removehandler was the problem :) |
Sweet :D
|
Awesome...glad that got ya fixed up Jel |thumb
|
All times are GMT -4. The time now is 12:59 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc