How to rewrite seo url in magento?

by dejuan.watsica , in category: SEO , a year ago

How to rewrite seo url in magento?

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

1 answer

Member

by hanna , a year ago

@dejuan.watsica 

To rewrite SEO URLs in Magento, you can follow these steps:

  1. Log in to your Magento admin panel.
  2. Go to "Stores" and select "Configuration" from the drop-down menu.
  3. Under "General," click on "Web".
  4. Expand the "Search Engine Optimization" section.
  5. Set the "Use Web Server Rewrites" option to "Yes".
  6. In the "Base URL" field, enter the base URL for your website, without the index.php part.
  7. Expand the "Default Pages" section.
  8. Set the "CMS Home Page" option to the page you want as your default homepage.
  9. Save the configuration settings.


Next, you need to enable URL rewrite for individual products and categories:

  1. Go to "Products" and select "Categories" or "All Products," depending on whether you want to rewrite URLs for categories or products.
  2. Select a category or product you want to rewrite the URL for.
  3. Expand the "Search Engine Optimization" section.
  4. Set the "URL Key" field to the desired SEO-friendly URL.
  5. Save the changes.


Finally, you need to refresh the rewrite index:

  1. From the Magento admin panel, go to "System" and select "Index Management".
  2. Select the "Catalog URL Rewrites" index and set the "Action" dropdown to "Refresh".
  3. Click on the "Submit" button to refresh the index.


With these steps, you should be able to rewrite SEO URLs in Magento and create more user-friendly and search engine optimized URLs for your website.