If you use the Redirection plugin, you can just setup a regex redirect from (www.)?olddomain.com to www.newdomain.com (you should be using www., it’s better for SEO as it helps page load time. and that single rule should pretty much do it for you.
You can do this same thing in .htaccess, and it would be more efficient, but I couldn’t tell if you had the capability for that or not, rewrite rules as follows should get you most of the way there (assuming you have the capability):
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*)$ http://www.newdomain.com/$1 [L,R=301]
Related Posts:
- Page with redirect
- Redirection plugin – how to let the editor access the ‘redirection’ menu?
- SSL redirect loop using WordPress HTTPS Plugin
- Redirection Plugin: Redirect all URLs with a regular expression
- How are plugins in the WordPress plugin directory ranked?
- A plugin for having rel=”nofollow” in posts?
- flush_rewrite_rules not working on plugin deactivation, invalid URLs not showing 404
- Can Not Redirect from Plugin-Registered Admin Page
- Detecting $_GET parameters from any page + Cookie
- How to send “Location” header on plugin form submit event?
- How to add nofollow on all external links without plugin?
- Custom url structure for custom template
- wordpress custom login successful redirect hook
- Can’t access my WP dashboard: fatal error? [closed]
- WordPress web page struggling with performance
- How to redirect Old Post URL to new Post and keep Old post Comments?
- Redirect all blog links from WordPress.com site to new domain
- add_filter the_content in functions.php not working
- XML sitemap over product variations
- Regenerate images with automatic ALT and TITLE attributes
- How to set a custom title per language?
- how can I link to a PlugIn admin-sub-menu page after processing a formular
- google conversion code
- Changed permalink structure. Need help with redirecting old posts
- WordPress Redirect Not Working – AJAX Callback Response Not Picked Up
- Landing Page Redirect Chain | http->https->https www
- How can I check if on specific plugin generated page or child
- Page Restriction and Redirect for Particular Levels or user
- qTranslate conflicts with SEO-plugins [closed]
- how to create site exit messages with destination url displayed
- How to redirect a URL with parameters?
- Redirecting a buddyboss profile tab to a different tab if not subscribed to a specific membership
- Redirect already logged in users away from a page to a specific page base on user role
- Yoast SEO plugin “could detect no serious SEO problems” on dashboard
- WordPress Sitemap including pages that aren’t there
- How to fix the woocommerce – adaranth.com redirection issue [closed]
- install robots.txt to wordpress website admin
- Show Sitename on Yoast SEO Title tag [closed]
- Help in using SEO Plugins: SEO Ultimate And Yoast SEO Plugin
- Removing Automatic Redirects Without Plugin
- Yoast SEO settings unavailable in an archive page from wordpress plugin
- WordPress 4.3 broke meta redirect (with url params plugin)
- Edit Permalink Structure For Custom Post Type or Modify .htaccess?
- how to connect the author profile with google webmaster tools in multiuser blog?
- Mask and Track Outbound Links
- XML Sitemap Generator can’t notify google and bing
- Add to array, redirect and display
- Site shows URL instead of “meta title” after deleted few plugins (not any SEO plugin was deleted)
- Conditional custom redirect
- Making the ‘add to cart’ button redirect to PayPal
- How to force load a page in plugin?
- wp redirect 301 not working in wordpress page
- WordPress Sitemap for MSSQL
- custom wordpress theme and yoast seo injecting text in body
- Redirect unloggedin users
- login form should redirect to register page for in 1st login next time it should redirected to home page
- www redirects to another directory in wordpress
- Hidden permalink different from displayed permalink
- redirect to homepage once action is completed
- Remove Keywords From Webpage But Still Use for SEO
- Does anyone know why my SEO and title become one?
- Redirect to a page while maintaining search query parameters without causing an infinite loop
- How page with random php file with query params generated
- My wordpress local urls is still displayed even moved to live
- Can’t add new plugin or themes on a wordpress multisite network from the primary site as administrator. Error: ERR_TOO_MANY_REDIRECTS
- How to update all in-site redirect URLs to destination URLs at once
- How to send new visitor to a splash page for only one time in wordpress?
- Writing SEO for Homepage when homepage is set to display latest posts
- WordPress Admin login redirect to homepage
- SEO Site Title appearing in google search despite not being added
- Why is my site still showing insecure icon even if I have SSL certificate?
- Reverse count page view and show on other page
- redirect to a custom page
- .htaccess file doesn’t work, with hundred tries
- Infinite 301 redirects after definitions in “Redirections” plugin?
- Same Title on two different post type with single custom taxonomy
- Yoast Seo Plugin meta title not showoing [closed]
- Clone a Post Tite and Custom Field into Custom Post type
- Problem with Duplicate Meta / tag description in Webmaster Tool [duplicate]
- How to redirect from plugin page
- Template redirect inside of plugin not redirecting
- Does Google detect files in the WordPress plugin directory
- Can’t redirect to previous page after using GET
- Need to change contact email depending where user is from
- How to link that “logged in” in “you must be logged in to post a comment” with custom login page on WordPress?
- Automatically set posts to NoIndex depending on category?
- Simple WordPress function / plugin to redirect a site
- getting image alt text via ACF plugin in WordPress [closed]
- How should I force WordPress to give proper name for the uploading images?
- Possible to change meta data single quotes to dobule quotes in yoast wordpress seo? [closed]
- Redirecting to page on form submit – Revue plugin
- De-index plugin files
- how to make wordpress remember my choice
- how to make yoast seo read text from custom fields in custom post type
- whole website redirected to another page
- Fatal Error in my WP “Call to undefined function get_option()”
- add to cart linking to add to cart page
- Rank Math Seo register custom xml url
- WORDPRESS ,Can’t load image of post when sharing post via facebook [closed]
- wp_logout function not executed