Howto Use URL Rewriting for PHP Web Applications


Options +FollowSymlinks
RewriteEngine on
RewriteRule ^files/(.+)/(.+).tar.gzip download.php?section=$1&file=$2 [nc]

Would allow you to present a link as:

http://site.com/files/games/bubble.tar.gzip

and in the background have that translated to..

http://site.com/download.php?section=games&file=bubble

Related posts:

  1. Top 10 Free Windows 7 Applications
  2. .htaccess Generator
  3. Compressing mysqldump output – mysql, gzip, bzip2 and LZMA (7z)
  4. Howto Secure Apache
  5. Howto install HipHop for PHP on Ubuntu
  6. Ubuntu Howto: Install Sun Java
  7. Howto: Office 2007 on Linux with Wine
  8. Linux Enterprise use in Denmark
  9. Howto Install Sun Java on Debian Etch
  10. Monitor Configuration Files

Comments (8)

Search Engine Optimization Without The Bullshit

Before you launch your site, you should have done the following:

  • Optimized your title tags on each page to contain 1 – 3 keywords
  • Created unique Meta Tags for each page
  • Used appropriate markup where necessary
  • Used keywords liberally yet appropriately throughout each page
  • Designed the navigational structure of the site to channel PR to main pages (especially the homepage)
  • Used Search Engine Friendly URLs (if necessary)
  • Created a complete website with plenty of quality content
  • Used keywords in your domain and url (http://www.keyword1.com/keyword2/keyword3.html)

Immediately after launching your site you should do the following:

  • Submit your site, by hand, to all major search engines
  • Submit your site to all free directories – dmoz, yahoo
  • Begin a link building campaign (attempting to get keywords in the reciprocal link anchor text)

Finally, as part of an ongoing strategy:

  • Continually update your website with quality content
  • Continually seek free and reciprocal links preferably from sites in your genre

Related posts:

  1. Fancy Free Photo Search Engine
  2. Top BitTorrent Search Engines
  3. Free Windows Vista Themes
  4. MySQL Performance Monitoring and Optimization Tools
  5. Top 5 Free Wallpaper Download Sites
  6. List of Websites with Free Stock Photos and Images
  7. HTML Entities Reference
  8. Avoid Spam in Input Forms
  9. Howto Use URL Rewriting for PHP Web Applications
  10. Great free icons and icon packages

Comments (2)