reindex google problem

Discuss practical ways rearrange URLs using mod_rewrite.

reindex google problem

Postby lusbal » Fri Oct 30, 2009 5:26 am

Hi friends:
Recently I changed all my dynamic links to static. I made several changes for a specific link, but now I want google only indexed my last change:

###1: First i do changed dinamic to domain.com/libro/id_product
RewriteCond %{HTTP_HOST} ^www.domain.com$
RewriteRule ^libro/([^/]+)$ /cgi-bin/path/store.cgi?action=link&sku=$1 [L]

###2: but then corrected i added new variable (domain.com/libro/id_product/name-of-product:
RewriteRule ^libro/([^/]+)/?(.*)$ /cgi-bin/perubookstore/store.cgi?action=link&sku=$1&titulo=$2 [L]

Note: all these rules are now in my htaccess.

However, google only indexed:
www.domain.com/libro/idproduct but no:
http://domain.com/libro/id_product/name-of-product

I have included my new sitemap in google but nothing.
How can I make google reindexed my last change?.
lusbal
 
Posts: 4
Joined: Mon Oct 19, 2009 4:52 am

Postby richardk » Fri Oct 30, 2009 11:16 am

To redirect /libro/idproduct to /libro/id_product/name-of-product you will either need a RewriteMap (if you have access to the httpd.conf file), seperate rules or a custom redirect script.
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am


Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 18 guests

cron