Welcome to the Small Business Ideas Forum! We are a community of over 37,000 small business folks with over 87,000 posts for you to browse. We pride ourselves on being the friendliest forum you will find and we'd love to have you as a member of our community. Please take a moment and register for a free account. If you need any help, please contact Chris Logan.

Small Business Ideas Forum

Small Business Ideas Forum

A friendly place to share small business ideas and knowledge, ask questions, find help and encourage others that are involved in the small business industry. Topics include small business marketing, generating revenue and small business computing.

Go Back   Small Business Ideas Forum > Small Business Computing > Website Development
Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
Old 15th October 2009, 09:22 AM   #1
fairdoes
VIP Contributor
 
fairdoes's Avatar
 

Join Date: Dec 2004
Location: Cornwall UK
Posts: 235
Default Add Php To Existing Html Pages

Robert said some time ago
Quote:
I know how to make changes to .htaccess file to get server to handle .html pages with php code.
. Which is good news for me - because it's exactly what I need to do, and it ain't working!

Could a kind soul please show the htaccess example here, so that it's easy to find?

please?

__________________
Short Stories Short stories book reviews, vinyl lps, videos, artists showcase, poems, songs.
arts and crafts paintings and photos
fairdoes is offline   Reply With Quote
Old 15th October 2009, 09:24 AM   #2
fairdoes
VIP Contributor
 
fairdoes's Avatar
 

Join Date: Dec 2004
Location: Cornwall UK
Posts: 235
Default

p.s. the post is here:

http://www.smallbusinessbrief.com/fo...ad.php?t=13167

__________________
Short Stories Short stories book reviews, vinyl lps, videos, artists showcase, poems, songs.
arts and crafts paintings and photos
fairdoes is offline   Reply With Quote
Old 15th October 2009, 09:30 AM   #3
Logan
Administrator
 

Join Date: Jun 2004
Posts: 5,898
Default

dunno, haven't done myself. i started with php for all mine. but can you post the code you have tried here and we'll try to help along. in the mean time i'll nudge robert to give him the heads up to post when he gets a chance.

__________________
Free Links - Promote Your Website For Free
Online Guide - Directory Of Free Stuff Online
Logan is offline   Reply With Quote
Old 15th October 2009, 01:15 PM   #4
fairdoes
VIP Contributor
 
fairdoes's Avatar
 

Join Date: Dec 2004
Location: Cornwall UK
Posts: 235
Default

thanks logan. i can relate to 'when he gets the chance!'

i could make some php pages from scratch, which will help, but being able to include recent posts, recent comments, etc in a form other than javascript (I.e. in a form that spiders read the links, rather than just the feed url) makes such a difference. Once upon a time Blogger used to do this - i guess it was just too dammed popular!

__________________
Short Stories Short stories book reviews, vinyl lps, videos, artists showcase, poems, songs.
arts and crafts paintings and photos

Last edited by fairdoes; 15th October 2009 at 01:16 PM. Reason: naughty word
fairdoes is offline   Reply With Quote
Old 15th October 2009, 03:40 PM   #5
Robert
Administrator
 
Robert's Avatar
 

Join Date: May 2004
Location: Houston, TX
Posts: 3,403

Default

First, be sure and back up your .htaccess file so if something goes haywire you can quickly put the old one back. Messing with the .htaccess always makes me nervous so be very careful.

Here is what I have near the top of my .htaccess file:

Code:
removehandler server-parsed .html .htm
addtype application/x-httpd-php .html .htm

BUT
... the memory is going and I can't recall if any changes on the server were needed. Hopefully some hosting pros will jump in to clear that up.

__________________
Small Business News - You've never seen small business news delivered like this!
Free Business Forms - Download free business forms you can customize
Robert is offline   Reply With Quote
Old 16th October 2009, 02:55 AM   #6
fairdoes
VIP Contributor
 
fairdoes's Avatar
 

Join Date: Dec 2004
Location: Cornwall UK
Posts: 235
Default

thanks very much, Robert. the web is full of spam pages about this that don't work. it's good to have an example that does.

__________________
Short Stories Short stories book reviews, vinyl lps, videos, artists showcase, poems, songs.
arts and crafts paintings and photos
fairdoes is offline   Reply With Quote
Reply

Bookmarks


Similar Threads
Thread Thread Starter Forum Replies Last Post
5 Tips for HOT Yellow Pages Ads Linda Print Advertising 12 14th January 2010 10:50 PM
Parse .html Pages For Php Code Robert Website Development 7 15th August 2007 04:46 PM
Sample Of Google Hacks.. Makes you think about how people will begin to search Chris Search Engine Optimization 0 10th November 2004 12:42 AM
Dramatic reduction in fully indexed pages with Google donbmj Search Engine Optimization 6 22nd September 2004 05:10 PM



Thread Tools

Get Updates
RSS Feeds:
RSS Feed for Website Development RSS for this Category Only: Website Development

RSS Feed for Small Business Ideas Forum RSS for Entire Forum

Get Our Newsletter:
Receive our weekly digest of the best small business articles & discussions.

Forum Rules
Sponsor



Sponsor






More Info
Small Business News
Small Business Articles
Small Business Resources
Small Business Software
Small Business Opportunities
Small Business Loans
Glossary
Link To Us
Advertise
Newsletters
Small Business Brief Newsletter
Search Engine Marketing Newsletter
Ebooks
3 Little Things (and 1 Big Thing) to Create Winning Web Copy
Best Damn Web Marketing Checklist, Period!
Zero Dollars, a Little Talent and Thirty Days
Six Figure Blogging
Keyword Research Guide
The Step-By-Step Copywriting Course
Link Building Secrets
Drop Ship Wholesalers Directory
Destination Search Engine Marketing
E-Marketing Performance
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
Forum Jump


Our volunteer moderators and their sites:
David Wallace
SearchRank - Organic Search Engine Optimization
Old Welsh Guy
Internet Marketing from Wales in the UK
thejenn
Search Engine Guide - The Small Business Guide to Search Engine Marketing
StupidScript
FraternityMed.com - Health, Illness and Wellness information for young people.
copywriter
Karon Thackston The Step-by-Step Copywriting Course & Learn Copywriting Directory
St0n3y
Search Marketing Results - Pole Position Marketing!
Search Marketing Info - (EMP) E-Marketing Performance
torka
NineYards.com: Helping Businesses Do Business Online
Karri
snap! virtual associates inc. - Internet marketing services for the progressive entrepreneur.
Matt McGee
Small Business SEM - Web marketing discussion for small businesses.
ChristineG
Free Online Marketing and Social Media Tips: Social Media Simplified for Small Business Owners
Logan
At Your Business - Forms & Online Help
Free Links - Free Advertising
Debra Mastaler
Alliance-Link
The Link Spiel Blog
Crimson Fox
Graphic Design and Brand Promotion and the Brand Design Blog

All times are GMT -6. The time now is 10:37 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2004 - 2009 K. Clough, Inc.