Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi Bob,

    the same page will not be imported, because the pages/posts are compared with their guid parameters and so even if you change the title, slug (url), date or anything else it will not work.

    That’s not what this plugin is supposed to do (import the same pages/posts again), so I’m sorry, but I can’t help you…

    Take care!

    Thread Starter wpwebbiepro

    (@webbiepro777)

    Hi capuderg,

    This works with the normal wordpress importer tool.
    If I rename the url and title and import again the page shows up.
    Does your plugin work different?

    Do you think this can be done with a little tweak?

    Would be a lovely feature to add.

    Regards,
    Bob

    Thread Starter wpwebbiepro

    (@webbiepro777)

    Already got it working.

    Solution:
    In the XML file remove the following lines:

    <title>My title</title>
    <link>https://www.mywebsite.dev/?page_id=8018</link&gt;
    <pubDate>Thu, 05 May 2016 11:28:49 +0000</pubDate>
    <dc:creator><![CDATA[webbiepro777]]></dc:creator>
    <guid isPermaLink=”false”>https://www.mywebsite.dev/?page_id=8018</guid&gt;
    <wp:post_id>8018</wp:post_id>
    <wp:post_date><![CDATA[2016-05-05 12:28:49]]></wp:post_date>
    <wp:post_date_gmt><![CDATA[2016-05-05 11:28:49]]></wp:post_date_gmt>

    Save the XML file in a folder in your child theme and use the filter as explained in the FAQ.

    After that I can import the page again after I have changed the URL and title.
    Hope this helps for everyone who wants to use this plugin so clients can import a demo page at once. This way they can easily create a new page based on a template.

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi,

    I’m glad you found a solution to your problem ??

    We are using an improved WP importer, which does not allow to import posts/pages with the same GUID.

    In your solution above, you removed the GUID from your XML file and that’s why you were able to import the post/page again, when you changed the title and URL…

    Take care!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can't import a page twice or more’ is closed to new replies.