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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则