Closed Thread
Results 1 to 3 of 3




  

Thread: HTML as SHTML or possibly PHP

      
  1. #1
    I'm New! skyguy is on a distinguished road
    Join Date
    January 25, 2008
    Posts
    5
    Rep Power
    0
    Feedback Score
    0

    Default HTML as SHTML or possibly PHP

    I've seen websites that have .html or .htm as the main file extension but still have server side includes on their pages. I was wondering how one goes about processing .html files as .shtml files or even .php files if that's possible.

    Thanks.

  2. #2
    Jedi Master JHalstead will become famous soon enoughJHalstead will become famous soon enoughJHalstead will become famous soon enough JHalstead's Avatar
    Join Date
    January 3, 2008
    Location
    OKC, OK - USA
    Posts
    147
    Rep Power
    5
    Feedback Score
    0

    Default

    Their are a couple of different options

    The first Comprehensive guide to .htaccess- Enabling SSI Via htaccess is to add a handler to parse html as shtml.

    The second which I think is more widely used .htaccess rewrite *.shtml to *.html - CodingForums.com is to use the rewrite engine to modify page extensions.

    Both options require you to have access to, or be able to create, the ".htaccess" file on your server.

    I hope this helps.

  3. #3
    Grand Masters grim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond repute grim's Avatar
    Join Date
    September 22, 2006
    Posts
    10,060
    Rep Power
    25
    Feedback Score
    0

    Default

    Quote Originally Posted by JHalstead View Post
    Their are a couple of different options

    The first Comprehensive guide to .htaccess- Enabling SSI Via htaccess is to add a handler to parse html as shtml.
    This is the method I've used for some time.

    I HATE .shtml

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Do You Use An HTML Editor?
    By Ohiosweetheart in forum General Business
    Replies: 48
    Last Post: Apr 13th, 2011, 4:08 am
  2. Using Both home.html and index.html
    By zxpro168 in forum SEO Forum
    Replies: 14
    Last Post: Jun 10th, 2008, 6:47 am
  3. HTML Within PHP
    By Zap in forum Programming
    Replies: 4
    Last Post: Dec 27th, 2007, 12:00 pm
  4. about html
    By raju in forum HTML & Website Design
    Replies: 2
    Last Post: Dec 4th, 2007, 10:09 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
WebTalkForums
WebTalkForums
Recent Forum Threads