PDA

View Full Version : How to remove underscores from url in magento website ?



HeavenlyBorn
06-28-2019, 07:21 AM
How to remove underscores from url in magento website ?

krishnasai
07-01-2019, 06:50 AM
Google and other search engines have considered the underscore to be part of a word. So, search terms like REMOTE_ADDR can be easily found in the search results. Of course, the URL has also been a factor in determining search engine results placement. Granted, it is not exactly a huge factor, but it can carry some weight. This is precisely why we can Google search a domain name, and the URL with the domain name ranks first in the search results. After the domain name, the URL starts to display keywords with folders, file names, and parameters.



Spiritual Healer in Sydney (http://www.astrologerkrishnasai.com/) | Astrologer Services in Sydney (http://www.astrologerkrishnasai.com/) | Love Problem Solution Astrologer in Sydney (http://www.astrologerkrishnasai.com/) | Astrologers in Sydney (http://www.astrologerkrishnasai.com/) | Psychic Reading Astrologer in Sydney (http://www.astrologerkrishnasai.com/) | Indian Astrologer in Sydney (http://www.astrologerkrishnasai.com/) | Black Magic Removal in Sydney (http://www.astrologerkrishnasai.com/)

Lukedawn
07-01-2019, 06:58 AM
Within Magento you have the option to add URL Rewrites (also commonly to the Magento module that is used to serve the webpage

kunalkumar
07-02-2019, 03:14 AM
You can change it from the admin panel, on:

System > Configuration > Catalog > Search Engine Optimizations

Set empty the following fields:

Product URL Suffix
Category URL Suffix

If the store has been indexed you should redirect the old URLs to the new ones, you can do it with a redirect rule on your htacces, something like:

RewriteRule ^index.php/?(.*).html$ /$1 [R=301,L]