-
AuthorPosts
-
September 9, 2014 at 5:15 am #315597
I had been using a temp url from hostgator while I was building my site. Now that it has almost reached completion I have pointed the domain name at the hostgator servers. This works fine for the homepage i.e. but it doesn’t update the whole site. Is there any way of updating the whole site so each page will auto change from the temp URL to (example).
Also any idea why the search icon (magnifying glass) doesn’t look right on the site?
Thanks,
- This topic was modified 4 years, 1 month ago by Rikard.
September 10, 2014 at 2:22 pm #316584Hey keifygeorge!
It depends on what the home url was set in your WordPress settings and what, if any, changes were made on the database side. So a bit hard to answer without more information.
It sounds like it might be a permalink issue where they just need to be refreshed (http://codex.wordpress.org/Using_Permalinks#Fixing_Permalink_Problems) but it could also be a case where urls were not set to relative links and in those cases the url would need to be changed manually on links.
So if that is how you have menus set up then they need to be manually changed. The same with all other manually created links.
Cheers!
DevinSeptember 10, 2014 at 3:59 pm #316685OK but how do I change them manually because usually it only allows you to change the end of the url and not the complete address. If you have a look at the website you will see what I mean.
- This reply was modified 4 years, 1 month ago by Rikard.
September 10, 2014 at 5:12 pm #316763Hey!
I recommend to use WP MigrateDB or WP MigrateDB PRO to batch replace the urls in the database. Use the “domain replacement” feature to replace all occurrences of http://50.87.144.17/~erukus/hammocks with in your database and then export the database sql file. Afterwards make a backup of your old database, delete the database data/tables and import the database file you exported with the migrate plugin.
Regards,
Peter- This reply was modified 4 years, 1 month ago by Rikard.
September 22, 2014 at 2:14 pm #322996I have tried installing a following the instructions in the link below but when I go to Tools the WP MigrateDB or WP MigrateDB PRO option is not there. In settings there is an option to ‘Migrate Site’. Any ideas why this is the case?
http://code.tutsplus.com/tutorials/migrating-your-wordpress-database-wp-migrate-db-production-to-development–wp-32684Perhaps you could explain how I go about ‘Domain Replacement’.
- This reply was modified 10 years, 2 months ago by keifygeorge.
September 22, 2014 at 9:10 pm #323286If the plugin is installed *and* active then it will show up. If it isn’t then you need to make the plugin active.
That will create the sql file you can then import to your new site.
Domain replacement is part of that plugins steps for exporting the database.
September 27, 2014 at 10:57 am #325920OK Thanks I had installed the wrong plugin. Please can you advise what I replace the root folder (New File Path) with as per the attached screenshot.
I understand that when I input that info I then Migrate which creates an sql file. I then backup my site with a backup database plugin and do I then do a clean with WPDBSpringClean before importing the sql file?
Will that then change all the URL’s on my site?
Thanks,
September 27, 2014 at 10:58 am #325921September 27, 2014 at 12:09 pm #325938Hi!
1) Yes the plugin will replace all urls.
2) No, you don’t need to clean the database with SpringClean…
Best regards,
PeterSeptember 27, 2014 at 4:47 pm #325969Hi Please can you respond to my question about what to replace the root folder with. Also how do I import the SQL file?
September 27, 2014 at 5:20 pm #325973Hey!
There are many tutorials available online which can walk you through the process but it isn’t one that we can do via support. It depends on your specific setup and hosting provider.
Best regards,
DevinSeptember 30, 2014 at 2:44 pm #327254OK I understand you do not provide support for the plugin. Everything online seems to focus on transferring a site from a local host to online or from one site to another. I am just trying to replace the URL’s and cannot find anything on domain replacement. Hostgator have suggested that i use the find and replace url – will this work? I am afraid that I will make changes and not be able to get back what I had.
Also I have another issue in that since the site has been changed to the search icon (magnifying glass) has become distorted. You can see the difference here:
http://50.87.144.17/~erukus/- This reply was modified 4 years, 1 month ago by Rikard.
September 30, 2014 at 3:05 pm #327280Find and replace will most likely not work. If you do a database export and then re-import it in that would do it.
Its actually how I would do it if it was for a client of my own.
September 30, 2014 at 3:32 pm #327304OK I have done the export but don’t know how to import? Also another post said I need to delete database data/tables and I am not sure how to do that. Please would you tell me.
September 30, 2014 at 3:39 pm #327319It depends on the server and how you access your databases. Typically that would be phpmyadmin and your hosting provider will be able to point you to it.
Beyond that I would strongly recommend you watch the video from the tutorial you linked above: http://code.tutsplus.com/tutorials/migrating-your-wordpress-database-wp-migrate-db-production-to-development–wp-32684
It walks you through what I’m saying so you can see it.
October 12, 2020 at 8:42 am #1252197This reply has been marked as private.October 13, 2020 at 7:07 am #1252454 -
AuthorPosts
- You must be logged in to reply to this topic.