SEO query link php to html

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sherman2000
    New Member
    • Apr 2010
    • 1

    SEO query link php to html

    I have a site with query:

    http://spiro.ir/Pic.php?s=book

    what's write to .htaccess for change this query to


    http://spiro.ir/Pic/book.html


    thanks alot
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    Please understand that .htaccess files have nothing to do with PHP - they are an Apache file.

    Anyway, please see this thread to get you started.

    Mark.

    Comment

    • Atli
      Recognized Expert Expert
      • Nov 2006
      • 5062

      #3
      Note that this change won't improve anything in regards to SEO. PHP scripts with query strings are indexed just as easily as static HTML files these days. (Assuming that you don't pile to much data into the query string.)

      The myth that rewriting dynamic URLs to static HTML files will improve your search engine ranks is not true. It may have been at some point, but not for many years.

      Rewrites like these are only meant for easy access by visitors; to make the URL easier for people to understand. (The robots are fine either way.)

      Comment

      Working...