• Somehow the path to various files such as the css file has an outdated ip address in it.

    I have searched the php files and the wp_user table but can’t find out where this is stored.

    How can I find it and change it or, better, make paths relative rather than absolute?

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,
    With this plugin, you can do bulk change in database
    https://www.ads-software.com/plugins/better-search-replace/

    If you have some value saved in the file – CSS, javascript you have to do it manually using FTP – edit your file.

    Thread Starter nigeldodd

    (@nigeldodd)

    thanks, but I may not have explained the issue sufficiently to you. Here is the source code for the top of the index.php page as rendered by WordPress:

    <link rel="pingback" href="https://192.168.0.103/wordpress/xmlrpc.php">
            <!--[if lt IE 9]>
            <script src="https://192.168.0.103/wordpress/wp-content/themes/twentyfifteen/js/html5.js"></script>
            <![endif]-->
            <script>(function(){document.documentElement.className='js'})();</script>
            <title>raspberry site | Nigel and William's site</title>
    <link rel="alternate" type="application/rss+xml" title="raspberry site
    &raquo; Feed" href="https://192.168.0.103/wordpress/?feed=rss2" />
    <link rel="alternate" type="application/rss+xml" title="raspberry site
    &raquo; Comments Feed"
    href="https://192.168.0.103/wordpress/?feed=comments-rss2" />

    You can see the hard coded 192.168.0.103 which is no longer relevant since the router has dished up another ip address. The problem is with the hard wired ip addresses and I am surprised WordPress uses these for obvious reasons.

    Which file or which table in the database will contain 192.168.0.103 please?

    Mentioned plugin will tell you exactly where is it and you will be able to change it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘old ip address used for css files etc’ is closed to new replies.