# Chicken Recipe Kitchen PHP CMS

PHP 8.1+ / MySQL 8+ website and admin CMS based on the supplied Home, Chicken Food Recipes, About Us, Contact Us, and recipe download popup designs.

## Public pages
- `/`
- `/chicken-food-recipes/`
- `/about-us/`
- `/contact-us/`
- `/terms-of-service/`
- `/privacy-policy/`
- `/cookie-policy/`

## Admin
- `/admin/`
- Homepage, Chicken Recipes page, About Us, Contact Us
- Header/footer/navigation and policy content
- Recipes and recipe PDFs
- FAQs
- Recipe download requests
- Recipe information requests
- Contact messages
- CSV export

## Forms
Recipe download requests and Cook's Table requests are stored in `leads`. Contact Us messages are stored in `contact_messages`.

Recipe PDFs are served through `download.php` only after a successful recipe-download form submission. Direct access to `uploads/recipes/` is blocked by `uploads/recipes/.htaccess`.

## Structured data
FAQPage JSON-LD on `/chicken-food-recipes/` is generated directly from the enabled FAQ rows shown on the page — nothing separate. Organization JSON-LD in the footer is built only from whichever of `contact_email`, `contact_phone`, `contact_address`, and `logo_image` are set in Admin → Settings; empty fields are omitted rather than filled with placeholders.

## Installation
1. Create a MySQL database and user in cPanel and grant the user full privileges.
2. Upload the package to `public_html`.
3. Open `/db-setup.php` and enter the exact cPanel database credentials and site URL.
4. Complete `/setup.php` to create the admin account.
5. Delete `/db-setup.php` and `/setup.php` after installation.
6. Verify all public pages, forms, PDFs, and Admin sections before advertising.

## Before advertising
Fill in real values in Admin → Settings for `contact_email`, `contact_phone`, and `contact_address`. These are empty by default; a lead-gen landing page with no visible business contact info hurts landing-page experience/Quality Score and can slow down Google Ads account review. Once set, they appear in the footer, the Privacy/Terms/Cookie pages that reference them, and the Organization structured data automatically — there's nothing else to edit for this.

## Production accuracy
The package uses one public content/rendering path. Do not add Googlebot/AdsBot detection, crawler-only pages, referrer-based content variants, hidden review content, or redirects intended to show a different destination to Google. Keep business/contact information, legal notices, consent language, and advertised content accurate.

Google Ads approval and CPC are not guaranteed by this package. Quality Score includes expected CTR, ad relevance, and landing-page experience, so campaign structure and ad/search-term alignment also matter.
