Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix trailing slash used a product & category URL suffix
If request path doesn't match the DB values, if it's redirect (301 or 302) - follow redirect rules from DB results (to have only one redirect); if it's not redirect (category or product page) - redirect to request_path from DB. It will reduce negative effect for SEO and a little bit server load (1 request instead of 2).
- Loading branch information