Questions tagged [redirect]

Questions about HTTP redirects (status codes 301, 302, 303): How to set them up, why they are happening etc. For the catalog URL rewrite management in the admin panel, use the "url-rewrite" tag.

Filter by
Sorted by
Tagged with
0
votes
1answer
42 views

How to change or redirect home page to customer login?

Need to see customer account at the first before home page. used redirect from the admin panel but not working. Still, when I load my site it goes to the home page. Mean that see customer account ...
0
votes
0answers
16 views

Magento 2 - Website will get in cache loops and redirect to homepage (only at random times)

Our website runs into situations where it is working fine for days, but then customers will occasionally get into a situation where they are say trying to goto checkout, and instead of heading there, ...
1
vote
2answers
73 views

Magento 2 - How to Redirect Customer for Checkout After Login when cart is not empty

How to redirect customers to the checkout page after login when the cart is not empty for the customer? Loginpost\Redirect\etc\frontend\di.xml <?xml version="1.0"?> <config xmlns:xsi="http:...
0
votes
0answers
18 views

Magento 1: Redirect loop on product page, only in english version

I have a problem with magento 1. When I try to access product page I get error with redirect loop. Funny thing is that I get this error only in english version of my store and only on server. On local ...
0
votes
0answers
24 views

Redirect to cart page after place order success (Magento CE 2.3.1)

I am facing this issue too on Magento CE 2.3.1. I have put the log everywhere since the issue happened. I can see if using a payment method (currently using Cybersource SecureAcceptance) which will ...
0
votes
1answer
22 views

Magento 2 redirects url to https but not admin panel

I know this question is more about apache config, but it involves Magento too. Currently i have configured my Magento with 2 different URLs, for port 443 or https I have an url like this: https://...
3
votes
1answer
26 views

What is the use of [_secure => true] in controller redirect path argument in Magento 2

Anyone can explain to me what is the use of [_secure => true] in controller redirect path arguments in Magento 2.
2
votes
1answer
69 views

Magento2.3.2: How to redirect customer to login page if not logged in before checkout?

How to redirect the customer to the signin/signup page if not logged in before proceeding to checkout?
0
votes
1answer
37 views

Magento 2 admin login redirection loop

Magento 2.2.4 Store set up on subdomain: dev.store.com SSL Config variables: web/unsecure/base_url - https://dev.store.com/ web/unsecure/base_web_url - {{unsecure_base_url}} web/unsecure/...
0
votes
0answers
30 views

Magento2 redirecting to homepage

Can anyone let me know why below code of refer URL redirects to homepage, instead of last page visited in controller ? This happens only in live website, beta website works perfect: $resultRedirect ...
1
vote
0answers
22 views

Customer redirect on previous page after login Magento2 [duplicate]

Is there any solution for the customer, like After login customer redirected to the previous page?
0
votes
0answers
20 views

Difference between redirect and iframe

I want to know what is the difference between Magento v2.3.1 (iFrame) and Magento v2.2.3 (Redirect)
1
vote
1answer
43 views

Custom admin page too many redirects Magento 2

I'm starting to get familiar with Magento 2. I installed v2.3.1 in an Nginx/PHP-fpm and got it working, including the sample data. Then I followed everything in the tutorial at https://devdocs....
0
votes
2answers
39 views

Redirect all pages to homepage via .htaccess except backend

I've been trying to redirect all pages of my Magento website to homepage via .htaccess - except the backend, naturally. Currently, I'm using these rules and everything is working fine so far but I ...
1
vote
0answers
28 views

magento-2 ajax redirect response Status Code: 302 Found

