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!
|