Questions tagged [redirection]
The redirection tag has no usage guidance.
43
questions
0
votes
1
answer
23
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
0
votes
0
answers
19
views
Does Magento keep short URL live when Use Categories Path for Product URLs is YES?
We have set our store to be Use Categories Path for Product URLs: Yes - in m2.4
And so the product pages, are www.mydomain.com/category/sub-category/my-product
But if I remove category and sub-...
0
votes
0
answers
23
views
Incorrect redirects 302 from category/pages to homepage - Magento
Sometimes after clicking on a search result in Google, but also in URL on other websites/google docs etc., the user is redirected (using a 302 redirect) to the home page, not to the appropriate ...
0
votes
0
answers
71
views
How to stop redirecting to checkout page after login from any page in Magento 2.3
Initially, the Customer is redirecting on the same page from where the customer login.
For example, if a customer login from the homepage then is redirected to the homepage. if the customer login from ...
0
votes
0
answers
57
views
How to check if controller is redirected?
I want to put some JS code when the customer is successfully registered.
What I found is after register \Magento\Customer\Controller\Account\CreatePost redirect it to the account page.
I tried \...
0
votes
1
answer
64
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 ...
0
votes
2
answers
89
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
1
answer
209
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 ...
1
vote
2
answers
383
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 ...
1
vote
0
answers
223
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
2
answers
336
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
2
answers
1k
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
1
answer
880
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
1
answer
353
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
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 ...
1
vote
0
answers
48
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
2
answers
136
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
0
answers
123
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
3
answers
2k
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
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 '...
0
votes
2
answers
8k
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
1
answer
600
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
1
answer
53
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
1
answer
342
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
0
answers
300
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
1
answer
856
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
4
answers
7k
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 ...
4
votes
3
answers
13k
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
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\...
1
vote
1
answer
380
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
0
answers
310
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
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
...
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. ...
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 ...
0
votes
1
answer
264
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
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 ...
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 ...
22
votes
7
answers
40k
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
1
answer
2k
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
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 ...
0
votes
2
answers
652
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
2
answers
531
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
1
answer
128
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 ...