• Hi all.

    I built a site in WP offline using Apache and MySql with XAMPP.
    My idea was to prepare all and thenm load online via FTP (Mozilla).
    But I’m facing a problem and don’t know if manual solution could create troubles inside php files (frankly guess so).

    I used the WordPress plugin offered by Bitnami/XAMPP.
    The name in WP/XAMPP (created automatically) is “127.0.0.1/wordpress/..”
    for example one of permalinks is:
    https://127.0.0.1/wordpress/wp-content/uploads/custom-css-js/products.js
    while for our other sites an example is:
    https://www.ars-vivendi.it/wp-content/uploads/press/prevenzione.jpg

    Now I have to upload all but the name must become:
    ../biomotive.com.hk/wp-content/uploads/custom-css-js/products.js.
    I really don’t know if there is a plugin that automatically changes name to all: it should be good news.

    I already have the problem to manually change all the links inside my mod’s (my sites are always totally modified with child theme and many css, js, etc: this part I do manually, indeed … but how to change all rest inside WP structure?

    Thank you in advance.
    Regards.
    Mauro (IT)

Viewing 12 replies - 1 through 12 (of 12 total)
  • Why don’t you go ahead and build the WordPress over at your new host with its domain name then copy over the theme files manually via FTP or zip the theme up and move it over?

    Install new copies of your plugins.

    Now export your content on the XAMPP site and import it over to your new site.

    Done!

    And you have your XAMPP for continued experimenting, creating, and content updates if you wish to do that from there.

    Thread Starter Mauro Vicariotto

    (@mrosfy)

    Do you mean that when I copy the files and folders on the host with domain name (which is the name of the site) it works?
    I’m worried that all the links between pages etc could not match the previous: I mean that it is a site with polylang (3 languages) and many links.
    Would I try?
    Of course the outside folder name is not important (if “wordpress, biomotive or blabla” the links are inside the main folder), but are you sure that the database in MySql doesn’t change some detail?
    Thank you

    Hi Mauro,

    If you want to upload your WordPress website from local server (XAMPP) to online hosting then I will recommend you this Plugin.
    Here is the link, how to use this plugin properly. https://wpshout.com/quick-guides/all-in-one-wp-migration/

    Thread Starter Mauro Vicariotto

    (@mrosfy)

    Thank you a lot!!

    Thread Starter Mauro Vicariotto

    (@mrosfy)

    FYI only:
    since we must use (in this case) the ***.com.hk we were forced to buy the hosting from a provider that cannot offer WP and only MySql with PHP 5.6.
    So the job will be quite hard, I guess.

    Do you have a guide to update/install MySql with PHP 7.2?

    Thank you for all.

    Thread Starter Mauro Vicariotto

    (@mrosfy)

    Sorry again:
    please confirm the following steps:
    1) I update the host pre-installed kit from php 5.6 to php 7.2
    2) install MySql again (or will check if the ver. installed is ok)
    3) install WordPress in our new hosting space
    4) of course make a backup of MySql database and a backup copy all the structure (folders) from XAMPP local path (“C:\xampp\apps\wordpress\htdocs”)
    5) then execute the plugin “all-in-one-wp-migration.6.92” (**–question below–**)
    6) and after done of course manually chenge all the links name inside my personal css and js files

    is it ok?
    (**–my question–**)
    does the plugin “all-in-one-wp-migration” copy/exports also the MySql database or should I do this manually?
    Thank you for your kind help.

    Mauro

    Yes all-in-one-wp-migration Plugin automatically copy/exports all MySql Database. You don’t need to do this manually. You don’t need to make any changes in any file.

    You should follow this artical: https://wpshout.com/quick-guides/all-in-one-wp-migration/

    Thread Starter Mauro Vicariotto

    (@mrosfy)

    Thank you very much!

    Tahnks @mrosfy

    Thread Starter Mauro Vicariotto

    (@mrosfy)

    Hi all.
    I was busy so could start the transfer operations only yesterday:
    firstly I tried manually, with Filezilla, and I faced the problem which I guessed for long time.

    With XAMPP the offline URL is https://127.0.0.1/wordpress/…” while the real URL (once online) must become https://www.biomotive.com.hk/…”.
    I tried to change it offline to avoid such problem during migration.
    Of course I have a list of my script where I had to write the complete URL instead of the short one or the permalink, to be changed manually: this is not a problem at all,
    but the complete structure of the site and surely the mySQL database points to 127.0.0.1.

    Also the database name is “bitnami_wordpress” and has to be changed.

    Sorry but the first time there are some points which I must understand, either if I do it manually or with the plugin.

    So kindly be so patient to reply to the following questions (hope that the replies will be helpful also for other users):

    1) I’d like to know how to change the offline URL to the correct one (from 127.0.0.1 to …), but this is not the most important thing, just for my info

    2) the new domain has preinstalled mySQL and phpMyAdmin, but not wordpress:
    should I install (via FTP) a blank version of WP before and then overwrite with my backup or just copy my WP backup from offline?
    (for the database I exported and changed the name to the name given by the provider)

    2) as above but using plugin (All in one migration”) should I install a fresh and blank copy of WP and then migrate, or just migration will copy my existing backup?

    Thank you.

    Thread Starter Mauro Vicariotto

    (@mrosfy)

    The problem is that at the beginning I did not rename the database (remained bitnami_wordpress) and the web site name (remained 127.0.0.1/wordpress).
    So now all is written without the site name and the XAMPP default names: guess also everywhere inside database and php files.

    So or I find a way to rename the work done offline, or better to remake all manually on a fresh WP installation …
    this is my worry

    Thread Starter Mauro Vicariotto

    (@mrosfy)

    in fact the problem is that now my built site is in this path:
    c:\wampp\apps\wordpress\htdocs (no name) instead of c:\xampp\biomotive (biomotive is the name of the new site).

    and the mySQL database is bitnami_wordpress instead of biomotive (while the provider gave us the pre installed mySQL with given name “biomotive” and a password.

    of course in this way it does not work.
    I can try to change all in xampp, moving the folder content to “xampp/htdocs/folder named biomotive” and the database by “tools/rename” or make a copy …
    but not sure if I make some disaster.

    so my idea is to use my backup and restart to build a new wordpress online: pity it takes several days … if s/one kindly reply … I wait for a while … if nobody replies I must restart from zero

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘From XAMPP (offline) to online hosting’ is closed to new replies.