Support » Themes and Templates » 404 error after setting up a child theme

  • Resolved barnez



    I am using the Breakout theme, and set up a child theme so I can insert custom css without modifying the theme’s core files.

    I followed the advice on the WordPress codex page, and the site seems to be functioning fine. However, when I check the site load on, the waterfall shows the main theme’s css stylesheet as a 404 error.

    The site is and the archived waterfall is linked here

    Should I be concerned about this, and have I made an error in setting up my child theme?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Moderator t-p


    Try resetting your permalinks through Settings > Permalinks. If this does not work, you may have to edit the .htaccess file manually.
    `# BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress`If you are not familiar with editing your .htaccess file, contact your hosting provider to ask them to turn on mod_rewrite rules. There is more information on pretty permalinks in the WordPress Codex.

    Thanks for the advice Tara.
    I tried resetting the permalinks and clearing the cache, but the 404 error was still showing.

    The exact htaccess code you suggest is already at the base of the file.

    One point of potential relevance,earlier the site was making two calls, one for and another for . To eliminate one call, I changed the site and url address in the settings-general tab to include the ‘www’ in both addresses. This resolved the duplicate call, but perhaps this has affected the permalinks?

    Moderator t-p


    review this codex to properly change URL:

    Thanks for the advice Tara.

    I followed the edit functions.php process for changing the site url, adding


    after the “<?php” line in the child theme’s functions php file. Then logged out and in several times, before removing the code and clearing the cache.

    Unfortunately this hasn’t helped (I tried the same process in the parent theme’s functions.php also)



    Forum Moderator

    Check your wp-config.php file in case a previous attempt to change urls was made via that file.

    Thanks Esmi. I have checked the wp-config file, and there is no reference to the site through an http path, only /home/….

    The WordPress Codex page Tara recommended suggests changing the url in the database directly, or adding the following code to the wp-config:


    Are these my best choices?



    Forum Moderator

    Yes. That particular method has worked successfully a number of times for me without any problems.

    Hi Esmi,

    I tried manually setting the url in the wp-config file and edited one options value in the database (ossdl_off_cdn_url) from to

    Unfortunately, neither change seems to have resolved the issue.



    Forum Moderator

    Can you please confirm the site’s current url?



    Forum Moderator

    There’s nothing wrong with the parent theme’s style.css file. It can be found at

    However, if you check that file, you’ll see that it says:

    /* This theme’s primary styles can be found in /assets/css/theme.css */

    And is also present & correct.

    As the parent is a commercial theme, you will need to seek any further support from the theme@s developer. We do not have access to – nor do we support – commercial products here.

    I understand. I will go ahead and contact the theme developer directly

    Many thanks for your advice, and pointing me in the fright direction

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘404 error after setting up a child theme’ is closed to new replies.