I hope someone can help me with these questions. Thanks in advance for reading!
1. My CMS can automatically create http://www.example.com/content.php?sid=282, but I want users to link to (and see) http://www.example.com/Cool-Page. I added the following line into .htaccess
RewriteRule ^Cool-Page$ http://www.example.com/content.php?sid=282 [R=301,L]
The problem is, whenever someone goes to /Cool-Page, the URL in the address bar still shows content.php?sid=282 instead of /Cool-Page. Is there any way to fix this in an SEO friendly matter?
2. I have several ways to describe a single page. For example, a product might fall into 2 categories:
http://www.example.com/Cat-1/Product.html and
http://www.example.com/Cat-2/Product.html
My CMS automatically creates the second Cat-2/Product.html page based on a product being added into 2 categories. Can htaccess help here to get rid of the second (duplicate content page) or should I fix the URL problem by removing the /Cat-2/Product.html directly?
1. My CMS can automatically create http://www.example.com/content.php?sid=282, but I want users to link to (and see) http://www.example.com/Cool-Page. I added the following line into .htaccess
RewriteRule ^Cool-Page$ http://www.example.com/content.php?sid=282 [R=301,L]
The problem is, whenever someone goes to /Cool-Page, the URL in the address bar still shows content.php?sid=282 instead of /Cool-Page. Is there any way to fix this in an SEO friendly matter?
2. I have several ways to describe a single page. For example, a product might fall into 2 categories:
http://www.example.com/Cat-1/Product.html and
http://www.example.com/Cat-2/Product.html
My CMS automatically creates the second Cat-2/Product.html page based on a product being added into 2 categories. Can htaccess help here to get rid of the second (duplicate content page) or should I fix the URL problem by removing the /Cat-2/Product.html directly?