Questions created by vividwebdesign
-
Url rewrite & 301 redirects
Hi all I am having some issues rearding url rewrites and 301 redirects with 1 and 1 hosting and am unsure of the best approach. The website is a custom made shopping cart system with categories and products. The current urls for categories are : index.php?l=product_list&c=1 The new url format required is : /banner-stands The current urls for products are : index.php?l=product_detail&c=1&p=1 The new url format required is : /banner-stands/banner-stand Thanks
Intermediate & Advanced SEO | | vividwebdesign0 -
Redirecting a working dynamic URI to a new static format
Hi all I am having some issues rearding url rewrites and 301 redirects with 1 and 1 hosting and am unsure of the best approach. The website is a custom made shopping cart system with categories and products. The current urls for categories are : index.php?l=product_list&c=1 The new url format required is : /banner-stands After a little bit of research I added the following into the htaccess file; Options +FollowSymlinks
Intermediate & Advanced SEO | | vividwebdesign
AddType x-mapp-php5 .php RewriteEngine On RewriteBase / RewriteRule ^banner-stands/?$ index.php?l=product_list&c=1 [R=301,NC,L] Which works but I have a few questions Question 1: Is this the best approach as there are 55 categories and 179 products to write redirects for Question 2: Or is it better to firstly add id=banner-stands into the url and then create 301 redirects to the new url and then rewrite the url. Thanks0