| 开发者 | llmaffiliate01 |
|---|---|
| 更新时间 | 2026年6月19日 23:41 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
/ai-terms page (or equivalent) that displays your site's AI usage and content terms. It functions as a site-published policy page that visitors—including AI systems and human readers—can view. Site owners are responsible for the contents and legal suitability of the terms. The plugin includes a default template; you may customize it to match your needs.
GOOGLE SEARCH CONSOLE (OPTIONAL)
The LLMAffiliate service can provide a Google Search Console HTML tag verification token on llmaffiliate.com for connected sites (see your dashboard or integration docs). If you choose to use it, open Settings → LLMAffiliate AI Traffic in WordPress and paste the token into the prominent Use LLMAffiliate's Search Console verification field, then save. The token is stored only in your site's database and outputs the standard <meta name="google-site-verification" …> tag on your public frontend. You can clear the field at any time to remove the tag.
Why this helps: With your consent, LLMAffiliate can verify the site in Search Console tied to that token, which helps the service monitor indexing coverage and page performance for your integration and support you more effectively. This is fully optional; if you leave the field empty, nothing is added to your HTML.
No extra HTTP request is made to Google from the plugin for this feature—the meta tag is for Google’s crawler when it visits your site.
/wp-content/plugins/ using the folder name llmaffiliate-ai-traffic-monetizer (this must match the Text Domain header so automated checks and translations stay aligned).No. WordPress admin, login, REST API, and static assets are always bypassed.
The plugin logs the failure (if enabled), adds an X-LLMAFFTM-Interceptor: fallback header, and allows WordPress to render normally.
Enable “Allow Signed Override” and configure an HMAC secret.
Then append:
?llm_profile=<profile>&llm_sig=<signature>
Signature format:
hash_hmac('sha256', "<path>|<profile>", <secret>)
Yes. Googlebot and other search crawlers always receive original content, ensuring compliance with search engine guidelines.
If the plugin lives in a directory with a different name (for example llm-interceptor), some tools compare that folder to the Text Domain and show a warning. Use the directory name llmaffiliate-ai-traffic-monetizer (the plugin slug) under wp-content/plugins/—the same layout as the WordPress.org distribution ZIP.
It saves a google-site-verification meta content value in your database and prints one meta tag on the public site. LLMAffiliate may issue a token on llmaffiliate.com so they can verify the property for support, monitoring, and better visibility into indexing and performance—or you can paste your own token from Google Search Console. Clear the field and save to remove the tag.
/sitemap.xml and robots.txt: read site_url from the public user-sitemaps API response (replacing the old sitemap_url field) so submitted integration URLs appear in the plugin sitemap and monetized paths are listed correctly in robots.txt.llmafftm_gsc_verification_token, with Save / Clear and AJAX handler llmafftm_save_gsc_verification.Tested up to header updated.public/user-sitemaps API (documented under External services).llmafftm_ / LLMAFFTM_. Legacy llm_interceptor_* options are migrated on upgrade. Response headers use X-LLMAFFTM-*.wp_json_encode().llmaffiliate-ai-traffic-monetizer.wp_register_style() + wp_enqueue_style() + wp_print_styles()) instead of a direct <link rel="stylesheet"> tag, per the WordPress Plugin Review Team's guidance on correctly enqueuing CSS and JavaScript.== External services == section to the readme that fully discloses the LLM Affiliate cloud service (onboarding and enhanced-content render endpoints), the data transmitted, the conditions under which each request is made, and links to the service's Terms of Service and Privacy Policy — per the WordPress Plugin Review Team's third-party-service disclosure requirement./ai-terms page) are passed through wp_kses() with a full-document allow-list, which is exposed via the new filter llmafftm_allowed_full_html so the list can be extended without modifying plugin files. The JSON-LD structured-data block uses wp_json_encode() inline with the JSON_HEX_TAG|JSON_HEX_AMP|JSON_HEX_APOS|JSON_HEX_QUOT flags so it is safe to inline inside a <script type="application/ld+json"> tag.json_encode() calls with wp_json_encode() (onboarding POST body and suspicious-event debug log) per the WordPress Coding Standards preference for the WP-safe JSON encoder.urlencode() in the enhanced-content URL builder with rawurlencode() so query-string values are encoded per RFC 3986, as recommended by the WordPress Plugin Review Team and WordPress.PHP.DiscouragedPHPFunctions.urlencode_urlencode.https://llmaffiliate.com/terms) and Privacy Policy (https://llmaffiliate.com/privacy) URLs referenced from the == External services == section of this readme.public/user-sitemaps external API used when serving the plugin sitemap URL.llmafftm_google_site_verification filter.esc_url() on <loc> output for WordPress EscapeOutput compliance.