TJR Forum
Tech news
at TheJemReport.com
Software reviews
at SoftwareinReview.com
Hardware reviews
at HardwareinReview.com
Discuss technology
at TJRForum.com
Go Back   TJR Forum > Software in Review > Operating system and software troubleshooting
FAQ Members List Calendar Search Today's Posts Mark Forums Read
» Advertisement
» Newest Posts
LG announces one-touch...
Today 04:32 AM
by tech99
Last post by tech99
Today 04:32 AM
0 Replies, 1 Views
Philips Fidelio Speaker...
Today 04:32 AM
by tech99
Last post by tech99
Today 04:32 AM
0 Replies, 3 Views
ODYS Showcases A New...
Today 12:26 AM
by tech99
Last post by tech99
Today 12:26 AM
0 Replies, 5 Views
IFA 2010: Hands on:...
Yesterday 03:45 PM
by tech99
Last post by tech99
Yesterday 03:45 PM
0 Replies, 9 Views
In Depth: How to make...
Yesterday 08:33 AM
by tech99
Last post by tech99
Yesterday 08:33 AM
0 Replies, 10 Views
IFA 2010: In pictures:...
09-04-2010 01:27 PM
by tech99
Last post by tech99
09-04-2010 01:27 PM
0 Replies, 22 Views
HP eStation C510 Printer...
09-04-2010 08:57 AM
by tech99
Last post by tech99
09-04-2010 08:57 AM
0 Replies, 22 Views

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-17-2003, 04:03 PM
Valour's Avatar
Valour Valour is offline
Administrator
 
Join Date: Jan 2002
Posts: 6,302
Some tips for web programming

Well I've learned a thing or two about web programming since I started, and as at least one person here is starting a new website I figured I'd post some of the "Secrets" I've learned in my tenure as webmaster:

1. Always use the .PHP extention instead of HTM or HTML. Browsers won't know the difference, and someday when you want to put dynamic content on your site you'll kick yourself for not thinking of this earlier. Don't bother with ASP; most web hosts use Apache, which uses PHP. It's possible to use Apache on a Microsoft OS, but it is not possible to use IIS on a non-Microsoft OS. So use PHP instead of ASP.

2. Use directories to your advantage. Organize your content in a logical manner. It's a real pain in the ass to do a bunch of redirects when you want to reorganize your directory structure further down the line.

3. For better search engine results, make sure each page has a title and a description and use META keywords for terms not listed in your content. Check out my robots.txt and view the source of the Lab 64 page to see a good example of a decent HEAD section.

4. Want Google to notice you? You need to be linked from bigger sites.

5. The .htaccess file can provide compression for some files. This effectively saves a lot of bandwidth. Here's an example of a good .htaccess file:
[code:1]RewriteEngine on
RewriteBase /
RewriteCond %{HTTP:accept-encoding} gzip
RewriteCond %{REQUEST_FILENAME}.gz -f
RewriteRule ^(.+)$ $1.gz [L][/code:1]

6. Always assign styles that are used more than once to a CSS file. If you ever want to change the look of your site you can much more easily accomplish this by changing your style sheets rather than editing every single page on your site.

7. Submit your site to DMOZ (www.dmoz.org) and other major search engines by hand. Don't pay a service to do it for you; it's a waste of money and the other 1200 seach engines don't matter.

8. If you have some money to spend and want to jumpstart your search engine traffic, buy some Google Adwords ads and some Overture ads. Don't bid too high as your account will be depleted quickly. Also put a Google search window on your site -- this will help Google notice you in a big way.

-Jem
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ogg Vorbis tips needed. Oopla Hardware recommendations 2 01-26-2005 08:19 PM
Interesting /. post on programming languages Valour General Discussion 0 07-29-2004 01:05 AM
Split: Survival tips Oopla Operating system and software troubleshooting 4 02-23-2004 11:02 PM
Learn C programming Valour Cool Websites 1 12-11-2003 05:15 PM
New programming service chadg803 Cool Websites 4 08-07-2003 10:22 AM

» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 16
0 members and 16 guests
No Members online
Most users ever online was 548, 11-01-2007 at 04:58 AM.
» Stats
Members: 891
Threads:
Posts:
Top Poster: ()
Welcome to our newest member, amber
» Advertisements
Powered by vBadvanced CMPS v3.0 RC1

All times are GMT -4. The time now is 05:41 AM.


All original content is copyright 2002-2007 JEM Electronic Media Inc. Comments and forum posts are owned by the person who posted them.