You could modify the servers htaccess file. Try this:
# This will redirect a subdomain to another domain
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.yourdomain\.com$ [NC]
RewriteRule ^(.*) http://shop.newdomain.com/$1 [L,R]
This should redirect anyone from the www. to the shop. domain.
Related Posts:
- redirects for removed/deleted woocommerce products
- Redirect After Delete User in Backend
- How does WordPress redirect to WooCommerce shop page? [closed]
- Redirecting Pages That No Longer Exist — But Could in the Future
- WooCommerce – Redirect to a product after login
- About to migrate site to new domain
- WordPress directing to Posts page (edit.php) instead of saving post
- Unable to access WP test site
- Woocommerce login to specific page or referrer
- How do make WordPress to let alone my static home page?
- PHP header(Location: …): Force URL change in address bar
- What does HTTP/1.1 302 mean exactly?
- php refresh current page?
- How to force a 404 on WordPress
- Disable front end to use as CMS only?
- Redirect Restricted Page to 404
- How to redirect non-logged in users to a specific page?
- How to prevent automatic redirection of 404 errors and “incorrect” URLs?
- How do I skip wordpress’s 404 handling and redirect all 404 errors for static files to 404.html?
- Disable WordPress URL auto complete
- Host the wp-admin on another domain?
- Redirect user to original url after login?
- When I change slug, will WordPress create redirect from the old URL?
- WordPress localhost site redirect to live site
- WordPress redirecting connections on port 8080 to 80
- WordPress Redirect All HTTP requests to HTTPS via .htaccess
- wp_redirect() function is not working
- Redirect entire website to a single page
- My wordpress multisite homepage redirects to signup page
- Logout redirect to home page
- Check IF is a “single product page” and Check the “role” for a Redirect
- Disable ONLY URL auto complete, not the whole canonical URL system
- Redirect Localhost wordpress site to dashboard
- Redirect page URL to home URL without using a plugin
- Why is WordPress redirecting from http to https on a local environment?
- Login redirect to previous page
- How to prevent redirect to ‘About’ after core upgrade?
- 301 redirect instead of 404 when URL is a prefix of a post or page name?
- Why is wp_redirect() preferable to a standard PHP header redirect?
- How do I programmatically generate a 404?
- Redirect to referring page after logging in
- how to override woocommerce specific loop or archive-product.php [closed]
- User redirect to destination URL after login
- Prevent access to single post types
- check first time login only
- How to check if is in cart page? [closed]
- Display single product attribute value on Shop page (Woocommerce)
- How to change the default logout link on WordPress Admin
- Stop WordPress from “guessing” redirects for nonexistent URLs
- WordPress install enters an infinite loop
- How to redirect a sucessful registration to a page template?
- How to configure nginx to redirect requests to the uploads directory to the production server?
- Get all products with a custom attribute
- Woocommerce add to simple product attribute programmatically [closed]
- WordPress HTTPS redirect loop
- Why am I getting a 301 on a existing post?
- Redirect to dashboard after login
- Make a video post redirect to next post after completion
- Old blog/ and blog/feed/ URLs not working after moving blog to top-level via .htaccess
- Non-WordPress page in subdirectory under WordPress page
- Creating custom Woocommerce attribute taxonomies from a plugin
- Force HTTPS using .htaccess – stuck in redirect loop
- How to redirect after login, the working way?
- Redirect old permalinks to new permalinks
- Keeps on redirecting on my development copy
- Password change when the user login first time
- Custom login form redirect to external site
- Redirecting WordPress /.htaccess / HSTS / SSL
- 301 redirect not working through .htaccess
- handling login/logout redirects
- Clarification on auth_redirect()
- Site redirects to wrong url when saving settings
- Get product details by url key in WordPress woocommerce
- How to redirect all requests to wp-login.php?
- Implementing global redirection (automatic redirect for all pages who had their slug changed)
- Correct way to hide pseudo pages from being shown?
- Redirect blog page to latest post?
- Redirect to custom url when registration fails?
- Why does WordPress automatically redirect URLs with the parameter “name=” to a different page?
- prevent/block direct access to a thank you page
- Exclude a path from WordPress using .htaccess redirects (Apache)
- Display a selected custom product option in WooCommerce cart
- Remember page before login page, redirect to that page after login
- WooCommerce create new product and add to cart on form submit
- Restrict Access to wp-login.php
- Where is the “default attribute” values located in the phpMyAdmin in Woocommerce?
- How to setup 301 redirects for multiple query string URLs?
- How to redirect url requests to https? [closed]
- Using `auth_redirect` : keeps asking me to login even when I’m logged in
- Htaccess redirect from ‘/%postname%.html’ to ‘/%postname%’
- Redirect to post after submission with Gravity Forms? [closed]
- How can I move/redirect single blog posts from one blog to another?
- Best way to handle redirects
- WordPress site redirects to different wordpress domain on the same server after reuploading db backup
- Redirecting old permalink to new one
- Need logged in users returing to site redirected to a separate page
- WP auto redirects after url change?
- Setting a redirect cookie in wordpress
- Index in root, wordpress in subdirectory
- Redirect www to non-www htaccess