SEO技术优化模板

AI提示词模板合集

返回首页

SEO技术优化 AI提示词模板合集

可直接复制使用的提示词模板

#技术SEO审计 #站点结构 #结构化数据 #重定向规则 +更多模板

需要了解更多SEO技术术语?

查看SEO技术优化的术语词汇表,提升AI提问精准度

查看术语词汇表
\n测试建议', relatedTerms: ['JSON-LD', '结构化数据', 'Schema'] }, { id: '8', scenario: 'FAQ结构化数据生成', content: '请为页面[页面URL]生成FAQ结构化数据。常见问题包括:[问题列表],请使用JSON-LD格式。', instructions: '输入FAQ内容,AI会生成JSON-LD格式的结构化数据。', outputExample: 'FAQ结构化数据:\nJSON-LD代码\n测试验证方法', relatedTerms: ['FAQ', 'JSON-LD', '结构化数据'] }, { id: '9', scenario: '产品Schema标记', content: '请为电商产品页生成Schema标记。产品信息:[名称、价格、品牌、评分、库存等],请生成完整的JSON-LD代码。', instructions: '输入产品信息,AI会生成Product Schema。', outputExample: 'Product Schema:\nJSON-LD代码\n属性说明\n验证测试', relatedTerms: ['Schema', '产品', '结构化数据'] }, { id: '10', scenario: '面包屑导航实施', content: '请帮我为网站[网站URL]设计面包屑导航结构。当前分类结构是[分类结构],请给出HTML实现方案和Schema标记。', instructions: '输入网站分类结构,AI会生成面包屑方案。', outputExample: '面包屑方案:\nHTML结构\nCSS样式\nSchema标记\n示例代码', relatedTerms: ['面包屑', '导航', '结构化数据'] }, { id: '11', scenario: '301重定向规则设计', content: '我需要将旧网站URL[旧URL模式]重定向到新URL[新URL模式]。网站使用[服务器类型,如Apache/Nginx/WordPress]。请给出重定向规则。', instructions: '输入URL模式和服务器类型,AI会生成重定向规则。', outputExample: '重定向规则:\nApache: .htaccess代码\nNginx: nginx.conf代码\nWordPress: 插件方案', relatedTerms: ['301重定向', '重定向规则', 'URL'] }, { id: '12', scenario: '网站改版重定向策略', content: '网站即将改版,旧URL结构[旧结构]需要迁移到新URL结构[新结构],包含[页面数量]个页面。请设计完整的重定向策略和执行计划。', instructions: '输入新旧URL结构,AI会设计重定向策略。', outputExample: '重定向策略:\n映射表设计\n执行顺序\n注意事项\n回滚方案', relatedTerms: ['301重定向', '302重定向', '网站改版'] }, { id: '13', scenario: 'Hreflang配置审计', content: '请帮我审计多语言网站的Hreflang配置。网站[网站URL]有[语言列表]版本。请检查现有配置是否正确并给出优化建议。', instructions: '输入网站信息,AI会审计Hreflang配置。', outputExample: '审计结果:\n当前配置检查\n问题列表\n正确配置示例\n验证方法', relatedTerms: ['Hreflang', '多语言', 'SEO'] }, { id: '14', scenario: 'Hreflang标签生成', content: '请为我生成Hreflang标签。网站[网站URL],语言版本包括:[en-us, zh-cn等],请提供各版本的HTML代码。', instructions: '输入网站和语言版本,AI会生成Hreflang代码。', outputExample: 'Hreflang代码:\n各语言版本标签\nx-default设置\n放置位置', relatedTerms: ['Hreflang', '多语言', '标签'] }, { id: '15', scenario: '页面速度优化诊断', content: '请帮我诊断网页[页面URL]的速度问题。当前LCP[秒],FID[秒],CLS[值]。请分析原因并给出优化方案。', instructions: '输入页面URL和Core Web Vitals数据,AI会分析并给出优化建议。', outputExample: '优化方案:\n问题分析\nLCP优化建议\nFID优化建议\nCLS优化建议\n实施优先级', relatedTerms: ['LCP', 'FID', 'CLS', '页面速度'] }, { id: '16', scenario: '图片延迟加载实施', content: '请帮我为页面[页面URL]实施图片延迟加载。当前有[N]张图片需要优化,请提供原生JavaScript和Intersection Observer两种方案。', instructions: '输入页面信息,AI会生成延迟加载代码。', outputExample: '延迟加载方案:\n原生JS方案\nIntersection Observer方案\n占位符处理\n代码示例', relatedTerms: ['延迟加载', '图片优化', '性能'] }, { id: '17', scenario: 'Core Web Vitals优化', content: '我的网站Core Web Vitals指标不达标,LCP[FID/CLS值],请提供全面的优化方案,包括服务器、代码、资源等各方面。', instructions: '输入不达标的指标,AI会给出全面优化方案。', outputExample: '优化方案:\n服务器优化\n渲染优化\n资源优化\n监控设置', relatedTerms: ['Core Web Vitals', 'LCP', 'FID', 'CLS'] }, { id: '18', scenario: 'HTTPS配置检查', content: '请帮我检查网站[网站URL]的HTTPS配置是否正确。包括证书状态、混合内容问题、安全头设置等。', instructions: '输入网站URL,AI会检查HTTPS配置。', outputExample: '检查结果:\n证书状态\n混合内容检测\n安全头配置\n优化建议', relatedTerms: ['HTTPS', 'SSL', '安全'] }, { id: '19', scenario: 'H标签结构优化', content: '请帮我优化页面[页面URL]的H标签结构。页面主题是[主题],核心关键词是[关键词],当前H标签[当前结构]。', instructions: '输入页面信息,AI会优化H标签结构。', outputExample: '优化方案:\n当前问题\n推荐H结构\n代码示例\n优化说明', relatedTerms: ['H标签', '标题标签', '内容结构'] }, { id: '20', scenario: 'Meta标签优化批量处理', content: '请帮我批量优化[数量]个页面的Meta标签。页面主题是[主题],每个页面的关键词是[关键词列表]。', instructions: '输入页面信息和关键词,AI会批量生成Meta标签。', outputExample: '批量Meta标签:\n页面1: Title + Description\n页面2: Title + Description\n...\n格式化输出', relatedTerms: ['Meta标签', '标题', '描述'] }, { id: '21', scenario: '内部链接优化审计', content: '请帮我审计网站[网站URL]的内部链接结构。包括链接数量、深度、锚文本分布、断链检查等。', instructions: '输入网站URL,AI会审计内链结构。', outputExample: '审计报告:\n内链统计\n深度分析\n锚文本分布\n断链列表\n优化建议', relatedTerms: ['内部链接', '锚文本', '断链'] }, { id: '22', scenario: '链接权重分配策略', content: '我的网站有[页面数量]个页面,请帮我设计合理的内部链接权重分配策略,重点推广[重点页面]。', instructions: '输入页面结构和重点页面,AI会设计权重分配方案。', outputExample: '权重分配:\n重点页面\n链接策略\n推荐链接数\n锚文本建议', relatedTerms: ['内部链接', '权重分配', '链接优化'] }, { id: '23', scenario: '移动端适配检测', content: '请帮我检测网站[网站URL]的移动端适配情况。包括响应式设计、移动友好度、触摸元素等。', instructions: '输入网站URL,AI会检测移动端适配。', outputExample: '检测结果:\n响应式检查\n视口设置\n触摸友好度\n优化建议', relatedTerms: ['移动端', '响应式', '用户体验'] }, { id: '24', scenario: 'Canonical标签实施', content: '网站[网站URL]存在大量重复内容,包括[重复页面列表]。请帮我设计Canonical标签解决方案。', instructions: '输入网站和重复页面,AI会设计Canonical方案。', outputExample: 'Canonical方案:\n问题分析\n标签设置\n优先级说明\n验证方法', relatedTerms: ['Canonical', '重复内容', '索引'] }, { id: '25', scenario: '站点迁移技术检查清单', content: '网站即将迁移到新域名[新域名],请帮我制定技术检查清单,确保迁移过程SEO权重不受损失。', instructions: '输入新域名,AI会生成迁移检查清单。', outputExample: '检查清单:\n重定向设置\n配置检查\n监控方案\n风险预案\n时间表', relatedTerms: ['网站迁移', '重定向', 'SEO'] }, { id: '26', scenario: 'AMP页面实施', content: '请帮我为文章页面[页面URL]创建AMP版本。包含必要的组件和正确的AMP标记。', instructions: '输入页面URL,AI会生成AMP页面代码。', outputExample: 'AMP页面:\nHTML结构\n必需组件\n验证代码\n注意事项', relatedTerms: ['AMP', '移动端', '页面速度'] }, { id: '27', scenario: '面包屑Schema生成', content: '请为面包屑导航生成BreadcrumbList Schema。当前路径是:首页 > [分类1] > [分类2] > [当前页]。', instructions: '输入面包屑路径,AI会生成Schema代码。', outputExample: 'Schema代码:\nJSON-LD格式\nHTML微数据格式\n验证方法', relatedTerms: ['面包屑', 'Schema', '结构化数据'] }, { id: '28', scenario: '网站技术健康检查', content: '请对网站[网站URL]进行快速技术健康检查。重点关注:死链、重复内容、页面加载、HTTPS、移动端等核心问题。', instructions: '输入网站URL,AI会生成健康检查报告。', outputExample: '健康报告:\n问题列表(高/中/低优先级)\n快速修复建议\n深入检查建议', relatedTerms: ['技术SEO', '网站审计', '健康检查'] }, { id: '29', scenario: '抓取预算优化', content: '我的网站有[页面数量]个页面,但Google爬虫抓取频率很低。请帮我优化抓取预算,确保重要页面优先被抓取。', instructions: '输入网站规模和问题,AI会优化抓取预算策略。', outputExample: '优化方案:\n当前问题分析\n重要页面优先级\n爬虫指令设置\nURL参数处理', relatedTerms: ['爬虫', '抓取预算', '索引优化'] }, { id: '30', scenario: '页面渲染优化', content: '我的网站使用[技术栈,如React/Vue]构建,存在首屏渲染问题。请帮我分析并提供服务端渲染或预渲染方案。', instructions: '输入技术栈和渲染问题,AI会给出优化方案。', outputExample: '优化方案:\n问题诊断\nSSR方案\n预渲染方案\n实施建议', relatedTerms: ['渲染优化', 'SSR', '首屏速度'] } ]; const searchInput = document.getElementById('searchInput'); const templatesList = document.getElementById('templatesList'); const prevBtn = document.getElementById('prevBtn'); const nextBtn = document.getElementById('nextBtn'); const pageNumbers = document.getElementById('pageNumbers'); const itemsPerPage = 20; let currentPage = 1; let filteredTemplates = [...templates]; function renderTemplates(templateList) { templatesList.innerHTML = ''; templateList.forEach(template => { const card = document.createElement('div'); card.className = 'template-card bg-white rounded-xl p-5 border border-gray-100'; card.setAttribute('data-template-id', template.id); let relatedTermsHtml = ''; if (template.relatedTerms && template.relatedTerms.length > 0) { relatedTermsHtml = template.relatedTerms.map(term => `${term}` ).join('·'); } card.innerHTML = `

