Archived topic
Importing Issues
11 replies · Started by Praveen on April 23, 2021
Hi guys, I have a website made in one theme of Generatepress (link attached) and I want to export its content using WordPress importer to another website using another skin / theme by generatepress - READ
While the import works fine. The formatting of the content is destroyed. especially there no spaces after paragraphs etc.
Can it be because of the theme difference?
Hi there,
Typically, we don't recommend importing a template to existing site as it will generally be a inconsistent result as you've encountered.
Is there a specific page where I can see the issue?
Please also clear and disable your caching plugin when we are trying to help.
Thanks!
Hi,
I am not talking about the template, I realized that exporting in XML and then importing strips all the <p></p> tags from the code. others such as - >headings etc. remain.
Is there any other way apart from XML to merge multiple websites into one?
I realized that exporting in XML and then importing strips all the <p></p> tags from the code.
That shouldn't have happened. Are you referring to posts or something?
Is there any other way apart from XML to merge multiple websites into one?
I'm not aware of a method to merge websites unfortunately.
Hi,
This is for posts.
I used Wordpress Exporter under tools to exports all posts, images, etc.
Then used Wordpress importer to import them into new website.
While all the text, images etc. are imported, the formatting of the articles is destroyed so there are no <p></p> etc. tags left.
Headings, links, etc. are copied though.
Oh, I think I got it.
It seems the original posts itself does not have any <p> tags. But I am not sure how is para break showing without any tags? How is the gap handled? I am sharing a screenshot of the backend and the front end. As you can see the backend (txt mode) of the article has no para or breaks. but when seen online - nice line gap is there.
Hi, interestingly, this is happening with Just one website (URL below). When I tried importing posts from any other website it works fine.
Just cannot figure out what's causing the issue with this one.
Hi there,
if i check the Source code and the HTML Elements of a post on that page there are <p> tags for each paragraph. Now these may be auto added by WP - so in your post editor you may have a lot of line breaks instead of full paragraphs. ( ie. Shift Enter instead of just Enter ). You can check by deleting the line break and entering a hard return.
Hi David, I am sorry, but my query changed when I realized that this issue is just with one of 5 websites I plan to mearge. Only with the one (link attached), rest import works fine. Any thoughts?
Thats the website i checked - can you try editing the post, deleting the line between text and then hit enter to create the paragraphs.
Hi, There are 168 posts to be transferred. Do you want this to be done as a test ?
Yes - just as a test. You can then determine whether the the issue is with the post content ( missing <p> ) or something else.