How we can get current url in magento?



How we can get current url in magento?..

Answer / Saurabh Saran Diwakar

To get the current URL in Magento, you can use the following code:<br>
`$this->_urlBuilder->getUrl()`<br>This method returns the absolute URL of the current page.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Magento PHP Interview Questions

How we can format price in magento?

1 Answers  


How much does magento ecommerce cost?

1 Answers  


How popular is magento?

1 Answers  


What is mage in magento?

1 Answers  


Where can I download magento?

1 Answers  


How to upgrade magento?

1 Answers  


What is the latest version of magento?

1 Answers  


What is a module in magento?

1 Answers  


Is magento a public company?

1 Answers  


What is magento enterprise edition?

1 Answers  


what all billing information can be managed through Magento?

1 Answers  


How to write custom sql query in magento?

1 Answers  


Categories