Support » Fixing WordPress » Redirect to new domain – woocommerce issue

  • Hi,

    I am experiencing a weird issue.

    I want to move my whole website to a new domain. So I did this:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^olddomain\.co\.uk$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.olddomain\.co\.uk$
    RewriteRule ^/?$ “http\:\/\/www\.newdomain\.co\.uk\/” [R=301,L]

    define(‘WP_SITEURL’, ‘’);
    define(‘WP_HOME’, ‘’);

    and used Find and Replace plugin to change all mentions of the olddomain.

    However, I use Woocommerce plugin. Everything gets redirected properly, but woocommerce generated pages (products, shop homepage etc) – they just stay the same no matter what. How can I redirect that as well?

    Thank you for your help

  • The topic ‘Redirect to new domain – woocommerce issue’ is closed to new replies.