Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress Wrong file path (css …)

Discussion in 'Misc WordPress Requests' started by juppinger0, Nov 1, 2017.

  1. juppinger0

    Guest

    Wrong file path (css …), by juppinger0

    Hi all,

    I have a huge problem.
    I want to install a new wordpress on our server.

    If I open the install page the page is loading but the css (and other) files have the wrong URL.

    I installed the wordpress here:
    https://wp.mywebsite.de

    If I enable firebug “network traffic analysis” I can see that the first file (setup-config.php) is loading from the correct url:
    https://wp.mywebsite.de/wp-admin/setup-config.php

    But ALL other files are broken because they all have the wrong url (a LOCAL url):
    https://10.1.15.21/wp-includes/css/buttons.min.css?ver=4.8.2
    https://10.1.15.21/wp-admin/css/install.min.css?ver=4.8.2
    – …

    The wrong address “10.1.15.21” is our INTERNAL IP address from the webserver.

    Why is wordpress using the INTERNAL address for this files and not the external address (url)?

    Where can I change this?

    Maybe wordpress is using an php-server-variable like:
    $_SERVER[‘SERVER_ADDR’] -or- $_SERVER[‘HTTP_HOST’] ???

    Need help please!!!

    thanks,
    jup

    Wrong file path (css …)
     
    #1

Share This Page

Web Hosting