Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • I would actually look at folder permissions as well. Make sure your folder has permission to allow uploads.

    first thing first, do a back up of your SQL or MySQL database on both your host server and localhost. I’ld use a cdrw so you can use one cd and change and replace files on the same disk (so you dont have 52 cds every year, but you could also back up the database in weekly folders, for example)

    Next, make sure the installations are the same on your localhost and webhost.
    Then just export one database to a file.sql (for example) and import the file.sql to the other server. I would use localhost to export, webhost as import, after backing up both databases. your local host sql is probably faster than your web host, if you are on a shared platform.

    the only other way I can think of is if both localhost and webhost run from the same MySQL (or other) database. I dont know how to do this, maybe someone else here does, or if it is possible even. I think in theory it should be.

    “Also, when I put index.html in my /var/www/blog directory it doesn’t load when I type https://www.doxodoulos.org, but does when I type https://www.doxodoulos.org/blog.”

    This sounds to me like you have wordpress installed into a subdirectory. /home /htdocs(public_html, www) /blog/index.php
    /htdocs(public_html, www)is the root directory of your web site, the highest level you can put a web page.

    what you have is /home/htdocs/blog (wordpress app in a folder named blog) Does this sound about right?
    If so….
    then the issue is not your installation, it is your domain pointers.
    https://www.doxodoulos.org, points to /home/htdocs
    so you need to just set up a domain re-direct, so to have both work.. set up wordpress in your root directory (just copy the app to /home/htdocs (to wp installs) that takes up space and resources. A better way is use a sub-domain pointer.
    https://www.doxodoulos.org points to /htdocs/blog and
    https://www.blog.doxodoulos.org points to /htdocs/blog

    The only other way I can think of, is a redirect in the htdocs folder. (index.html which on load, redirects to /htdocs/blog/index.html) (google it for a how to)

Viewing 3 replies - 1 through 3 (of 3 total)