robot.txtファイルで許可しても、Google botは私のcssとjsを読むことができません。 サイトはWordpressで構築されています。 以下は私のrobot.txtファイルです。Robot.txtを許可してもGoogle Botが自分のcssとjsを読み取れません
User-agent: *
Allow:/
Disallow: /wp-admin/
Disallow: /timeclock/
Disallow: /staging/
User-agent: Mediapartners-Google*
Allow:/
User-agent: Googlebot-Image
Allow: /wp-content/uploads/
Allow: /*.css$
User-agent: Adsbot-Google
Allow:/
Allow: /*.css$
User-agent: Googlebot-Mobile
Allow:/
Allow: /*.css$
User-agent: Googlebot
Allow:/
Allow: /* .js*
Allow: /* .css*
私はあなたが 'Allow:/ * .js *' 'を使う必要はないと思う*/* .css *' * 'Allow:/ .css *' このコマンドを書いてください*通常はノートを/ *で閉じる*/ あなたは削除しなければならないことが分かります。 –