htaccess – WordPress redirect to new domain name

Question

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.

0
OUALID 6 months 2022-06-17T14:07:19-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse