I have developed a WordPress webstore using Woocommerce which works fine on my dev server (e.g. dev.foo.com). However when I migrate the site to my live production webserver (e.g. livefoo.com) and point the live domain to the site the 'view basket' button which appears once you have added an item to your basket still links to the dev server (e.g. dev.foo.com/basket, instead of livefoo.com/basket). I have run a couple of search and replace plugins to update the mysql database to change any instances to the new domain but the problem still remains. Any ideas?
Thanks
Thanks for everyone's help. I ran through and checked permalinks, database etc. I finally found some hard coded lines in a woo commerce template page called 'footer-woo.php' which I replaced and everything now is working fine.
That sounds like you need to go to your wordpress setting and save your permalinks so it can be rewritten. if this does not solve the issue please export the database again and open it in wordpad and do a search for the link on your dev site to ensure that the database on the live server no longer has any of these links left in it. wordpad is very useful to use to check ur database file for these bad links. Good Luck
Related
I recently moved a wordpress website from one host to another and my homepage doesn't load. Its a standard homepage that shows my latest posts.
I tried disabling plugins and changing themes, but it still doesn't load up. Other pages on the website load up properly via direct link, but not the homepage.
Has anyone ever faced this? Any help would be appreciated.
Thanks
How are you trying to access the homepage?
Please make sure you have set the homepage as your front page under General -> Reading settings page.
See this image
Start troubleshooting from the very first thing go to setting and check whether the front static page is set with desired home page or not, secondly go to permalinks set it to default then reset to desired structure, third go to general setting double check the website new URL mention there is exactly same. After checking all these elements problem still existing so I must recommend you to re import the complete website all over again to avoid future hassles. There is nothing big rocket science behind migration you can use All-in-One WP Migration or follow the 3 steps WordPress migration guide. Sometime its happens when database or the core files are not import properly WordPress usually back fire many errors and exceptions.
I am experiencing a problem with the wordpress migration.
I held my website on localhost beofre (xampp server in computer). It all worked fine so I decided to move it to a real domain. The website is http://www.cupavortex.ga .
I exported the database from phpMyAdmin in xampp, and imported it in the new database in the wordpress site. wp-config.php is already configured
The only thing working is the homepage and the buttons.
The images are not appearing.
And when I try to click on any link it redirects me to the old addresses (for example, when I try to click on “Desfasurare”, it redirects me to localhost/CupaVortex/desfasurare because that was the old link. I can’t acces wp-admin nor any administrative tools but phpMyAdmin and FileZilla.
Also, the site is hosted at 000webhost.com, and yes, I modified the mysql name to mysql4.000webhost.com from localhost, and replaced utf8mb4 with utf8 in order for everything to work. I just want to find out how to replace the links, I don’t really care about the images.. Theme used is Astrid.
Thanks in advance
Have you updated your database 'home' and 'site' url entries? This is done in wp_options, both need to be the new base url! After that, if thats the issue, you'll probably want to refresh your permalinks in the wp-admin settings section.
Go Back to your old local host website for a sec.
Steps:
Go to Settings->Permalinks and set it to numeric values.
Check if you have not used a custom link inside the website for any images or post or anything. If you do then change it to the new numeric values from it.
Now just export the sql datasheet and website back up from old host to new host.
Make sure you update ALL absolute links to posts, images, files etc.. by running the following plugin: "Velvet Blues Update url's"
What this will accomplish is (according to own personal experience and taken from plugin developer's page is)
FEATURES:
Users can choose to update links embedded in content, excerpts, or custom fields
Users can choose whether to update links for attachments
View how many items were updated
Last edited by Dimitar Coklev on Feb 18, 2018
I have created a WordPress site (my first) but since moving the site to a new domain all the images and pages/posts are broken and return a 404 error. Ive ran search and replace but it doesn't seem to have worked.
www.phoenixworldwideent.com
Manual website migration is very difficult to do. So you can transfer your website in few minutes without any issues using duplicator plugin. you just need to installed the plugin and followed the installation wizard.
you can read or watch step by step video tutorial HOW TO CLONE WEBSITE TO NEW HOST USING WORDPRESS DUPLICATOR
Go to your dashboard, log in, go to settings.
Change the following:
Site Address
Wordpress Address
Save. That should work.
did you try save permalinks some times the problem happen because permalinks need update
other point if you can go to old site and use this plugin to move your site agin
https://wordpress.org/plugins/duplicator/
It turns out there were some issues with the httpd.conf file and httpaccess files. The permalinks and database details were correct. I got this outsourced in the end so not 100% sure what the issue was but I shall update this post with more info when I get it :)
I'm in the middle of moving Wordpress from localhost on my local machine to the live web. I modified the wp_options table's siteurl and home values to point to blog.site.com/. It worked the first time I entered this url, but subsequent url entries would not display the blog page.
Is anyone familiar with this problem?
It's not really straight forward to change the URL of a wordpress site after the initial install because the database contains references to the initial url.
Have you tried following the steps outlined in these pages?
http://codex.wordpress.org/Moving_WordPress#When_Your_Domain_Name_or_URLs_Change
http://codex.wordpress.org/Changing_The_Site_URL
You can use this script to update the DB referees from the old url.
https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
Once you change the url in the wp_options table and upload the new database, make sure the first thing you do is go into the live site and set your permalinks. Even if you just go in and click save. This should update the url accordingly. However, any links in the content areas, widgets, etc. will still need to be updated manually with the new domain.
There are also some tools to help with this type of migration. Haven't tried it yet, but have heard good things about WP DB Migrate Pro
I am having an issue that i have been unable figure out. The problem im having is when i login to wordpress admin and try ro customize the theme nothing displays besides the nav. I can edit pages, posts, basically do everything in The Admin except customize the theme. When i upload to a live server i dont have this issue. I'll attach a link to an image for visual reference.
I'm running wamp on windows 8 with wordpress 3.5.1. I added the plugin server buddy to check the setup and everyhing appears fine. Permissions were 755 and I temporarily set it to 777 to make sure wasn't that for any strange reason. One thing I notice with folders is if I look at properties read only is highlighted not checked and applying win't save the change. Could be because have them applied in advance security settings?
I have tried this with multiple themes all the same result.
Here is the screenshot.
http://i46.tinypic.com/qs0c2d.gif
Thanks in advance for any help.
I had the exact same problem. I was forcing SSL/HTTPS on the admin console as well. I turned off HTTPS on the admin console (still in use for my shopping cart) and all is well.