How to import posts of external url to Wordpress site? - php

I've built a new website using Wordpress system for developing.
I want to import posts from old site which is non-wordpress external site.
Because there are too many posts on non-wordpress site (maybe over 4,000 posts), so I cannot copy so many posts from the old site to the new site one by one.
New site URL(Wordpress): http://kcsaa.muvy.com.tw/
Old site URL(.JSP File): http://www.kcsaa.org.tw/context_single2.jsp?sla=2046
My question is how to import the posts of non-wordpress site to wordpress site easily and quickly?
By the way, I hope there is a way to solve this problem by using browser extensions or Wordpress plugins actually.
Thank you guys!!

If you can export the posts from the non-wordpress site to an .xml or .csv file you able to import it into WordPress. There are some great plugins to import .xml or .csv files.
I used this plugin a couple of times and it worked pretty nice:
https://wordpress.org/plugins/wp-all-import/
Make sure your .xml or .csv file includes the images paths. Otherwise you loose all images.
Before you import the posts create a full backup.

Related

Is it possible to use WordPress theme preview as main website source that will work all functions?

I'm new in WordPress
I misunderstand one thing about the theme use in WordPress
For example, I wanna create the as same website as this I purchased this template.
But when I installed the theme in WordPress it shows me the default Index.php file with little info, used my purchased theme
And when I purchased the theme there exist all src files of the above website.
How I can use my purchased src files of website that will work all function for ex: logins with db?
Thanks in advance!!!!
After you purchased the theme, you probably have just installed the theme and haven't created any pages or tweaked any settings. So if you want to get the same look as that of the preview website, you probably have to check whether the developer has provided any dummy data for importing.
Most of the themes listed in ThemeForest would have the option to import dummy data, so that customers would be able to install some pre-made posts, pages, config, etc. This might be there inside the custom settings page(as a single button to download the content) of the theme, or maybe they have provided it in separate XML files for you to import. If the files you have downloaded doesn't have it, make sure you downloaded All files & documentation. Here's a sample screenshot:
My guess is that you might have only downloaded using the Installable WordPress file only option.
If you are still unable to get the dummy data, probably you have to ping the support of that theme asking them to provide the dummy data.

Wordpress Migration Post Problems

how are you, thank you first for reading my message. I am currently working on a website, created with wordpress, the website has been compromised with security flaws, because when wordpress was installed they did it with a version of php 5.2, also the website is working with Wordpress version 5.3.4.
I am looking to make a clean copy of the website, first to be able to install the latest version of php to date 7.4, since the website generates errors when I try to change the version of php by force.
I am looking to make a copy of the post, with their respective featured images, using the wordpress exporter I have managed to export the entries without problem, but I cannot export the featured image.
I have tried to do various things:
1- export the entries, and then manually upload the images to the uploads folder
it has not worked
I don't want to migrate the entire site as the template has some styling errors that need to be fixed.
There is a way to migrate blog posts with the featured image, but I haven't figured it out so far, can you give me a hand? maybe a plugin? or how can I copy the posts directly to the database from php my admin, any suggestions?
There are various plugins which exports and imports posts into a Wordpress website.
I usually use the below plugin to import Posts from one WP website to another.
Export Plugin: https://wordpress.org/plugins/wp-ultimate-exporter/
Import Plugin: https://wordpress.org/plugins/wp-ultimate-csv-importer/
Install both the plugins in the website where you want to export. Setup will create a CSV file with posts.
After that, install the Importer plugin alone in the site where you want the pots to be imported. Now, Upload the CSV file to import the posts.
If this answer works for you, do accept and upvote the answer.

How to import images dynamically for avada image carousel from one wordpress site to another using api?

I am having two WordPress site with two different MySQL DB's running in my localhost development system, I am using Avada theme, in the second site I am using image carousel, If I upload images in my first site, then the image carousel in my second site should take the images from my first site by using API. Since I am new to Wordpress and PHP I don't have an idea. can anybody help me solve it? Thanks in advance!

how to use update/delete posts of Wordpress REST API?

I just downloaded and installed the plugin a few hours ago and read the documents. I tried wp-json/wp/v2/posts and it showed me the posts but when I did wp-json/wp/v2/posts/24/delete, it just showed the same thing.
Do I have to download another plugin or extensions to use it? Or do I have to add some custom code in the .php files?

Wordpress - import database from the old theme to the new theme

I have a wordpress site which is live and running. I want to change the theme but I'm new to wordpress and what I'm trying to do is that I have a new theme setup locally(I want to play around with it before putting it live) and I want to import the database from the live site to my new theme locally. What is the correct way to do this ? I tried to export the database and import it but nothing is working anymore after this.
Themes are totally different. Should I import just the posts and comment? (basically this is what I need from the old one). How can I do this ?
I'm not sure how to proceed further..
On live site:
Login and goto Tools > Export > All content
On local site:
Delete all posts, categories, tags, pages and comments, and empty trash.
Goto Tools > Import > WordPress, and select the XML file, import attachments if you need when it asks.
Delete anything that you don't need, and empty trash.
you can export the whole database then import it in phpmyadmin or whatever you use to manage the database then update the configuration file in the local wordpress folder to make it able to connect the local database you imported, if you can't do so what are the errors you get that prevent you ?

Categories