below is shopping-cart.js file to increment/and decrement of product quantity with update subtotal, is working fine but getting Status Code: 302 Found, how can I solve it? define([ 'jquery',...
2
votes
1answer
28 views

Redirect custom recurring payment method to payment gateway after order is placed in Magento 1

I am trying to implement a custom recurring payment module for Magento 1.9. I follow a tutorial from ModulesGarden Blog combined with Paypal Express. I was able to create a new payment method that ...
3
votes
1answer
30 views

Magento 2 - Clean SEO URL with attribute

We run Magento 2 - 2.1.6 Question: If I create a link based on layered navigation attributes (storeurl: /clothes?cat=1029&gender=124) for example. We get a lot of errors regarding Google Search ...
0
votes
1answer
30 views

Magento2: Redirect issue from the Observer

I facing issue while redirect from observer file. Actually code worked on localhost but on the server it's not working. Here is the code public function execute(\Magento\Framework\Event\Observer $...
0
votes
0answers
29 views

Magento 2 checkout place order redirects to checkout

When I complete the checkout and hit the "Place Order"-button, the system redirects me to the same checkout page without telling me why (for example an empty field or something). In some cases (+-10%) ...
3
votes
1answer
26 views

How to show success messages on magento 2x home page externally redirect url?

In Magento 2.x form use in <iframe src="forms.netsuite.com "> after submitting from netsuite return/redirect to home-page-url/?whence= I need to show success message in home page: <div ...
4
votes
2answers
37 views

Set module /blog as homepage

I am trying to set the AheadWorks blog module as homepage of Magento 2 for a site. So user gets directly to domain.com/blog instead of domain.com. Is it possible in the admin or Nginx somehow?
0
votes
1answer
31 views

301 Redirect the Out of Stock Product Pages

Want to redirect for the products who are out of stock to custom url Had tried below url but it did not helped https://stackoverflow.com/questions/4824072/magento-out-of-stock-product-seo-problem
1
vote
1answer
23 views

Nginx redirect for -only- homepage of old domain, to homepage of new domain

On the server.rewrites file within the nginx/ map, I have the following logic for redirecting the homepage of an old domain, to the homepage of a new domain: if ($http_host ~ ^(www\.)?olddomain.com ) ...
0
votes
3answers
43 views

Magento 2: redirect to home

I want to redirect my view to the homepage after data submitted in a custom form $resultRedirect->setPath('//'); This code leads to redirection, for now, please help Also is it possible to get a ...
0
votes
2answers
24 views

How to htaccess redirect 301

How to add 301 redirections for the base URL in Magento 2 via .htaccess. http://www.example.com//? I want to redirect to these url versions 301 to http://www.example.com
0
votes
0answers
22 views

Magento2 problem with redirect. Page work without www but with www i've got “The page isn’t redirecting properly”

As in title when I enter to page http://example.com everything fine but when I type http://www.example.com I've got a message "The page isn’t redirecting properly". I try to change base_url and ...
1
vote
0answers
22 views

301 redirect loop on category view

when I try to access a category page, I get the error ERR_TOO_MANY_REDIRECTS caused by 301 redirects. Also trying by not rewritten url (like "catalog/category/view/id/309"), the result is the same. ...
0
votes
1answer
22 views

Can I redirect to same domain but different currency?

I have request like this: redirect domainB to domainA --> USD redirect domainC to domainA --> EUR Can I set currency like that? thanks advance!
1
vote
0answers
5 views

How to parse session url from one store to another in Magento 1.9?

I have two stores. Store A - Showing products as a catalog, unable to buy. Store B - Able to buy for exclusive customers with a given login account. That I want to do is, create a button on store A ...
6
votes
2answers
217 views

Redirected automatically to a store view based on a user group (B2C & B2B) - M2

I have created two store views, one for B2C and one for B2B. I need that when a B2B customer login will be redirected automatically to the view created for their user group. But for B2C customers can ...
0
votes
1answer
35 views

How to redirect subdomain to subdomain?

I have a question for config url rewrite on .htaccess file. On my store have two language is English and German. I setup English with domain main.cocal and German is de.main.local. so for now I want ...
0
votes
0answers
21 views

Change hostname on my server

I changed my site hostname of my server and now it doesn't work. I used the next command sysctl kernel.hostname=new_hostname and now it throws an error that the page is redirecting many times. ...
2
votes
0answers
34 views

www.domain.com/pub/ shows the web page without css/javascript loaded

I can access my site correctly like www.domain.com ( with all the content loads correctly), but if I type in www.domain.com/pub/ it is still accessible ( without js & css loaded). How do I fix ...
0
votes
0answers
18 views

How can i do absolute path redirect on magento

How can I do in magento 2.2.4 modify the full URL? I want to do a 301 redirect I mean I want to redirect the following URL for example https://google.com/US and the redirect is https://googleguest....
0
votes
0answers
18 views

I can't get rid of the page URL key in my store homepage

Concisely, my store homepage shows the URL key "/home" and I can't get rid of it. If I browse the store root "www.website.tld/" I get an error "Too many redirects". I have already checked almost ...
0
votes
1answer
55 views

Magento2.3: Order not Place and Redirect to checkout/cart page [closed]

I have upload my Magento2.3 site on site ground. Others things are working fine but order not place redirect to checkout cart page. system.log: [2019-04-19 12:15:47] main.INFO: Broken reference: ...
1
vote
1answer
30 views

Redirect 301 removing parameters in URL by .htaccess

In the file .htaccess in magento, I want to redirect a url with parameters. An example is this: https://example.com/presente/decoracao/teu-sorriso?PageSpeed=noscript I need to redirect this to the ...
1
vote
1answer
95 views

How to redirect customer on custom page after registration in Magento 2

Here is my code customerregistersuceessobserver.php <?php namespace Webkul\Marketplace\Observer\Rewrite; use Webkul\Marketplace\Observer\CustomerRegisterSuccessObserver; use Magento\...
0
votes
0answers
25 views

Want to show the Stores based on countries

I need to show the stores name like saudi / oman / dubai. Each stores have two store views (Arbic & English). I want to display these Stores according to their countries. For Example Saudi ...
2
votes
2answers
190 views

301 Redirect Multiple Url using .htaccess Magento 2

I'm trying to 301 redirect multiple urls to new url. Using .htaccess File. What changes i have to make in .htaccess
0
votes
0answers
74 views

Admin panel lookweird because of the many redirects in Magento 2.3

I am not getting a normal admin screen. Looking with console I am getting these errors: (index):30 GET https://www.bakmans.nl/pub/static/adminhtml/Magento/backend/en_US/requirejs-config.js net::...
1
vote
0answers
17 views

Magento 2.1.8 dev site catalog search and products listing redirecting to live site

I have setup my magento 2.1.8 EE live site on staging for development. The homepage, admin and cms pages are working fine. But my prduct pages are redirecting to live site and catalog search also ...
0
votes
0answers
31 views

User redirected to frontend front page when saving in admin or continuing to payment service

We have Magento 1.9.3.8 installed and these two things seem to happen randomly during any day: In admin saving product data redirects to frontend's front page. In front end when user is making an ...
2
votes
1answer
140 views

Redirect issue after add to cart in magento2 custom controller

I am calling my custom controller for adding the product through the form action. Below is my controller file. <?php namespace {Vendor}\{Module}\Controller\Product; use Magento\...
0
votes
0answers
69 views

How command pool works? and How can we redirect to payment gateway? Magento 2

I'm integrating a payment gateway using gateway command pool. This is di.xml <virtualType name="AuthorizeCommand" type="Magento\Payment\Gateway\Command\GatewayCommand"> <arguments> ...
1
vote
0answers
26 views

Redirect home page with example.com// in magento 2

Hello I just Moved My Website and I am getting Error in home page page is not redirect properly Home page is open with 2 slash www.example.com//
3
votes
1answer
55 views

Referrer URL in modal login form

I currently have a login form which opens when a customer clicks a link in the header (instead of going off to /customer/login). Apart from a few field ID's, it's pretty much unchanged from customer/...
1
vote
0answers
50 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....
1
vote
1answer
26 views

Product gets wrong url on product page

The product im having problems with has the url: 1-troy-ounce-silver-maple-leaf-6 in the backend the product has the URL key: 1-troy-ounce-palladium-maple-leaf The product needs to have the URL key ...
0
votes
0answers
20 views

How to restrict navigating to other page from a customer magento page

I am working on a module that implements two factor authentication. I have created an observer to the event customer_login , so just after when the customer has logged in, they are directed to a ...