Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Replacing - with _
 
Anjanesh
Sr. Member
 
Avatar
Total Posts:  136
Joined:  2008-03-15
Mumbai, India
 

I have replaced all - (hyphen) to _ (underscore) in product URLs in list page.

$url_key str_replace("-","_",$product_url);
$url_key str_replace("___","_-_",$product_url);
Now where I do replace them back so that URLs are valid and doesnt return 404 ?
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top