Forum Moderators: martinibuster

Message Too Old, No Replies

html change to shtml pages. What happens to incoming links?

         

PowerUp

7:42 am on Jun 25, 2007 (gmt 0)

10+ Year Member



Hi, I'm contemplating whether to change my html files to shtml. The change is brought about because of the convenience of maintaining my navigation panel and footer.

But I'm wondering if I'll lose all the benefits of the backlinks that i've built. Can anyone share their thoughts?

irldonalb

8:01 am on Jun 25, 2007 (gmt 0)

10+ Year Member



Add a 301 redirect in your htaccess file or equivalent.

Or easier still, don't rename your files to shtml. If you need your html files to perform a server side includes add the following code to the htaccess file:

addtype text/html .html .htm

Regards
Donal

PowerUp

12:50 pm on Jun 25, 2007 (gmt 0)

10+ Year Member



Or easier still, don't rename your files to shtml. If you need your html files to perform a server side includes add the following code to the htaccess file:

addtype text/html .html .htm

If i do this, can I maintain all my footer and navigation panel from 1 or 2 single files?... so I don't need to change all the files 1 by 1.

Can you PM me a link or suggest some keywords so I can look up how to setup this?

irldonalb

1:40 pm on Jun 25, 2007 (gmt 0)

10+ Year Member



If i do this, can I maintain all my footer and navigation panel from 1 or 2 single files?... so I don't need to change all the files 1 by 1.

By doing what i'm suggesting, the server will treat every html file as a shtml file. So yes, you can create template header and footer file.

Can you PM me a link or suggest some keywords so I can look up how to setup this?

The Apache Tutorial would be a good place to start - [httpd.apache.org...] Saying that, they recommend not doing what I suggested for security reasons but I've never heard that before.