You should change all occurences of this url in database. To do it you can:
- Export database to SQL
- Use some text editor to find&replace all occurences of
http://ex-ample.com
tohttp://example.com
- Import this new database to server.
The other option is to use http://wordpress.org/plugins/search-and-replace/ and replace all http://ex-ample.com
occurences.
This article should be helpfull too: http://codex.wordpress.org/Moving_WordPress#On_Your_Existing_Server
Related Posts:
- Redirect home to another page with htaccess
- How to redirect URL with subfolder to the same URL but without subfolder?
- 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?
- WordPress site redirects to different wordpress domain on the same server after reuploading db backup
- Stop unwanted WP redirection to new url
- Redirecting to home-page when saving any edited code
- How does WordPress redirect to WooCommerce shop page? [closed]
- WP redirects all pages from new domain to old domain
- Random and Erroneous WordPress Redirect
- Website redirecting to old domain name
- Does WordPress automatically redirect url without parent slug?
- All pages showing up as homepage on WordPress website
- Redirect one of two domains on one WordPress installation
- https multiple redirects
- How to redirect visitor to a custom URL using PHP code in functions.php
- Redirecting to old domain, tried everything, nothing works
- How can I redirect my website’s homepage to a random blog post?
- Why does wp_redirect strip out %0A (url encoded new line character) and how do I make it stop?
- How to redirect to home page after registration?
- How to set up a single portfolio page as home page?
- forward domain name to particular page?
- Any action in wordpress redirects me to home page
- How to redirect a page into file?
- How to redirect after login getting a variable from url (for example with the language)
- Changing domain
- WordPress Multisite Strange Redirect on Primary Site
- 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?
- A WordPress site with more than one domain name / Parked domains
- Redirect non existing page to frontpage
- store URL global before we redirect
- Extra Text in URL
- Redirect /home to home.php
- 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?
- My redirect URL doesn’t show any pages on my website [closed]
- How do I change the home page to the registered user’s profile page
- Missing domain http://./wp-… in redirects
- Preventing Canonical Redirect for CDN
- How to redirect all page requests to a single “goodbye” homepage? [duplicate]
- redirect second domain to static page
- Parked domain redirecting to wrong error404 page
- Add new post redirection [closed]
- How can I disable redirect domains?
- When i try to enter subdomain i’m redirected to main domain
- Can’t login to WordPress admin panel after changing domain to use WordPress pages as a fallback from React
- How to Redirect WordPress domain.com/?anyword to 404 Page?
- URL redirection
- How do I redirect the browser to 404 page, if no posts are found in home page
- Site using static homepage, redirects (301) and removes pluses from query string
- Automatically switch language based on visitor’s country
- domain redirects to subdomain
- URL redirect regular expressions redirecting all after first viriable
- Disable WordPress URL auto Redirect
- How to get user details by name
- After disabling Multisite, homepage redirects to non-existing page
- 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
- All devices on my network redirect me to an old domain
- Local domain remap with proxy : Infinite 301 redirect, bad URL typo
- I’ve move my site but URL still goes to the old site
- One set of Child Pages redirecting to Home page?
- Redirect based on $_GET parameters
- International characters in slugs to redirect to
- How to create short urls for sharing and downloadable content?
- Rewrite rule for incoming urls
- URL Custom Rewrite
- How to handle expired assets/content when user has direct URL
- WordPress Redirecting Form Action to Home Page
- How do make WordPress to let alone my static home page?
- how to get my WP site’s IP? [closed]
- How to change Ugly link?
- Redirect ignore last URL segment
- Is RewriteMod for WordPress site: site.ro -> site.com/?lang=ro possible?
- My Website’s Main URL redirects me to an Archive Page
- WordPress install enters an infinite loop
- Using `auth_redirect` : keeps asking me to login even when I’m logged in
- How can I move/redirect single blog posts from one blog to another?
- homepage redirects to login page when user session expires
- Redirect blog archive into certain format
- How to publish new posts/pages in root instead of subfolder, but keep old structure in place?
- !is_admin() condition turns true in admin pages
- How can I set up a splash page that is redirected to only one time for the visitor? [closed]
- How to regenerate RSS feed URL like FeedBurner?
- WordPress Staging site is redirecting to live and lost the child theme
- change home_url and site_url but don’t redirect to home_url and site_url on load