スキップしてコンテンツを表示

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年前310ビュー
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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