• Hi all,

    How to copy folder including sub-folders and their pages collectively from website-A to website-B on the cPanel in the server of the hosting company.

    I have no problem copying a few pages individually from website-A to website-B. But to copy more than 20 pages it will take lengthy time to comply.

    Is there an easy way to complete? Please advise.

    Thanks in advance.

    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • Your question is rather confusing.

    Do you want to copy a folder, or WordPress pages?

    Note that WordPress pages are not static pages sitting in files and folders on your server. WordPress pages are dynamic pages stored in the database.

    That’s why I’m rather confused as to what you’re trying to accomplish: your title and first paragraph mentioned a folder, but your second paragraph mentioned pages.

    What are you really trying to accomplish?

    Thread Starter satimis

    (@satimis)

    Hi,

    Sorry for not explaining clear in my original posting.

    What I need to do is copying the content of pages exactly from site-A to site-B. For a few pages I just create new empty pages on site-B and copy the text of the pages, which I need to copy, from site-A. It worked for me in the past. images/icons can be shared on site-A. It is quite interesting. The dis-advantage is if site-A down, all images/icons lost.

    Now I expect copying the content of bundle of pages from site-A to site-B collectively, not doing it one-by-one. Those pages are hold on folder and sub-folders.

    Can I do it via cPanel/File Manager or other routes? Thanks.

    Regards

    WordPress has an EXPORT/IMPORT feature built-in. The export feature has a few filters to select what to export, but you can’t select individual pages.

    The WP Import Export Lite plugin provides more fine-grained control over what to export, including the ability to select individual posts/pages.

    Thread Starter satimis

    (@satimis)

    Thanks for your advice.

    I’ll test the plugin on the clone site, running on local server. I have cloned sites of all my live sites created and running on VMs of VirtualBox on my desktop PC. They are not open to public. The cloned sites were migrated on Duplicator packages.

    I’ll come back after testing.

    Regards

    Thread Starter satimis

    (@satimis)

    Hi George,

    To use WP Import Export, .htaccess file must be writable

    $ ls -al /var/www/html/reynoldstocks/ | grep .htaccess
    -rw-r–r– 1 www-data www-data 399 Jun 7 20:29 .htaccess

    I think the file is writable

    Do I need to run;
    $ sudo chmod 644 .htaccess
    ?

    Please advise. Thanks

    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to copy folder including sub-folders collectively from site-A to site-B’ is closed to new replies.