How do I add domain.com/.well-known/apple-developer-merchantid-domain-association to lightsail instance?

0

I am looking to add domain.com/.well-known/apple-developer-merchantid-domain-association to lightsail instance but when I do so, I get 404 not found on the url. I think the server restricts anything outside wp-content to be publicly accessible.

Any thoughts?

Xhulio
posta un mese fa94 visualizzazioni
3 Risposte
0

Hello,

The file should reside in: "/opt/bitnami/wordpress/.well-known/apple-developer-merchantid-domain-association". Is that what you are trying?

AWS
MODERATORE
con risposta un mese fa
  • Yes I do place the file on "/opt/bitnami/wordpress/.well-known/apple-developer-merchantid-domain-association" but then when I go to domain.com/.well-known/apple-developer-merchantid-domain-association it says 404 not found.

0

Hello.

Since you are getting a "404 not found" error, is it possible that the file was not placed in the correct directory?
I think it should be placed in the web server's document root.
I can't say for sure without looking at the web server's configuration file, but I think that with bitnami WordPress, "/opt/bitnami/wordpress" is the storage location for static files.

profile picture
ESPERTO
con risposta un mese fa
0

Correct, this is where the file is located but I am unable to access it

Filepath: /opt/bitnami/wordpress

Xhulio
con risposta un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande