Forum Moderators: phranque
The existing rule :
RewriteRule ^detail-(.*)/(.*)\.htm product-detail\.php?prod_id=$1&prod_title=$2 The htaccess was not implemented from rollout so Google has already indexed a load of these product urls :
product-detail.php?prod_id=1 I am therefore trying to write different 301s individually in htaccess to clear up the duplicate content - but they don't work.
Fr'instance I've tried re-writing
product-detail.php?prod_id=1 /detail-1/prodtitle.htm Is the current htaccess rule causing the problem?
It gets worse.
I've tested and I can write a general 301 from terms.php to another page but even here something wierd is happening. The url is not changing - instead the content from the other page that I want to redirect to is being fetched and displayed under the url requested.
This has me worried that there is some server configuration error.
Can anyone with some experience shed some light?
This thread [webmasterworld.com] in the Apache forum library may be quite helpful to you if read carefully.
Jim