• Resolved Znelson1989

    (@znelson1989)


    [ Moderator note: moved to Fixing WordPress. ]

    I have recently installed wordpress on my CentOS7 machine.
    Ideally I would like my wordpress site to be hosted on http://www.zenels.com however I am having some issues doing this.

    Currently the wordpress folder is located in
    /var/www/zenelswordpress/wordpress

    When I set this as the document root for my server the desired effect is achieved but when I attempt to use dashboard links to customize and edit my site they are all set to something like zenels.com/wordpress/wp-admin.php which produces a 404 based on the current document root

    If I set the document root to
    /var/www/zenelswordpress I am able to use the dashboard buttons to navigate but zenels.com displays the apache2 test page.

    What would be the best solution here?

    EDIT: I should also mention that when I have the documentroot pointed at /var/www/zenelswordpress/wordpress I am able to access wp-admin by going to zenels.com/wp-admin and this works fine but is there a way to get the toolbar at the top of your page working?

    • This topic was modified 9 years, 1 month ago by Znelson1989.
    • This topic was modified 9 years, 1 month ago by Jan Dembowski.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    In settings->general, what do you have for the two URL fields? Did you make changes to the virtual hosting or URL *after* you first logged in to WordPress?

    Thread Starter Znelson1989

    (@znelson1989)

    Steve,
    I had no idea these settings existed it has been a while since I used WP. Thank you for the help editing these resolved my issue.

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

The topic ‘Virtual Host Issue?’ is closed to new replies.