Hello I've modified my old website, and now need to remove the phrase "cheap-products" Some example url's randomdomain.com/product-1000-cheap-products/ randomdomain.com/product-1001-cheap-products/ randomdomain.com/product-1002-cheap-products/ How do I make it so it will forward (seo wise) to the following randomdomain.com/product-1000/ randomdomain.com/product-1001/ randomdomain.com/product-1002/ Thanks in anticipation!Q
Just redirect the url (301) i.e best. There are some other method also. But some features stopped working, like in SMF, WordPress etc
Hi, Your .htaccess file: RewriteEngine on RewriteBase / RewriteRule ^/product-([0-9]+)-([-a-zA-Z]+)/$ /product-$1/ Code (markup): Please test and let me know if it doesn't work.
Add the following lines to your .htaccess file: RewriteEngine On RewriteRule ^(.*)-cheap-products(.*)$ /$1 [R=301,L]