It looks like some of your old site links are there in the database. Thats why it is redirecting to the users to the old site.
My suggestion would be use this
https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
Its a kind of php script. Be sure to keep the database backup before using it. This script will make search and replace the strings from the database. After that just update your permalinks.
Hope this will help you.
Related Posts:
- Preventing Canonical Redirect for CDN
- How to prevent automatic redirection of 404 errors and “incorrect” URLs?
- Disable WordPress URL auto complete
- Redirect user to original url after login?
- Disable ONLY URL auto complete, not the whole canonical URL system
- User redirect to destination URL after login
- Redirecting WordPress /.htaccess / HSTS / SSL
- Site redirects to wrong url when saving settings
- Why does WordPress automatically redirect URLs with the parameter “name=” to a different page?
- How to setup 301 redirects for multiple query string URLs?
- How can I move/redirect single blog posts from one blog to another?
- 302 redirect instead of 301 after switch to HTTPS
- Login to wp-admin “redirect_to” points to wrong URL after migration
- Stop unwanted WP redirection to new url
- How does WordPress redirect to WooCommerce shop page? [closed]
- Does WordPress automatically redirect url without parent slug?
- Redirects from Tumblr to new WP
- How to redirect visitor to a custom URL using PHP code in functions.php
- Redirect home to another page with htaccess
- Why does wp_redirect strip out %0A (url encoded new line character) and how do I make it stop?
- How to redirect URL with subfolder to the same URL but without subfolder?
- How to redirect a page into file?
- How to redirect after login getting a variable from url (for example with the language)
- How can I replace my primary url globally with a parked one?
- How to use a custom domain?
- Changing siteurl and homeurl – internal links redirect to home page?
- URL redirect problem
- Adding rewrite rule dynamically for search results redirecting to 404 URL
- Force WordPress to load from site’s hostname
- How to redirect to clean links with this code
- Can’t control WordPress Addresses from admin panel
- reducing number of URL Redirects and increasing speed
- URL masking of subdomain to main domain using .htaccess
- Disable WordPress URL auto complete
- Redirect user to original url after login?
- Permalinks settings
- About to migrate site to new domain
- Redirect non existing page to frontpage
- W3 Cache redirects to front page when I press purge all caches
- store URL global before we redirect
- How to redirect the frontend of a WordPress site (only)?
- WP_List_table with form of method=GET redirects to wrong url after submit
- Redirect old URL (with different post ID) to new URL
- WordPress localhost site always redirect to live site [closed]
- How to fix automatic redirects?
- My redirect URL doesn’t show any pages on my website [closed]
- WordPress Domain redirects to different host
- Forced Redirect on a server migration
- Site Address and WordPress Address settings when using a load balancer
- URL redirection
- Erase the HTML website and replace it with a WordPress website -301 Redirection
- URL redirect regular expressions redirecting all after first viriable
- Disable WordPress URL auto Redirect
- How to get user details by name
- I get “too many redirects” problem when migrating localhost site
- Redirect only PDFs in different folders?
- How to disable WordPress URL autocomplete / recognition?
- How to manage around 90k 301 redirects after migration from old CMS
- change home_url and site_url but don’t redirect to home_url and site_url on load
- using wp_rewrite but keep the original url in the address bar
- I’ve move my site but URL still goes to the old site
- Redirect based on $_GET parameters
- International characters in slugs to redirect to
- Displays url’s twice and getting 404 errors after activating
- Rewrite rule for incoming urls
- URL Custom Rewrite
- How to handle expired assets/content when user has direct URL
- How to change Ugly link?
- Redirect ignore last URL segment
- After migration index page still redirects to old url
- How to change the default location where new post gets stored?
- How to redirect non-logged in users to a specific page?
- Best way to handle redirects
- $_SESSION variables lost during OAuth callback
- Redirect user after logout
- 302 redirect to signup with nginx reverse proxy
- Redirect HTTP to HTTPS
- Deny access to a path (give 403 or 404 response)
- How can I redirect a URL to an anchor link while maintaining the URL?
- How to remove duplicate and unnecessary part in a url using htaccess and regex?
- Redirect “http://old.net/category/postname” to “https://new.com/postname”?
- WP page 404 error only on mobile
- Changing the website URL to the root folder
- How to prevent redirect 301
- How to redirect wp_login_form to new page after user loged in?
- How do I Redirect Tags from Old Joomla Site to New WordPress Site?
- Whenever I try to publish a post in wordpress, I always get redirected to the installation page…why?
- Old missing file in wp-content/uploads/ returns a 500 error, how to catch and redirect?
- Relink Drupal Permalinks “…node/XXXX” to wordpress Permalinks (e.g./audio/)
- Redirect Image URL to it’s parent post
- Redirect user if they are logged in
- Redirect not work
- There is 1 redirect
- Redirect HTTP request to HTTPS request
- All new posts serving 301 redirect
- Tag archive page not working
- Custom redirects with using SQL
- wp_login_form: Redirect to dynamic url according to username
- Plugin redirects URL structure using 301 redirect. Time to disable the plugin?
- Redirect a WP to another with all URL