307 redirect in Magento 2
How could I implement in Magento 2 a http 307 redirect. I would like if possible use Magento methods/framework not phps. Thank you.
Auto Added by WPeMatico
How could I implement in Magento 2 a http 307 redirect. I would like if possible use Magento methods/framework not phps. Thank you.
I using the following code to redirect all visitors to the login page. Everything is working fine with the exception of the Forgotten Password link… how would be make an exception for that /customer/account/forgotpassword/ $redirect_url = Mage::getUrl(‘customer/account/login/’); $current_url = Mage::helper(‘core/url’)->getCurrentUrl();… Read More »Redirect to login page with exception
I’ve made a copy of a Magento folder to set up another domain, swapped the old domain name both in the database (web secure url) and in the filesystem (env.php), and pretty much everywhere I could find it (did a… Read More »Weird 301 redirect for the entire site
I want create controller for specific path, but i can’t know how i can do this. My controller must work with path like: site.com/usa/some-review/dynamicParam My path for controller: site.com/some-review/index/index How i can create controller for usa/some-review/dynamicParam or forward redirect from… Read More »Magento 2 How create front controller with a specific path?
In Magento 2 I have two stores with “add store code in url” option enable. Store code 1 = “fr” Store code 2 = “es” I want to automatically add default store code in url: Redirect http://mywebsite.com to http://mywebsite.com/fr/ Actually… Read More »Magento 2 – Redirect base url to base url with store code
When I log in as customer on store view B, then visit store view A, most links I click on store view A result in a redirect to store view B. It only changes the domain name, not the URI… Read More »Stop redirect on session to store view