• Using xampp and want to share the site with friend whom I create the site. How can I do it? I found some explanations but still dont understand it. My ip is not fixed what options I have then? Can somebody explain it as for dummy? Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • What I do in that instance is setup a test Website (i.e. https://test.mysite.com), upload some test content, then share. Then I can setup some credentials if they want to log in as well.

    Thread Starter sandras21

    (@sandras21)

    I have the testing site but how to get now that created site from localhost to that test site? I tried with duplicator, does not work – after I upload packages to ftp and try to access with browser installer file, getting parser errors, access errors etc. I know that I have full access to those folders, any other options to copy the site from localhost to live server?

    There are resources available for those who want to work on their Website on a localhost, then move it to a live Website.

    Review the following:

    Thread Starter sandras21

    (@sandras21)

    There are resources, I ′ve already gone those through but it simply does not work as it supposed to and I can`t understand why.
    https://codex.www.ads-software.com/Test_Driving_WordPress#Moving_WordPress_Onto_Your_Website – there is no info available at the moment.
    Duplicator plugin gives very limited information too in case of errors I recieve. The other plugin – wordpress move caused errors with Virtue theme and i deleted it.

    You don’t need plugins to migrate a localhost install to a live server. You’ll need to backup your database from your localhost/phpmyadmin.

    Upload your MySQL file to your server from your localhost.
    https://www.google.com/search?q=export+import+mysql+phpmyadmin

    Then upload your WordPress files via FTP.
    https://codex.www.ads-software.com/Installing_WordPress

    Then, either run the installer with the updated database, or manually configure your wp-config.php file.
    https://codex.www.ads-software.com/Editing_wp-config.php

    Hope this helps ??

    The “expanded version” ??

    Local Site:

    – export the database
    – ZIP the contents of the site

    Live Site:
    – use phpMyAdmin (or your hosting account’s database tool) to create a new, empty database (no spaces in the name)
    – import the exported local database .sql file
    – edit the siteurl and home fields in the wp_options table with the new live site URL:

    https://www.my_domain.com

    – upload the ZIP file and unZIP (or copy the local site files via FTP) to the desired location on the hosting account (generally the root of the account, public_html)
    – edit the wp-config.php file there with the live database connection credentials (use the edit file option of your hosting account’s file manager to do so)
    – log into the live site Dashboard:

    https://www.my_domain.com/wp-admin

    – install and run this plugin:

    https://www.ads-software.com/plugins/velvet-blues-update-urls/

    — select all options EXCEPT the last one (GUID)

    – go to Settings > Permalinks and just re-save

    – if broken links remain, then upload this script to the root of your hosting account and run it:

    https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    — this script updates the URLs that are stored in the database as serialized strings, which the plugin mentioned above does not handle

    – go to Settings > Permalinks and just re-save if you had to run this script and then delete it from your hosting account

    Done ??

    I know it seems like a lot of steps/work, but it is quite straight forward and provides one with a better understanding (hopefully) of what is going on and why.
    Yes, there are plugins that do this, such as Duplicator and BackupBuddy, but again, one does not get a gist of what’s happening. And if something goes pear-shaped using them, then it’s off to the plugin’s support forum to find out what went wrong.

    Using this method, which I always use, I can get a local site to live in under 5 minutes ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘how to share site via internet if creating it in localhost’ is closed to new replies.