iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Search Engine Optimization Forum SEO is much easier with help from peers and experts! The WebProWorld SEO forum is for the discussion and exploration of various search engine optimization topics. Any non (engine) specific SEO or SEM topics should go here.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-20-2004, 04:54 PM
Banned
 
Join Date: Jul 2003
Location: Portland, ME
Posts: 5
phonesource RepRank 0
Default .SHTML and search engines

Hi - I recently decided to clean up a lot of code by removing a big chunk of repetitve code from all my files and using a server side include to reference it. It works, but only if the files that do the including have .shtml endings (which my hosting provider said was necessary for the SSIs to work)

What's shtml and do search engines penalize us for using shtml endings (ie is the included code invisible to the engines or the shtml files invisible themselves)?

Thanks,
dave
phonesource.com
Reply With Quote
  #2 (permalink)  
Old 02-21-2004, 02:13 AM
WebProWorld 1,000+ Club
 
Join Date: Jul 2003
Location: Toronto, Canada
Posts: 1,782
cyanide RepRank 0
Default

Hi,

The .shtml extension is necessary in order for the server to read the page as one and be able to parse those include files as one.

It's become quite the common practise nowadays.
I use it, but with .php
No, you won't get penalized
__________________
|
Web Hosting Guru
| Need Help For Your Forum?
Reply With Quote
  #3 (permalink)  
Old 02-21-2004, 08:15 AM
Mel Mel is offline
WebProWorld 1,000+ Club
 
Join Date: Jul 2003
Posts: 1,903
Mel RepRank 2Mel RepRank 2
Default

Hi Dave:

If you change all your page names from .html to .shtml they are all new pages as far as the search engines are concerned, and as far as links are concerned too,so it can be a bit of a problem. If a search engine has an html page of yours ranked for a term and a user clicks on the .html link when you have changed the pages to .shtml they will get a 404 error.

If you are hosted on an Apache server and have mod_rewrite installed, you can set it up so that server side includes will work with .html pages saving you the work of getting all your links changed etc.
__________________
Mel Nelson
Expert SEO | Cheap used cars
Reply With Quote
  #4 (permalink)  
Old 02-21-2004, 02:49 PM
WebProWorld 1,000+ Club
 
Join Date: Jul 2003
Location: Toronto, Canada
Posts: 1,782
cyanide RepRank 0
Default

Ahh, yes...

Further to Mel's post,
There's a couple things you can do through apache re-writes
Permanent re-direct and extension modification
The latter one, I don't have off the top, but for redirects...

Create a file called htaccess.txt with notepad and insert the following:
Redirect permanent /oldpage.html http://www.yourdomain.com/newpage.shtml

so atleast if your pages are in SE's index, they'll get re-directed to the new pages.
Just add additional lines for each page, you've changed
Upload the file to your root directory and change the name to .htaccess
__________________
|
Web Hosting Guru
| Need Help For Your Forum?
Reply With Quote
  #5 (permalink)  
Old 02-21-2004, 09:52 PM
Mel Mel is offline
WebProWorld 1,000+ Club
 
Join Date: Jul 2003
Posts: 1,903
Mel RepRank 2Mel RepRank 2
Default

You can also do the extension modification in the htaccess file, but rather than explain it all here there is a nice tutorial at:
http://www.avsfriendly.com/tutorials...ess.html#myssi
__________________
Mel Nelson
Expert SEO | Cheap used cars
Reply With Quote
  #6 (permalink)  
Old 02-23-2004, 11:18 AM
Banned
 
Join Date: Jul 2003
Location: Portland, ME
Posts: 5
phonesource RepRank 0
Default

thanks to everyone for all the help - great forum!

- dave cook
Reply With Quote
Reply

  WebProWorld > Search Engines > Search Engine Optimization Forum

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 01:22 PM.



Search Engine Optimization by vBSEO 3.3.0