htaccess – WordPress redirect to new domain name


I would like to redirect my WordPress website to a new domain but I want to do it correctly with .htaccess file. I want to redirect only the brands page, products pages, product categories, product tags and the images. What should I should put in the .htaccess file?

My Permalink Bases Links

My Product Base Link

There is also another issue. I am using GTRANSLATE to have my site in multiple languages. and they are using the same bases. For example https://website1.example/es/p/xxxxxxxxxx for products.

I want to do this in order not to hurt my SEO.

OUALID 2 years 2022-06-17T14:07:19-05:00 0 Answers 0 views 0

Leave an answer