Wordpress Migration Post Problems - php

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.

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.

How to import posts of external url to Wordpress site?

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.

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?

How do I install the Telarus GeoQuote Plugin to my WordPress site?

I have a plugin from Telarus called GeoQuote. It's a lead generation plugin for their agents, and I'm trying to help an agent get the plugin working on his WordPress site. I have all the php files and the css file in a separate folder.
My question is, how do I get it on the website now? I tried the WordPress plugin installer, but it didn't work.
I'm assuming I can upload the files to the hosting server with FTP and then use php code to call on the plugin in the widget area I created in WordPress. But I don't know what kind of code to use.
Can someone help walk me through this or at least point me in the right direction? Thanks for your help.

Malware/Adware on my wordpress blog--want to reinstall

My Wordpress site has some strange adware. Sometimes it redirects to www.usgrants.org , and at one point there was some random text at the bottom of each page that looked like search engine keywords, but that text seemed to have disappeared for now.
So instead, I've decided to back up my blog, and just start fresh with my database, and just reinstall the plugins that I really need.
The question is, how can I do this without losing my content?
I am guessing it is just as easy as exporting my SQL database, deleting everything, reinstalling WP, and then importing it, but I'm not sure if that's the most efficient way.
I'm also looking into Duplicator, but I don't know if that would also migrate the problematic add-ons (I don't even know what the cause of it is).
I'd really love to keep my Thesis theme as well, but I'm not sure if my custom code is causing the problem.
I appreciate the help!
First and foremost if you are still able to get into the admin area of your site, I would install WordFence (http://wordpress.org/plugins/wordfence/), do a complete scan of your site, and make the recommended fixes. Additionally, if you can spring for it, I would get the premium version as it will scan all files on the server, not just in the wordpress install. (I think it's like $40 per year per domain & gets cheaper the more you add.) This option may rescue your current site without the need to start fresh.
That said, if you have malware in your site, it's very difficult to know for sure that it's fixed for good. Depending upon how it's written, it can lie dormant for a while and come back when you least expect it so starting over may be the best idea. Regardless, I would use WordFence to scan first before you start fresh since it will also scan your database to see if anything ended up in one of your tables there. The free version will do that too.
Then you can either export and save your database from MYSQL or you can also use the wordpress export / import tool to manage the transfer of your content. Its a pretty simple process.
To export your site data using the included WP Export tool.
1. Login to the backend admin
2. Navigate to tools
3. Click on 'Export'
4. Select the All Content option and then press the 'Download Export File' button.
5. This will download an XML file that you can import on your new instance of WP.
To import your site data using the WP Import tool.
1. Login to the backend admin
2. Navigate to tools and click import
3. Select 'WordPress' from the list
4. Install the importer
5. Click Activate and Run Plugin
6. Choose the XML file you exported and then select Upload File and Import.
Hope this helps!

Categories