Some font file URLs and images not updating to new domain address

This topic has 15 replies, 3 voices, and was last updated 1 years, 3 months ago ago by Tony Rodriguez

  • Avatar: Diegoch
    Hash2wear
    Participant
    August 9, 2023 at 14:22

    Hi,

    I have a hosting for the WordPress site, in which I installed the theme and imported a demo. Once I got the domain name, I redirected the DNS to the hosting, and everything is going fine, except for some font files and images, which are being requested to the “old” address, the one for the hosting.

    You can check it out here: https://hash2wear.com
    If you open the Developer Tools, and then Console, you can see the error files. Some resources are being requested to https://77487a.eolani.shared.1984.is/wp-content/uploads/custom-fonts/2023/08/Outfit-Medium.ttt, instead of being requested to https://hash2wear.com/wp-content/uploads/custom-fonts/2023/08/Outfit-Medium.ttf

    My guess is that the URL is hardcoded in some CSS section in the HTML once the import was performed.

    The site URL is correctly set in the WordPress settings, and everything else in the theme is being loaded pointing to the right address. I don’t know how to solve this.

    What can I do? Thanks,

    14 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 9, 2023 at 16:00

    Hello, Hash2wear,

    Thank you for contacting us and for using XStore.

    Connect to your server using FTP and remove all folders inside wp-content/fonts/ folder and wp-content/uploads/custom-fonts/ . After that go to Theme Options > choose necessary fonts and save settings.

    Make sure that custom fonts are uploaded in XStore Dashboard > Custom Fonts.

    Should you have any further inquiries or issues, we encourage you to contact us without hesitation. Our support team is consistently accessible to provide assistance.

    Kind Regards,
    8theme team

    Avatar: Diegoch
    Hash2wear
    Participant
    August 10, 2023 at 09:53

    Thanks for your message.

    Did that, but nothing has changed. Now I have nothing below those folders, and it keeps requesting the same fonts.

    About this step: “Theme Options > choose necessary fonts and save settings”.
    Could you offer some screenshots?

    Thanks

    Avatar: Diegoch
    Hash2wear
    Participant
    August 10, 2023 at 11:59

    In which file or setting can I find these content? https://imgur.com/a/ERby8ob

    It seems like that could be the problem. I want to know if that URL is hardcoded or extracted from somewhere else.

    Thanks

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 10, 2023 at 12:03

    Hello, Hash2wear,

    Go to XStore Dashboard > Custom Fonts > Upload custom fonts. Then go to Theme Options > Typography > re-select fonts for content and headings.
    https://prnt.sc/gAu8pu5KuaFy – go to Theme Options > Theme custom CSS > find the mentioned code and edit it.

    Kind Regards,
    8theme team

    Avatar: Diegoch
    Hash2wear
    Participant
    August 10, 2023 at 14:29

    Concerning the Theme Custom CSS, I’ve already searched there, but the fragment I sent you is not present there. You should import this Demo into your setup and see it for yourself.

    Concerning the first one, this has no effect on the problem.

    Any other ideas please?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 10, 2023 at 14:31

    Hello, Hash2wear,

    Please provide us with temporary wp-admin access, so we can check your settings.

    To provide wp-admin access, you can create a new user account with administrator role via the Dashboard, and provide us with the username and password via the Private Content area.

    Kind Regards,
    8theme team

    Avatar: Diegoch
    Hash2wear
    Participant
    August 10, 2023 at 16:58

    That CSS code was in the database. I’ve made a replace in the wp_posts table, and the CSS code has been replaced, but since you’ve told me to delete the fonts in the folders, it can’t find the fonts 🙁

    Avatar: Diegoch
    Hash2wear
    Participant
    August 10, 2023 at 17:00

    Sure, I’ll create a user for you. Can you provide me an email?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 10, 2023 at 18:37

    Hello, Hash2wear,

    To create account, please follow these steps:
    – Create an account via Dashboard (Users > Add new) with administrator role. Refer to the following image for guidance: http://prntscr.com/s3rc9m
    – Provide us with the username and password for the newly created account via the Private Content area. Refer to the following image for guidance: http://prntscr.com/s5mao7
    – Any email address can be used for the new account, it does not have to be your personal email.

    Kind Regards,
    8theme team

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 10, 2023 at 18:42

    Also, you can contact your hosting provider and ask for assistance from their side also, because “redirected the DNS to the hosting” is not directly related to the theme. They may have a backup for you, or maybe they already faised a similar situation with other customers.

    Did you try re-select fonts via Theme Options, and uploading the required custom Fonts as we mentioned above?

    Kind Regards,
    8theme team

    Avatar: Diegoch
    Hash2wear
    Participant
    August 10, 2023 at 18:49

    The login details are in the private content.

    Thanks!

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 10, 2023 at 19:18

    Hello, Hash2wear,

    Thank you for your response.

    Fixed. We’ve reuploaded fonts via XStore Dashboard > Custom Fonts.

    Please clear cache and check now.

    Kind Regards,
    8theme team

    Avatar: Diegoch
    Hash2wear
    Participant
    August 10, 2023 at 22:49

    Thanks so much!!!
    Really appreciate the effort.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    August 11, 2023 at 05:51

    Hello, @Hash2wear,

    We would be grateful if you could kindly leave a 5-star rating for our theme and customer and technical support on ThemeForest at http://themeforest.net/downloads. Doing so would help us to provide more updates and dedicated support in the future. Your support would be greatly appreciated.

    Thank you for your time. We hope you have a wonderful day.

    Please note that for any new issues, you should create a new ticket on the support forum.

    This topic is now closed.

    Warm regards,
    8Theme’s Team.

  • Viewing 15 results - 1 through 15 (of 15 total)

The issue related to '‘Some font file URLs and images not updating to new domain address’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.