Hi,
I am replacing a static site with a silverstripe one.
I have a static url http://www.mysite.com/products/product-one.html and the silverstripe page for this url is http://www.mysite.com/product-one/
the file structure on the backend of the silverstripe cms is /products/product-one/
I have tried a 2 redirect methods:
This: RewriteRule ^products/product-one.html product-one [R=301,NC,L]
and
This: Redirect /products/product-one.html http://www.mysite.com/product-one/
When I enter the static url in the browser it redirects to http://www.mysite.com/products/product-one/ which cause all sort of page layout errors, why can't it redirect to http://www.mysite.com/product-one/ ?
Help anyone?
Thanks.