DesignEx
Regular Member
- Mar 11, 2011
- 268
- 55
I have a database that I wanted to use to populate a bunch of different pages, but instead of showing url.com/phpscript.php?query=XXXXX, I wanted it to process url.com/category/XXXX.html
I have it working, but my problem is that Google is still indexing the PHP script with the query (and it's appearing in the toolbar as well).
My .htaccess looks like this:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^category/(.*)\.html$ /category.php?string=$1 [NC,L]
Any idea on how to make this look like 100% HTML from the outside?
I have it working, but my problem is that Google is still indexing the PHP script with the query (and it's appearing in the toolbar as well).
My .htaccess looks like this:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^category/(.*)\.html$ /category.php?string=$1 [NC,L]
Any idea on how to make this look like 100% HTML from the outside?