Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2005

    Oh ! Search Engine Friendly URL's a big problem

    Hi every one!
    I want to change my database links into search engine frindly urls i.e html or htm . All links generted from datbase but crawl in search engine as .html extension. some where on net i read we can do this with our .htaccess file
    In this file we rewrite engine technology and all cat and Id database link change into .html format. if you have any idea or example about this then please write here for me and all other seekers.

    Thanks waiting your possitive responce
    main riz

  2. #2
    Join Date
    Dec 2002
    chica go go
    Here's some code i use:

    RewriteEngine On
    RewriteRule ^posts/(.*).html$ /view.php?id=$1 [L]

    What this does, is whenever someone accesses, it accesses, and then presents the result as if it's really being brought by a file in the /posts/ directory.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts