Fix SEO audit issues: brand rename cleanup, sitemap HTTPS, structured data, titles, descriptions, canonicals
- Replace all "GameLog" brand references with "LoreKeepers" (og:site_name, twitter meta, top-rated, community lists) - Force HTTPS in sitemap generation; update .env.example APP_URL to https://lorekeepers.games - Enhance VideoGame JSON-LD on game pages: add image, datePublished, author fields - Improve title tags across all main pages (keyword-rich, include year on game pages) - Add/update meta descriptions and og:description on all public pages - Add canonical tag and og_title/og_description to homepage - Add rel=prev/next pagination links on /games via head_links stack - Add @stack('head_links') to layout head for child view injection - Smarter description truncation on game pages (last sentence boundary) - Improve screenshot alt text with genre context Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
ea3e376507
commit
bb6323b141
@@ -5,6 +5,7 @@ namespace App\Console\Commands;
|
||||
use App\Models\Game;
|
||||
use App\Models\User;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Facades\URL;
|
||||
use Spatie\Sitemap\Sitemap;
|
||||
use Spatie\Sitemap\Tags\Url;
|
||||
|
||||
@@ -15,6 +16,7 @@ class GenerateSitemapCommand extends Command
|
||||
|
||||
public function handle(): int
|
||||
{
|
||||
URL::forceScheme('https');
|
||||
$sitemap = Sitemap::create()
|
||||
->add(Url::create('/')->setPriority(1.0)->setChangeFrequency(Url::CHANGE_FREQUENCY_DAILY))
|
||||
->add(Url::create('/games')->setPriority(0.9)->setChangeFrequency(Url::CHANGE_FREQUENCY_DAILY))
|
||||
|
||||
Reference in New Issue
Block a user