Moving old wordpress.com site stats to a self hosted blog - php

I recently moved my old wordpress.com blog into self hosted blog with a my own domain name. So far I have done these things.
transferred my old articles and posts.
installed and activated the Jetpack plugin.
transferred my old blog followers with the help of wordpress support team.
And now I want to get transfer my old blog site stats into new one. Is it possible to do so? At least is there a work around for that?
Thanks in Advance

According to my research, albeit not too in-depth, the vast majority of results seems to point to this not being possible.
Please see -> here <- for more information.
Good luck!

Personally I do not use Jetpack for stats but digging into jetpack it seems that the stats are transferred based on the domain name.
Reference:
http://en.forums.wordpress.com/topic/moving-jetpacked-wporg-installation-to-another-site
So technically as long as you have the same mysite.com address it should retain the stats.
As for transferring wordpress over to your own server, I have done this a couple times and the one that seems to work the best for me is this process.
From Old Server:
Export MySQL database
Copy the whole file directory
From new Server:
Install a copy of Wordpress on your server (just to create the DB and file structure)
Empty the newly created MySQL DB and import the database from the Old Server.
Copy/Replace all files from the old server to the new one except for wp-config.php (since it has new credentials)
Lastly I go into wp-admin -> Settings and save the permalinks to have it resetup the .htaccess
Hope this helps.

Related

Redirect wordpress website to another site

I moved my wordpress website with updraftpluse backup plugin to another domain and now when I open new domain website redircet to Previous domain.
what can I do for fix this problem?
please help m!
Migration to a new domain is a different task from restoring a backup. Doing it correctly requires updating hyperlinks embedded in your site's content, as well as loading the site data onto the new server. It's quite difficult to update all the hyperlinks manually. But if you don't you get the results you mentioned in your question.
Updraft's paid version supports migration and automates the hyperlink update operations. So does Duplicator's free version.

Resolving urls on a Wordpress server using React

I'm working on creating a new React-based site to replace an old WordPress site. I have been creating directories within the wordpress server for the new sections I have been making. domain.org/about, for example, will go to the react files stored in the about directory. No problems there. The issue I am having now is for more complicated urls. I have set up react-router to handle lots of events by using an id to pull in information on a specific event. domain.org/events/event123, for example, should display information on event123. In development this works fine, localhost:3000/events/event123 will display event123. On the wordpress server, however, I get an error. I realize that this is because there is no event123 directory within the events directory on the wordpress server.
How can I configure wordpress to handle these urls? I realize I need to set something up so that any url that begins with domain.org/events will go to the react files in the events directory, but how I go about doing this while still passing along the event123 I do not know. Any help is appreciated. Apologies if my description is a bit confusing.
EDIT: I should add that the old parts of the site and new parts of the site have no connection to each other, other than the fact that they are hosted on the same server. Once the new site has enough content on it it will be moved to a new server and the wordpress site will be shut down.

Working with staging and Live url wordpress

I made my wordpress site live by moving it from the staging url (staging.example.com) to the live url(www.example.com).
I wont be working on the site anymore so I have to advice my client on how to manage things on his own from now on.
I have 2 options:
Let the client add blog posts directly on the live. When it comes to installing plugins or
any other changes that might cause the site to break, I can ask him to clone the live site by
using plugins such as wp-staging, test the changes on staging url and if everything works as
expected, then make the same changes in live.
I can ask him to make all the changes (adding posts, plugins etc.) on the staging url first and then transfer the
files to the live url. But how would we transfer the db from stage to live without overwriting the live db?
Also I used this script
to change the url in db but I dont want to let my client use that script because being a non-technical person,
I am afraid that he might end up deleting the entire files on the server or that he might forget to
delete the script after using it.
Or is there a better option? I am new to wordpress. Any help would be greatly appreciated. Thanks.
You could use a backup plugin like backupwordpress or any of the other popular options out there to backup the database and files on a regular basis. Then run the backup right before making any plugin/theme updates.
Well usually staging urls are used when developing plugins or themes. In your case you are simply installing new plugins and adding posts to the WordPress. This is how WordPress is normally used and it does not require a development site.
If your client installs well known WordPress plugins which are well tested, then he should not have any problems with installing them.

How do you change the URL that is pushed from Woocommerce to the facebook shop?

Two months ago I launched a wordpress website(www). It didn't do so well so I decided to create a subdomain (develop) and create a new site on there.
After completing development I was instructed to copy the files from the sub(develop) over to the main(www)
This worked fine and everything was displaying as it should on the new www site, however.
I've recently installed the facebook-for-woocommerce-1.2.4 on my WordPress shop. When I push my products to facebook they get listed with my develop domain.
From my limited wordpress/woocommerce/facebook knowledge I found that the URL is called via get_home_url(). I've contacted facebook, my ISP and WooCommerce if they know how I can correct this but they couldn't give me the answer.
It's most likely in the database (they said) but I have less knowledge with mySql than PHP. I've clicked through the tables but found nothing.
All my permalinks are set up correctly, unless there is a hidden one I missed.
Can anyone assist me with this?
Look in wp_options table, you will find your site url, home url there. Change that... that's all.

How do I clone a Wordpress site to another domain both on same server?

I have a wordpress site up and runnign and I want to copy the exact content to another domain. Both domains and servers are the same. I tried using some plugins like https://wordpress.org/plugins/duplicator/ but I kept getting 500- server error...
I don't know of another way that I can clone the site. I use Hostgator and have the Croc package... Both of my sites will serve as my portfolios but I will add more stuff unto one of them only...
Any help is welcomed
Thanks
I use a plugin called WP Clone which has worked fine for me to clone an entire site

Categories