@php $isEdit = !empty($page); $action = $isEdit ? route('admin.pages.update', $page->id) : route('admin.pages.store'); $robotsOld = old('meta_robots', $page->meta_robots ?? 'index'); $schemaOld = old('schema_type', $page->schema_type ?? 'WebPage'); @endphp
@csrf @if($isEdit) @method('PUT') @endif
{{-- Title --}}
Page Title
@error('title')
{{ $message }}
@enderror
{{-- Slug --}}
Permalink where this page lives on the site
{{ url('/') }}/
@error('slug')
{{ $message }}
@enderror

Letters, numbers and dashes only. Auto-filled from the title until you type it yourself.

{{-- Content --}}
Content HTML β€” exactly what the live page renders
@error('content')
{{ $message }}
@enderror
{{-- SEO --}}
SEO 0%
{{-- Focus keyword --}}

The one phrase you want this page to rank for. Every check below is measured against it.

@error('focus_keyword')
{{ $message }}
@enderror
{{-- Meta title --}}

Shown as the blue link in Google. Aim for 30–60 characters.

@error('meta_title')
{{ $message }}
@enderror
{{-- Meta description --}}

Aim for 70–160 characters. Left empty, Google will pull this from your content.

@error('meta_description')
{{ $message }}
@enderror
{{-- Keywords --}}

Comma separated. Google ignores this tag, but other search engines still read it.

@error('meta_keywords')
{{ $message }}
@enderror
{{-- SERP preview --}}
Google search preview

{{-- Indexing --}}
@error('meta_robots')
{{ $message }}
@enderror
{{-- Schema --}}

Emitted as JSON-LD so Google can show rich results.

@error('schema_type')
{{ $message }}
@enderror
{{-- Canonical --}}

Leave blank to use this page's own URL. Set it only if the same content lives elsewhere β€” it tells Google which copy is the original.

@error('canonical_url')
{{ $message }}
@enderror
{{-- OG image --}}

Full URL (or a path like storage/uploads/…). Used for Facebook / WhatsApp / X shares. Recommended 1200 Γ— 630.

No image set β€” the site logo will be used.
@error('og_image')
{{ $message }}
@enderror
{{-- Publish --}}
Publish

Turn this off to keep the page as a draft β€” visitors will get a 404 until you publish it again.

Cancel
@push('scripts') @endpush