i need print this url:
http://mysite.com/hello-world-product.html
i use this:
echo $this->getUrl('hello-world-product.html')
and that return this (see the last character wrong):
http://mysite.com/hello-world-product.html/
What can i do for return right value?!
See
getUrlparameters for details.However if this product is an actual product then it’s more resilient to use: