Tagged: , ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1018320

    Hi,

    I moved a WordPress site from https://new.p4ne.org to https://p4ne.org. The move went fine, but I noticed that if I rename or delete the sub-domain directory the site looses its styling. This seems to be because the CSS is still being called from new.p4ne.org (as you can see if you inspect any element on the site at https://p4ne.org.

    I ran the Velevet Blues Update URL updater a number of times, but it doesn’t seem to have worked. I wonder whether I need to somehow rebuild the CSS for the site on the new domain? Or maybe it’s a question of changing the permissions (temporarily?) on some folders before rerunning the URL updater?

    Thanks,
    Eoghan

    #1018429

    Hey Eoghan,

    Thanks for the login details. Does the new directory have the /uploads/dynamic_avia/ folder? If not then just changing something in the theme options and saving should generate that folder, I’m not sure if that will fix your problem but you can try it at least.

    Best regards,
    Rikard

    #1018471

    Thanks for the suggestion Rikard.

    The dynamic_avia folder was in the new directory already. But just to test your theory, I deleted it, then changed something in the theme options and saw that it was indeed re-generated. However, loading the site in a fresh browser shows that it’s still loading CSS from the sub-domain (new.p4ne.org).

    Note that it’s using an Enfold child theme (titled P4NE).

    Eoghan

    #1018893

    Hi Eoghan,

    Can you try to flush out the cache if you’re using a caching plugin?
    I checked your site and it’s still pointing on your subdomain.

    Best regards,
    Nikko

    #1018919

    Hi Nikko,

    I’m not using any caching plugin. When you say the site is “still pointing on your subdomain”, do you mean that you’re seeing the site as loading from new.p4ne.org? How do you see that? I can only see that the CSS is coming from that domain.

    If I sign into the dashboard at the root domain and edit something, the edit appears on the site too.

    Eoghan

    #1019069

    Hi Eoghan,

    Thanks for giving admin access.
    I’m not really sure why it’s still appearing, also in Enfold > Performance, enabling JS and CSS file merging and compression doesn’t work.
    Can you try to search and replace it in the database? if you have cpanel access you should be able to access the database also.
    Also try to delete Enfold theme entirely then upload version 4.4.1 again, maybe this will help fix the issue.

    Best regards,
    Nikko

    #1019670

    Hi Nikko,

    I fixed the problem. For some reason the WordPress Options table in the database still had the sub-domain listed as siteurl and home, even though I had changed those via the WordPress dashboard. The strange thing is that Find and Replace operations on the database also failed to find them – I only found them when poking about manually in the database with PHPmyadmin.

    Thanks for pointing me in the right direction.

    Eoghan

    #1019791

    Hi Eoghan,

    Great, glad you found the problem. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1019865

    All good – you can close this one!

    #1019918

    Hi,

    Great, thanks for letting us know. I’ll close this for now then, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘CSS problems after migration from sub-domain to root’ is closed to new replies.