Website Redirection Issue
-
Hi All,
Like to know is there any better way to do 301 redirection. My Client whose website name is Online Plants created with OpenCart. Over the period of time he added nearly 10,000's of products and now he is cleaning them ( by grouping similar attribute under one products) which is right way to do.
For example , Product A with different size ( X,XL,XXL ) previously had 3 product entry ( A - X, A - XL, A - XXL ) , now he is moving all of them under one. So while moving he is deleting the other two entry. Now whats the best way to inform google . Putting a manual 301 redirection for each and every product is impossible as there are more products. Whats the best way to go ahead on this.
-
Hi Verve
It maybe possible to use "mod_rewrite" depending on how the URL structure was.
If each of these items were parameter based have a look at mod_rewrite cheat sheet and see if you can match an expression or condition for the various products that are moving.
Hope it helps,
Don
-
Hi Donford,
Thanks for your reply. We already tried your suggestion but didnt work. All I am doing now is redirection 404 error to home page
-
Hi there! While there's technically nothing wrong with redirection 404s to the home page, you might want to consider pointing them toward a 404 page, instead. Otherwise, visitors won't know why the link they clicked took them to the home page rather than to the page they expected, which isn't a great experience.
Just a thought, though.
