The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [redirect-url]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
8k views

Magento 2 : After login need to redirect on same page instead of customer Dashboard

After login redirect user on previous page from front-end. I am using the login pop-up and all default functionality. Also the Admin configuration Redirect Customer to Account is set as No. But it ...
6
votes
2answers
5k views

Magento 2: Maintenance Mode

I've configured Magento 2 website as maintenance mode from .maintenance.flag it's working, at the same time I have configured released IPs from .maintenance.ip file. For multiple IPs not working ...
1
vote
1answer
2k views

Magento 2 : Add to Cart Button redirect to contact page

I am using Magento 2, How to redirect to contact us page when adding a product to add to cart?
7
votes
4answers
6k views

Magento2: Re-direct to custom URL from observer

My requirement is that if a customer visits website from country India they should be redirected to indian website www.example.com/in/ . In all other cases it should be default website only. I'm ...
3
votes
3answers
25k views

Redirect to home page in Controller

I want to redirect my site to home page (base URL) in Controller. $this->_redirect(); Using above mentioned function gives me the warning to specify the argument. Warning: Missing argument 1 ...
2
votes
2answers
241 views

Setting my base_url to Secure

Setting my base_url to HTTPS drops the query string I set the base URL for my site to https://www.example.com, now when user comes to my site from a non secure URL (link) that has a query at the end ...
1
vote
1answer
924 views

Redirect to specific controller from observer without changing my current browser Url

I had written a observer to trap product view page event and it is working fine.Now in that code i want to call a controller and pass the product id in it and render the custom view.phtml file, so how ...
0
votes
1answer
122 views

Adding Custom massAction to Orders Grid in Magento 2

I added the custom massAction to Orders List and it's executing my massAction method but it's redirecting to dashboard. for these I have written below code. protected function massAction(...
0
votes
2answers
508 views

Different category URLs for store views, redirect to proper one

I would like to have different URL keys for a category for every store view. ex http://store.com/electronics.html for EN store http://store.com/electronics-gr.html for a GR view. When i switch ...