跳至内容

How do I self host fonts on Lightsail?

0

Hi, Can you please advise how I self host fonts on lightsail? I have a wordpress website and my booking system requires fonts it can access. Thanks, MJ

已提问 1 年前311 查看次数
1 回答
2

Hello.

I think it would be better to ask this question on the WordPress support forum rather than on AWS re:Post.
I believe your question is a WordPress question, not an AWS question.
Normally, WordPress fonts will depend on the WordPress version, web server version, etc., regardless of whether you host WordPress with Lightsail.
https://wordpress.com/forums/forum/support/

As far as I know, it is possible to change the font etc. using the following plugins.
https://wordpress.org/plugins/olympus-google-fonts/

If you are self-hosting, you will need to download the font file, upload it to Lightsail, and then load the font file with WordPress code.
https://wordpress.stackexchange.com/questions/410749/load-self-hosted-fonts-not-working

专家
已回答 1 年前
专家
已审核 1 年前
AWS
专家
已审核 1 年前
  • Hi, Thanks for responding. I'm not asking about the Wordpress component. My fonts are on my website but an external booking system needs them self-hosted, so their iframes can use the font. So I am asking how I upload them onto lightsail. I am new to Lightsail. Any help is appreciated? MJ

  • When submitting a question on AWS re:Post, I recommend that you state exactly what you are having trouble with and what you would like to do. Your very first question doesn't ask anything about how to upload to Lightsail.

    So I am asking how I upload them onto lightsail.

    In answer to your question, please use SFTP to upload the file. Examples of how to connect can be found in the following documents: A permission error may occur when uploading a file, so please check if the Linux user used for SFTP has permissions for the directory you are trying to upload. https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-connecting-to-linux-unix-instance-using-sftp.html

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

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