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
已提問 1 個月前檢視次數 94 次
3 個答案
0

Hello,

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

AWS
管理員
已回答 1 個月前
  • 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
專家
已回答 1 個月前
0

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

Filepath: /opt/bitnami/wordpress

Xhulio
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南