Change of Magento contacts page URL

前端 未结 4 2400
时光说笑
时光说笑 2021-02-19 20:38

How can I change Magento contacts page URL from /contacts to contact-us.html?

Thanks for any advice.

4条回答
  •  旧巷少年郎
    2021-02-19 20:52

    The 'proper' way would be to create a small module similar to the below;

    app/etc/modules/Organisation_Module.xml

    
    
        
            
                true
                local
            
        
     
    

    and...

    app/code/local/Organisation/Module/etc/config.xml

    
    
        
            
                0.0.1
            
        
        
            
                
                    standard
                    
                        Mage_Contacts
                        contact-us.html
                    
                
            
        
    
    

    Upload your files, clear your cache and you're good to go.

提交回复
热议问题