Redirect_404_Vehicles
Contents
Description Description
A class that detects when requests are made for vehicles that are no longer on the site and redirects the user to that vehicle's make archive.<br>So, a request for a sold or removed Subaru will redirect the user to the archive page containing all Subarus.
Source Source
File: includes/class-redirect-404-vehicles.php
Expand full source code Collapse full source code View on Github
Methods Methods
- add_hooks — hooks
- extract_make — extract_make
- hooks — hooks
- is_request_for_vehicle — is_request_for_vehicle
- maybe_redirect — maybe_redirect
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |