To configure Magento to generate SEO-friendly pagination URLs, follow these steps:
- Login to your Magento admin panel.
- Navigate to System > Configuration.
- Click on Catalog in the left sidebar menu and then select “Search Engine Optimization.”
- Under the “Pagination” section, set “Use Canonical Link Meta Tag for Sorting Pages” to “Yes.”
- Set “Display Page Number” to “No” under the “Pagination” section.
- Under the “Product URL Suffix” section, add the appropriate suffix that you want to use (e.g., .html).
- Click “Save Config” to apply the changes.
By configuring Magento in this manner, you are telling the system to use canonical links to consolidate the pages for search engines, while keeping the URL simple by not including page numbers. Additionally, adding the suffix to product URLs will make them SEO-friendly.