${template.scenario}

${template.content}

关联术语: ${relatedTermsHtml}
`; const copyBtn = card.querySelector('.copy-btn'); copyBtn.addEventListener('click', function() { const copyId = this.getAttribute('data-copy-id'); const templateData = templates.find(t => t.id === copyId); if (templateData) { navigator.clipboard.writeText(templateData.content).then(() => { const originalText = this.innerHTML; this.innerHTML = '已复制'; this.style.backgroundColor = '#16a34a'; setTimeout(() => { this.innerHTML = originalText; this.style.backgroundColor = '#22c55e'; }, 2000); }); } }); templatesList.appendChild(card); }); } function renderPagination() { const totalPages = Math.ceil(filteredTemplates.length / itemsPerPage); pageNumbers.innerHTML = ''; for (let i = 1; i <= totalPages; i++) { const btn = document.createElement('button'); btn.textContent = i; btn.className = `px-3 py-1 rounded-lg ${i === currentPage ? 'bg-blue-600 text-white' : 'bg-gray-100 text-gray-600 hover:bg-gray-200'}`; btn.addEventListener('click', () => { currentPage = i; renderPage(); }); pageNumbers.appendChild(btn); } prevBtn.disabled = currentPage === 1; nextBtn.disabled = currentPage === totalPages; } function renderPage() { const startIndex = (currentPage - 1) * itemsPerPage; const endIndex = startIndex + itemsPerPage; const pageTemplates = filteredTemplates.slice(startIndex, endIndex); renderTemplates(pageTemplates); renderPagination(); } searchInput.addEventListener('input', e => { const searchTerm = e.target.value.toLowerCase(); if (searchTerm === '') { filteredTemplates = [...templates]; } else { filteredTemplates = templates.filter(t => t.scenario.toLowerCase().includes(searchTerm) || t.content.toLowerCase().includes(searchTerm) || (t.relatedTerms && t.relatedTerms.some(term => term.toLowerCase().includes(searchTerm))) ); } currentPage = 1; renderPage(); }); prevBtn.addEventListener('click', function() { if (currentPage > 1) { currentPage--; renderPage(); } }); nextBtn.addEventListener('click', function() { const totalPages = Math.ceil(filteredTemplates.length / itemsPerPage); if (currentPage < totalPages) { currentPage++; renderPage(); } }); renderPage();