I have a controller where I created a redirect to checkout/#payment
like this
$resultRedirect = $this->resultRedirectFactory->create();
$resultRedirect->setPath('checkout/#payment');
return $resultRedirect;
When I access the controller, it redirect me at the right path, but when the page it's almost done, it change the link into checkout/noroute/
and i recive 404.
Does anyone know why this happen?