Need help about theme in website

Hello , need help to check my website : https://fakroun.website
I have a problem with amp and version in mobile ( in google chrome header and logo is ok but safari not showing the header and logo )

Please can someone help to resolve the problem .

Theme used : simply 0.40.0

Thanks for reply

I don’t think its related, but you may want to check your content security policy:

Those errors mean that no members can log in, and search doesn’t work, among other things.

I tried your site on iPhone safari and that looked ok:

1 Like

Thank you , how to fix that , have a issue about how to do ? also when i come from google search amp link for my website , the website is blank . i wanna ask is have a option to disable amp tottaly . thanks for answer and help

Ghost doesn’t set that CSP. Whatever your hosting setup is, it’s coming from there. I’d take a look at whatever proxy you have in front of Ghost as the likely cause.

AMP support is being phased out. It used to be possible to turn off amp in settings > integrations. I don’t currently see that option on my site, so it may already be gone? What version of Ghost are you on, and can you check to see if amp shows up in settings > integrations?

1 Like

i have my own VPS ubuntu 24.10 , Ghost version: 5.110.1.
my config.production.json

you can look for AMP search : Example

@Cathy_Sarisky i will be thankful for you help please. best regards

That’s interesting. I’ve never seen a contentSecurityPolicy setting in config.production.json. If that is what’s having the effect, you’ll need to look at your console logs and see which CDNs you need to add.

Your amp page seems to also be having problems loading scripts. (Make sure you add those CDNs also.)

config.production i do by self. now i male backup to standard version. still problem with amp , i wanna to disable all AMP and also have problem with H1 , its not available , all my article show h2 , how to do please

You still need to figure out the source of your CSP (what proxy is in front of Ghost? it’s probably to blame) - otherwise no one will be able to sign up for your site.

I asked you previously:

On my Ghost install, urls with /amp/ are getting redirected to the regular url. So something is odd with yours.

Signing I close it , not open for the moment. We are in beta version test.

I don’t have a AMP integration in my site. How you do redirect ? Can you give your solution?

I don’t have anything set up to redirect. It just does.

you can recomnded a theme for blog open source

That’s because Ghost doesn’t support it :smiley:

If /:post/amp exists, it’s most likely because you enabled the AMP integration in your settings. Can you share what visiting https://fakroun.website/ghost/api/admin/settings/?group=amp outputs?

1 Like

{“settings”:[{“key”:“amp”,“value”:true},{“key”:“amp_gtag_id”,“value”:null}],“meta”:{“filters”:{“group”:“amp”}}}

AMP is enabled. You can disable it by toggling it off at https://fakroun.website/ghost/#/settings/integrations

1 Like

I do it but not showing nothing and also not working.

Oh, it looks like you can’t disable AMP from the UI, you’ll have to use the API to do so. You can paste this in your browser console (you will have to do this on a computer):

fetch("https://fakroun.website/ghost/api/admin/settings/", {
  "headers": {
    "accept": "*/*",
    "accept-language": "en-US,en;q=0.9,te;q=0.8,es;q=0.7",
    "app-pragma": "no-cache",
    "content-type": "application/json",
    "sec-gpc": "1",
    "x-ghost-version": "5.111"
  },
  "referrer": "https://fakroun.website/ghost/",
  "referrerPolicy": "strict-origin-when-cross-origin",
  "body": "{\"settings\":[{\"key\":\"amp\",\"value\":false}]}",
  "method": "PUT",
  "mode": "cors",
  "credentials": "include"
});
2 Likes

now when i check write : {“errors”:[{“message”:“Request made from incorrect origin. Expected ‘https://fakroun.website’ received ‘https://forum.ghost.org’.”,“context”:null,“type”:“BadRequestError”,“details”:null,“property”:null,“help”:null,“code”:null,“id”:“8e5cf710-fd46-11ef-9d88-fffcefbd9034”,“ghostErrorCode”:null}]}

how to do that bro in computer

Should have been more clear, you need to do it from your browser console when you’re on the Admin panel :slight_smile:

Here’s how to launch dev tools: