Forum Moderators: open

Message Too Old, No Replies

changing file extensions to SHMTL...effect in search engines?

will changing the extensions cause any changes in my listings?

         

ann

9:02 am on Sep 13, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I want to use SSI but find I need to rename the pages with a SHMTL extension.

Will this mean that I get dropped from the search engines until respidered with the new extensions?

Is there a work around for using SSI without the changes?

Appreciate the help...

Ann

PsychoTekk

10:18 am on Sep 13, 2002 (gmt 0)

10+ Year Member



put either
AddHandler server-parsed .html
(new directive) or
AddType text/x-server-parsed-html .html
(old one)
into your .htaccess file.
this way files with the extension .html will be
parsed serverside.
hope it helps!

chiyo

10:34 am on Sep 13, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello PsychoTek,

Could you or someone else let me know what we would add to htaccess to do the same thing but have files parsed as php (instead of shtml).

We have .htm, .html, .php and .shtml extensions in amongst our pages, and want to change them all so we can use php includes, without having to worry about what extension we give them.

I did a search for this a week ago but couldnt find anything though i know it has been discussed and the answer given before.

JuDDer

11:06 am on Sep 13, 2002 (gmt 0)

10+ Year Member



I could be wrong, but I think something like this in the .htaccess will allow you to serve other pages through the PHP parser:

AddType application/x-httpd-php .shtml
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm

andreasfriedrich

11:06 am on Sep 13, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have a look at the thread php extensions... [webmasterworld.com]