Forums

themes only work on the server (7 posts)

  1. paulsauer
    Member
    Posted 1 year ago #

    OK I'm new, and probably missed something.
    Just installed 3.0.1 on my Ubuntu LAMP server.
    It works, but the themes only show up on the browser, on the server.
    From other machines, there is no theme.
    Any ideas ?
    Thanks for the help

  2. ClaytonJames
    Member
    Posted 1 year ago #

    In a nutshell, having "localhost" in your url means it's only visible from the browser on the machine you installed it on.

  3. paulsauer
    Member
    Posted 1 year ago #

    Actually I'm not using "localhost"
    And I am seeing the content from the server on other machines,
    just no theme.
    Thanks again

  4. ClaytonJames
    Member
    Posted 1 year ago #

    Okay. I guess we need to be specific at this point. I can't think of any other reason why it would be happening, other than an unreachable path to the themes directory from elsewhere in your network because of a file path relative to localhost, 127.0.0.1., or any variation thereof in the wordpress url.

    What are you using in your address? - an actual domain name, a domain name including a sub-directory, a static internal network ip address, ( with or without a subdirectory ) and lastly, did you install wordpress using "apt-get install wordpress" (which results in symlinking and convoluted paths in Ubuntu )or did you do it by downloading the package and installing manually in /var/www/ ?

  5. paulsauer
    Member
    Posted 1 year ago #

    I'm using a static internal network ip address
    I installed wordpress using synaptic
    but then I had to manually move it to /var/www/

  6. ClaytonJames
    Member
    Posted 1 year ago #

    the "apt-get install" (or synaptic install) setup process usually creates symlink(s) - I think it's in /etc/apache2/sites-available, or something like that, but don't quote me on that, it's been a while - that redirect to the actual wordpress installation directory located at /usr/share/wordpress.

    So you can see the potential for issues when you manually move or alter the location of the files after installation, but still have a symlink pointing from sites-available to /usr/share/wordpress. I think this is contributing to your issue.

    I try not to ever recommend installing WordPress from any repo source. Always setup a functional server first, then install it using the package from here, just like you would on any web hosts server.

    Just my opinion, mind you.

  7. paulsauer
    Member
    Posted 1 year ago #

    Makes perfect sense.
    Maybe I'll do a reinstall, in the morning
    Thanks again

Topic Closed

This topic has been closed to new replies.

About this Topic