You’re doing the whole thing in a wrong way. First of all you should not redirect the domain to ftp server url.
You should point your domain using A record
or Nameservers
. Whatever option you have/works for you.
And then change siteurl
and home
url in your database with the new domain name. More Details about this process
And then use a plugin like Velvet blues update urls to replace old url’s with new domain’s url.
After doing these, your site should work fine.
Related Posts:
- 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
- Why does WordPress automatically redirect URLs with the parameter “name=” to a different page?
- How to setup 301 redirects for multiple query string URLs?
- Stop unwanted WP redirection to new url
- How does WordPress redirect to WooCommerce shop page? [closed]
- WP redirects all pages from new domain to old domain
- Does WordPress automatically redirect url without parent slug?
- Strange redirection issues on wordpress from ssl with padlock to ssl without padlock
- 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?
- URL redirect problem
- Adding rewrite rule dynamically for search results redirecting to 404 URL
- How to redirect to clean links with this code
- 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?
- Redirect non existing page to frontpage
- store URL global before we redirect
- WP_List_table with form of method=GET redirects to wrong url after submit
- Redirect old URL (with different post ID) to new URL
- How to fix automatic redirects?
- Preventing Canonical Redirect for CDN
- URL redirection
- Automatically switch language based on visitor’s country
- URL redirect regular expressions redirecting all after first viriable
- Disable WordPress URL auto Redirect
- How to get user details by name
- Redirect only PDFs in different folders?
- How to disable WordPress URL autocomplete / recognition?
- 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
- What’s the best way to redirect to a new wordpress website?
- Redirect based on $_GET parameters
- International characters in slugs to redirect to
- 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
- PHP header(Location: …): Force URL change in address bar
- WordPress Redirect All HTTP requests to HTTPS via .htaccess
- wp_redirect() function is not working
- My wordpress multisite homepage redirects to signup page
- Prevent access to single post types
- 301 redirect not working through .htaccess
- handling login/logout redirects
- 302 redirect instead of 301 after switch to HTTPS
- Redirecting to home-page when saving any edited code
- Temporary redirect prevents getting $_POST array
- Can WordPress redirect to a “similar page” in case of 404 error
- Hacked website redirect, only on desktop, help with restoring it [closed]
- Can I check for maintenance mode before redirecting to subdomain?
- WordPress blocking/preventing viewing of .cgi file in subdirectory [closed]
- How to target specific user role?
- How to auto login after registration? [duplicate]
- htaccess 301 Redirect not working for WordPress site
- Auto-detect the redirect url from the original url
- WordPress Auto-Redirecting on 404
- Redirect all users to dashboard unless custom post type
- Redirecting connection from IP to localhost
- How to redirect 40,000 urls with the same url structure efficiently?
- WordPress Permalink Problem 404
- Is there way to redirect all blog post pages to Home page?
- Interested in redirection techniques for one-page themes
- Select post from dropdown and add query args not working
- Trying to map a PURL like url to a page
- A question about .htaccess
- Can’t login to WordPress admin panel after changing domain to use WordPress pages as a fallback from React
- date based redirect in wordpress
- Applying ‘middleware’ to a url before redirecting? Does WP have built in mechanism for this?
- ERR_TOO_MANY_REDIRECTS when switching from good database to old database
- Redirect to /404/
- domain redirects to subdomain
- How to create multiple Rewrite-Rule for various site in single htaccess?
- how can i find malware code and remove from wordpress site to stop it redirecting to hackers click view pages
- Redirect after plugin activation
- Redirect affecting development folder
- how to write 301 redirect code for woocommerce product
- How to redirect 404s that generated for css&JS files?
- Custom, conditional redirect on logout
- login page not working [closed]
- Debugging a redirect loop affecting only certain pages
- Is there a way to have wordpress 301 versus 302 urls by default?
- noheader on the user/frontend side
- WordPress redirect from one directory to another but exclude wp-admin and wp-login.php
- WordPress site redirecting to developers URL
- How to use the HTTP API (wp_remote_get) instead of cURL?
- How to redirect users without permission to view content to a custom page?
- redirect the root of a domain, while leaving the www version unredirected