View Single Post
  #1 (permalink)  
Old 08-20-2008, 12:28 PM
mryang's Avatar
mryang mryang is offline
WebProWorld Pro
 
Join Date: Jul 2003
Location: uk
Posts: 149
mryang RepRank 1
Default Rewrite for SEO purposes - php to html

Hi,

Hope someone can help me achieve the following.

I have my dynamically generated pages using php - for example:

dvd-and-media.com/cartridges_purchase.php?Model=HP+Photo+Smart+P1115

And then I have written a piece of code to get the following, basically it replaces the 'cartridges_purchase.php?Model=' with 'Inkjet-Cartridges-' then it replaces the '+' signs in the rest of the URL with '-' and adds a html extension - so I then end up with the following URL

dvd-and-media.com/Inkjet-Cartridges-HP-Photo-Smart-P1115.html


However what I need to do is have google find the .html pages instead of the php ones and serve up the html ones when the users click though to my ink products.

I presume I need some sort of mod rewrite and some adjustment to my robots file - help please!
__________________
http://www.dvd-and-media.com/ Largest suppliers of DVD cases in the UK
http://www.talkangling.co.uk/ Busiest fishing tackle and angling chat site in the UK
Reply With Quote