Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [redirection]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
23 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 ...
1
vote
1answer
34 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 ...
0
votes
2answers
43 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 ...
0
votes
0answers
21 views

Magento 1 Authorize.net issue | order created from admin panel is getting redirected to front-end cart page

I am using a Magento 1 of version 1.7.0.2. Recently i update a patch for Authorize.net and right after that i started getting issues. Currently in the site with live Authorize.net credentials if a ...
0
votes
0answers
136 views

Custom Redirection for Brand In Category Pages

I want to redirect some URLs with category and brand names to category listing pages with a filter of brand ids but also I want the URL to remain the same as earlier. For example: if my URL is ...
1
vote
0answers
59 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....
0
votes
2answers
89 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 ...
0
votes
2answers
316 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 ) { ...
0
votes
1answer
325 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=...
0
votes
1answer
185 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 ...
2
votes
3answers
863 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 ...
1
vote
0answers
23 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,...
2
votes
2answers
51 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 $...
1
vote
0answers
72 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?...
0
votes
3answers
860 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 ...
1
vote
1answer
78 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 '...
0
votes
2answers
6k 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 ...
1
vote
1answer
364 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.
2
votes
1answer
52 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 ...
0
votes
1answer
231 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 ...
0
votes
0answers
257 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/...
2
votes
1answer
485 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 ...
0
votes
3answers
4k 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 ...
3
votes
3answers
7k 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 ...
0
votes
1answer
1k 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\...
1
vote
1answer
371 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 ...
0
votes
0answers
238 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 ...
0
votes
1answer
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 ...
1
vote
0answers
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. ...
0
votes
1answer
1k 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 ...
0
votes
1answer
218 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 ...
1
vote
1answer
2k 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 ...
2
votes
1answer
828 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 ...
22
votes
7answers
35k 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-...
1
vote
1answer
759 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 ...
0
votes
3answers
1k 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 ...
0
votes
2answers
214 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'...
0
votes
2answers
511 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?
0
votes
1answer
78 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 ...