Questions tagged [redirection]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
48 views

Change back redirection from product detail page in Magento 2

I want to change the "Back" URL for the admin's product form.
Mehul Shah's user avatar
0 votes
1 answer
98 views

A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, try again later. Ajax call

I have a problem here. I use Ajax call to send data to controller. define([ 'jquery', 'Magento_Ui/js/form/components/button' ], function($, button){ 'use strict'; return button.extend(...
Nghia Hoang Trong's user avatar
0 votes
0 answers
22 views

Why magento generates two 301 redirections after product name change

I have a problem with 301 in magento 2.4.2. When I change the name of product, magento generates pernament URL redirects. Two of them, have you guys have any ideas why this is happening?
Filip S.'s user avatar
0 votes
3 answers
451 views

After Logout redirection

once we click on logout link, I need to be redirected to cart page /catalog page not home page,how can I proceed to do so. Thank you
sara ben's user avatar
0 votes
1 answer
70 views

Too many redirects - Magento administartion Categories page

Visiting Catalog > Inventory > Products in magento administration ends to a page with ERR_TOO_MANY_REDIRECTS error message. Here's a screenshot from browser console. I have tried to clear ...
zekia's user avatar
  • 620
0 votes
2 answers
271 views

Redirect to checkout from custom observer

I need to redirect to checkout from an observer related to the event customer_account_edited. Here is my code. I've deleted a lot of rows that actually works... Magento is doing everything well but ...
Glen Runciter's user avatar
1 vote
1 answer
348 views

Multistore: change default store got admin inaccessible

I have a magento website with multi store installation, i have a problem that the store domain.com redirects to default.com, the default.com is the default store domain, this is the 1st issue. The ...
tarek fellah's user avatar
1 vote
2 answers
659 views

Redirection issue after website duplication with Magento 2

I'm currently working a Magento 2 (2.1.14 exactly) mutli-store website and I have some problems for create a development website. I'm the only back-end developer in the company and had never work on ...
Benjamin's user avatar
1 vote
0 answers
309 views

Magento 2 - how do i redirect "mydomain/pub" and "mydomain/pub/media" path to homepage?

I'm trying to redirect "mydomain.com/pub" and "www.mydomain.com/pub/media" to homepage (mydomain.com). Currently, "mydomain.com/pub" path shows the homepage with no css and js loaded, and "www....
Mage Explorer's user avatar
1 vote
2 answers
454 views

How can I convert 302 to 301 redirect?

https://newsite.com to https://www.newsite.com results in a 302 redirect. Not sure from where this temporary redirect is coming. Site nginx configuration has only 301 redirects. Here is the ...
Zoya's user avatar
  • 481
0 votes
2 answers
2k views

redirect to the product url from observer or controller magento 2

i want to redirect from observer to the default magento product url from observer. public function __construct( \Magento\Framework\App\ResponseFactory $responseFactory ) { ...
Hitesh Balpande's user avatar
0 votes
1 answer
988 views

Add query string to url when redirect to 404 page

Please advice to add query string param to URL when magento2 redirect to 404 no-route page for example here is no route path: magento2demo.firebearstudio.com/noroute I need to append query like ?test=...
Slatan-ko's user avatar
0 votes
1 answer
388 views

Magento 2.1 redirects in Observer after payment

I'm creating a payment method gateway, that requires after place order in the frontend, redirects to the custom controller that I've created. I created an observer sales_order_payment_place_end to ...
mty95's user avatar
  • 21
2 votes
3 answers
3k views

Magento 2 newsletter subscription redirection to custom page

Default behavior: When I subscribed to newsletter then it displayed the success message in the same page itself. What I want is: When the customer or guest user subscribe to the newsletter I want ...
Chintan Kaneriya's user avatar
1 vote
0 answers
74 views

Are the Magento 2.1.14 rewrite rules in htaccess file working properly?

In the default htaccess file in Magento 2.1 there are some RewriteCond's and RewriteRule's that are explained in the htaccess.sample file that comes with Magento 2.1. never rewrite for existing files,...
Jason's user avatar
  • 538
2 votes
2 answers
256 views

Redirecting from block not working

I'm trying to redirect from block but it's not working. But same methods work in different projects. 1. Process 1 public function __construct( \Magento\Framework\View\Element\Template\Context $...
P S's user avatar
  • 1,983
1 vote
0 answers
132 views

Redirect to order listing after order status change from admin panel - Magento 2

In admin panel, after order status change from pending to complete, I want to redirect it to listing page. How can I redirect to order listing page straight after the order status change to complete?...
Bhavesh Tilvani's user avatar
0 votes
3 answers
3k views

Magento 2 redirection not working?

I implemented redirection for users when some condition become true. My code <?php namespace send\sms\Observer; use Magento\Framework\Registry; use Magento\Framework\Event\ObserverInterface; use ...
Ramesh KR's user avatar
  • 836
1 vote
1 answer
83 views

How to redirect users to custom link when user access any link?

I implemented OTP integration. Now in table 'otpp' I have column 'verified'='0' when user doesn't verify OTP and 'verified'='1' if user verified. So I need to redirect to otp verification page when '...
Ramesh KR's user avatar
  • 836
0 votes
2 answers
9k views

Magento 2 admin panel inaccessible after modyfying admin base URL

After installing Magento 2 on my web hosting account, I changed the admin base URL, and from then, I couldn't access the admin panel any longer. Web browsers state improper redirection that goes into ...
Justin's user avatar
  • 45
1 vote
1 answer
710 views

Magento 2 : Admin page pages redirect to Admin my account

After login My magento 2 admin all pages are redirect to admin my account page i dont now what happen. its work yesterday good. issue start today.
Ajay Patel's user avatar
  • 1,513
2 votes
1 answer
56 views

My website is being forward to another URL off the search engine links

When you type my website in the address bar you make your way to our website. But if you Google or Yahoo us and click on the link they provide as a search result you get forwarded to another URL that ...
Wilsooo's user avatar
  • 63
0 votes
1 answer
351 views

After Tranfer to New Domain all Links redirect to Old Domain

I have magento store on penhouse.co.in and I transfer it to penhouse.in Also Changed core_config_data with base_url and deleted cache from var/cache directory. But still the penhouse.in redirected ...
Larice Gabba's user avatar
0 votes
0 answers
325 views

Magento Admin Form Data blank when got Session Error message

I am checking a field for unique data, I put this code: if ($data = $this->getRequest()->getPost()) { if($data['cs']['company_name']){ $checkCollection = Mage::getModel('test/...
Yogita's user avatar
  • 784
2 votes
1 answer
987 views

Magento 2 Observer for 404 Page

I want to log all 404 page in magento 2. Recently we have moved from woo-commerce to magento 2 and all the product/category/pages URL are now changed. We want to log all 404 Page URL and take ...
Arun Karnawat's user avatar
0 votes
4 answers
8k views

ERR_TOO_MANY_REDIRECTS error when setting up HTTPS

I have a simple website running Magento CE 1.9 on a single Linux/Apache server. The website works ok with HTTP but I am having a lot of issues trying to get HTTPS working. After setting the Unsecure ...
Nick Hoare's user avatar
5 votes
3 answers
14k views

Magento 2 override the cutomer account loginpost controller

I am trying to overriding the below class in my custom module: vendor\magento\module-customer\Controller\Account\LoginPost.php For overriding this I have created the Plugin file as per the below ...
mageDev0688's user avatar
0 votes
1 answer
2k views

Magento 2 The page isn’t redirecting properly in custom module

I have created the custom module for custom login.but when i open the below link it's not redirecting properly. http://localhost/magento/custommodule/ below is my route file code and path: app\...
mageDev0688's user avatar
1 vote
1 answer
387 views

SUPEE-9767 Magento 1.6.0.0

After patching a Magento 1.6.0.0 site with SUPEE-9767 I am getting an infinite redirect loop. There were no errors applying the patch. I am running it on Apache2.2 with PHP 5.4 on CentOS 6. The ...
Eric's user avatar
  • 15
0 votes
0 answers
315 views

Redirection issues of cart and wishlist when remove item in magento 1.9?

I have an issue like, I have multiple items in cart or wishlist but once I remove any item from it, it will redirect to Home Page not on the same page (This issue will occur on my live site). But On ...
Yogita's user avatar
  • 784
0 votes
1 answer
31 views

Redirection in Magento

I have a link in my Magento 1 site http://beautyshop.com/index.php/hair-care.html If I click on it,it redirects to http://beautyshop.com But if I take a new tab in browser and paste the URL ...
abu abu's user avatar
  • 744
1 vote
0 answers
1k views

loop too many redirects when checkout in magento 1.9.3

I have a newly installed magento 1.9.3.2 on MacOS 10.11 server. Also installed a certificate to run the site via https. Everything works fine except for when I go to the cart and click on checkout. ...
Thijs van Harten's user avatar
0 votes
1 answer
2k views

How to write redirect script from Magento2 phtml page to another phtml page?

I want to write a script for redirection, i would like to write this script in Magento 2 header.phtml file, i have tried this below method but it is going to an infinite loop. Any one have any idea ...
Naveenbos's user avatar
  • 1,226
0 votes
1 answer
265 views

How to redirect a link to another link 2 in magento

I have a blog page on this URL: http://159.203.70.155/index.php/blog/ and another page that have the same contents but different URL as this http://159.203.70.155/index.php/education-center. Now i ...
Qasim's user avatar
  • 1
1 vote
1 answer
3k views

My secure(https) pages showing "page isn’t redirecting properly" after adding SSL

All my pages work fine via http but after adding an SSL the secure pages such as login, checkout etc are now showing "The page isn’t redirecting properly. Firefox has detected that the server is ...
Henry's user avatar
  • 51
2 votes
1 answer
1k views

Magento 2 - Can't get order data in custom controller for payment gateway integration

I am developing a module for a payment gateway. I created module skeleton using module creator provided here. I used redirection solution given in this. I wrote custom controller where it is getting ...
Niranjan Nimbalkar's user avatar
22 votes
7 answers
41k views

Redirect all http:// request to https://

Earlier i have posted this question : https://stackoverflow.com/questions/36104047/how-to-redirect-all-http-requests-to-https-on-magento but didn't get any reaction. Here is my site URL : www.trendy-...
Abhishek Kumbhani's user avatar
1 vote
1 answer
3k views

how to change base URL?

How to change www.domain.com/ecommerce base URL to www.domain.com In my cpanel folder structure is like public_html/ecommerce . When I am updating www.domain.com in baseurl and removing ecommerce ...
swati chouksey's user avatar
0 votes
3 answers
2k views

How to prevent access of web folder from browser in magento

When I visit URL of my Magento store like http://www.example.com/skin/frontend/default/ then it shows all sub-folder listings on browser like shown in below image- How can I prevent them from showing ...
Shashank Kumrawat's user avatar
0 votes
2 answers
861 views

link redirection not working on live server

I have a link in static block footer which is <a href="{{store url="affiliate/account/create/"}}">Affiliates</a>. It's working fine in my local server but when I uploaded it to live it'...
Akash's user avatar
  • 377
0 votes
2 answers
533 views

Chnage after login page to dashboard to manage products in admin

I want to change after login url in admin panel. It is currently opening dashboard page. How can I change it to another url?
Mathew's user avatar
  • 783
0 votes
1 answer
146 views

Pb with ip redirection in .htaccess

When updating my magento shop, I would like to redirect all IP except mine to maintenance page. I used to do that with .htaccess file : ############################################ ## enable ...
Alexglvr's user avatar
  • 1,675