Wordpress URL change

I have recently moved my wordpress site from "test.xxxxxx.com" to "xxxxxx.com" They are both identical except I just want to get rid of the "test" portion of my url on my index page and all my links. They are both on the same FTP and server. I transferred my site and have the homepage url working correctly but when I click on any of the links it still says "test" in front of the url. I have tried a couple different search and replace plugins with no luck. Is there a better way to go about this?


Wordpress has a problem that it doesn't update the permalinks easily. So, maybe you will have to change the permalinks manually in the wordpress database.

Similar questions

How to change Wordpress dashboard login url to website URL?
I have a Wordpress website www.example.com Once a user goes to URL he sees Wordpress login page and below URL in the browser address bar. www.example.com/wp-admin/.... I want to change that so when people go www.example.com they see the login page and the url in the browser address bar remains same www.example.com or in other words I dont want that...
Change url with get parameters to url with path. Wordpress site
I have a wordpress site. It has a product page that shows some modifications of a product depending on GET parameter given. https://www.officeshop.co.il/product/product-name-1/?build=product-572 https://www.officeshop.co.il/product/product-name-1/?build=product-573 I want to make the url look like this: https://www.officeshop.co.il/product/product-...
301 redirect url with all url's that start with main url - Wordpress
We want to make a 301 redirect in the htacces in our wordpress installation for the following situation. This morning in our webmaster tools we see 8000 new 404 pages not found. In the image below we have made a printscreen. We do not know were these url's come from because we do not use this url structure. As you can see in the printscreen everyth...
Redirect URL's with example.com/blog?p=1234 to wordpress default URL (example.com/blog/actual-url-of-post) doesn't work in Safari
I have a website and WordPress blog on example.com and example.com/blog/ respectively. I serve the latest blog to my website through an API in which contains post title and post ID, with which I form URL example.com/blog/?p=1234. Everything works fine on every browser (example.com/blog/?p=1234 redirects to example.com/blog/actual-url-of-post) excep...
Possible to change the URL for the regular post type without affecting the URL of other custom post types?
The Dilemma I have a few custom post types: The URL structures for these custom post types are: I'd like to use the normal, built-in WordPress post type to control our blog entries, and have the URL for each blog entry be like this: If I go to Settings > Permalinks and adjust the URL structure to be like... ...then the URLs for all of my post types...
Change site url when moving site to another url?
Is it really neccessary to put WP_HOME, WP_SITEURL in wp-config.php or set these settings via admin panel every time when moving a WordPress instance to another url (for example: moving from dev environment to production)? Is there any better strategy?

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.