
Compare dynamic and static pages to boost e-commerce SEO, and learn to tailor page titles, meta descriptions, and keywords per product category for a more robust, search-friendly site.
Learn how to set up mod_rewrite and .htaccess to rewrite requests, handle non-existent files by routing to index.php, and implement robust url management for e-commerce.
Autoload and configure path handling to define page constants, manage page extensions, and adjust include paths for clean static urls in an e-commerce setup.
Crafts a new url class definition with properties for page, modules, main, controller logging, and action index; defines dynamic string handling and PayPal response parameters.
Explain how to implement the process method for a server request, identify static and dynamic parameters by exploding the query, and distribute parsed values to the class properties.
Learn to normalize a URL by removing its extension and trailing slashes, extracting the core path, and ensuring the result is nonempty before storing in the database.
Parse a URL by splitting on slashes, extract the first element, adjust module, set main and c page, then for each parameter create key-value pairs and handle reserved keywords.
Learn to split input into dynamic parameters, use explode with the equal symbol, check if the array key exists, and implement two new methods to get values.
Learn how the get and href methods build links from main and rooms, handling empty values, pairing keys and values, and assembling paths with slash and an extension.
Explore how the get current page method builds the current page url by handling front and main modules, optional extension, and excludes, using arrays and implode for forward-slash joining.
Introduce helper additions: clear_string, is_empty, and make_array to clean strings, check emptiness, and normalize inputs to arrays in the helper class.
Delve into core class amendments that implement navigation, title, description and SEO keyword handling, plus a run method with a module switch and a control panel for e-commerce pages.
Implement a navigation class with url property and active state logic, including constructors, parameter handling, and exception-based routing for main and paired items.
Modify header to dynamically populate title, description, and keywords from METAR data; update navigation for login state; implement catalog and category links via a Tref method in core header.
Add identity, title, description, and keywords to category and products tables; set identity varchar(200) and others varchar(255); map name to title, description, keywords, and create hyphenated identities for seo.
Replace placeholders in the small basket file by keeping relevant parameter values, overriding the basket reference with a new URL, then save and proceed to the next video.
Explore the catalogue class architecture, adding flexible constructor logic and cross-platform path handling, then implement get category by identity and get categories methods to fetch data from the database.
Identify and prevent duplicate product identities within the catalog by implementing a method that checks identity or id against database queries and excludes the current record when editing.
Add a category method in the catalogue class by building an insert into table for columns like name, identity, meta title, meta description, and keywords, with corresponding values.
Learn how to implement the update category method to modify category records by setting name, identity, meta title, meta description, and meta keywords, with updates applied where id equals.
Implement the get category method to count how many products belong to a specific category using a select count query and category id, updating the catalog class.
update the paging class by adding a new public object property and passing it through the constructor, then switch to using the url object for paging and implement get current.
Explore the get links method for building pagination in ecommerce, parsing next and previous links, and composing page URLs with id and page extensions.
Update the open catalog page by retrieving categories by identity, populating title, meta tags and keywords, and building catalog item links with paging and image path adjustments.
Fetch a catalog item by identity, then set meta title, description, and keywords, and render the product image and category on the catalog item page.
Test the app in a browser, fix the left side navigation active state by setting the default to true and correcting the active navigation method in the template, then refresh.
Update the main basket view to render the basket contents, including categories and products, and verify the view basket flow; save, refresh, and confirm login and checkout readiness.
navigate the basket page and prepare the checkout flow by configuring the checkout url, applying a redirect, and wrapping the checkout method in the checkout file.
Refactor the login class by removing dynamic parameters and updating slash login paths, adjust directory handling in ht access, add the page extension, and configure login redirects for proper routing.
Explore the login page flow, validating user activation status, handling inactive emails, and triggering a resend activation email via AJAX to secure user access.
Extend the user class by adding a new public object property and constructor, and implement a get by email query to fetch the user ID from the database.
Validate the user id, load the user, build a parameter array with email, first name, and last name, and trigger a resend activation email via JSON output.
Resend email template shows how to modify activation email templates for resending links, including password and username only if a password is provided, using an if statement to control display.
Wire an on-click JavaScript flow to resend activation emails, wiring the basket object and the email inactive element, and navigate using location.href on success.
Design two landing pages for resending activations, including a success page and a failure page with clear activation link resend messages for e-commerce.
Learn how to design a checkout summary page using static urls and meta tags for e-commerce, including passing an object and parameters and managing links.
Build a PayPal class by configuring its constructor and properties, initializing default values, and preparing IPN handling alongside saving the updated file.
Open the file in the pages folder, refine the invoice link and identifiers such as a tref, re id, and role id, then save and close the file.
Open invoices in the pages folder, retrieve the specific invoice record, and display its title, id, and launch date within the invoice template.
Activate the page by reviewing the front-end structure, including ref and Tref within brackets, then begin amending settings in the control panel.
Update the login page by replacing front-end templates with the control panel, edit the admin index.php to remove legacy references, and load the correct control panel template after refreshing.
Rewrite the admin templates to set the logo to the home page, replace links with the panel, adjust logout paths, and switch navigation to object navigation by page name.
Learn how to list products by switching from a get to a post form, handling search criteria, and redirecting back to the products page.
Implement product listing with pagination and search handling, decoding URL parameters, removing or editing products, and encoding safeguards to ensure correct query results and navigation.
Add product creates fields identity, title, description, and keywords after price, normalizes identity into a lowercase, hyphenated slug with apostrophes removed, then checks for duplicates before saving.
Build product meta tags by configuring identity, title, description, and keywords fields, switching to textareas for description, and implementing validation blocks to ensure accurate attributes and metadata.
Add and verify new validation messages in the evaluation class for identity, title, description, and keywords, and verify that saving and refreshing replace arrows with validation messages.
Configure confirmation pages with templates and path adjustments, then save and close changes to keep the page list up to date.
Edit a product by updating identity, price, and keywords, perform duplicate checks, and implement redirects while wiring product data into sticky form fields.
Edit confirmations by amending the confirmation pages, replacing templates, removing slash templates, saving updated files, and closing edits.
Remove the product by fetching its ID, updating the current object, and deleting it from the array. Then remove the templates from the required header and footer.
Update the categories module by adjusting paging and replacing old links with new, category ID–based add and remove actions. Verify in the browser that links navigate correctly and reflect URLs.
Add category method validates name and identity, parses meta tags (title, description, keywords), and checks for duplicates by name or id. It updates the form object and handles submission.
Ensure safe category removal by performing confirmations and removing templates, verify no products are linked to the category, then update paths and redirects before saving.
Edit a category by copying and validating post fields, including identity, name, category, title, description, and keywords; check for duplicate identities and prepare the post object.
Explore building and refining the orders list in an ecommerce admin, including replacing order elements, saving changes, and implementing a search form consistent with the product section templates.
Edit an order by changing the form method from get to post. Review search behavior, current data, and invoice updates within the editing workflow.
Update the order confirmation workflow by removing templates, changing and saving objects, and saving and closing files, then proceed to the invoice page in the next video.
Demonstrates invoice amendments in e-commerce by viewing a specific order, opening the invoice in a new page, and ensuring all details display correctly and remain static.
Modify the clients file by reusing existing blocks, update search and paging logic, switch to post requests, and assemble a dynamic url with the user id for client actions.
Edit the client page by replacing objects and paths, remove header and footer templates, then save and close the file.
Edit confirmations and remove templates by replacing the current template with the forward slash and equals, handling get current and remove steps, then set up redirection and save and close.
Update business record by replacing the current object with the new one, copying the entire block, converting templates, preserving parameters as an array, and saving and closing the file.
Open admin pages, apply templates and requirements, save changes, and refresh to verify; ensure corresponding controller files exist to avoid blank pages on reload.
This is an add-on series to our main course Build E-commerce website with PHP, MySQL, jQuery and PayPal.
In this series we will learn how to improve our E-commerce website's SEO by adding meta tags and converting dynamic urls to static (keyword rich) ones. We will also have a look at the registration form and provide the 'Resend Activation' link where account was previously registered, but not yet activated.