Questions tagged [redirect-url]

The tag has no usage guidance.

37 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
3answers
2k views

Show product of a category in a custom page

I create a category with some product. Also create a custom layout for my page that I add new cms page with this layout that I created. I need to have this page with my layout because I want to add ...
3
votes
0answers
29 views

404 in home page when open incognito Magento 1.9

I have an issue that I got 404 page when open the store in incognito mode but for the regular page in the browser it works fine because it is already cashed before. Also when I tried to open any ...
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\...
2
votes
0answers
60 views

Magento 1.9 rewrite/redirect issue

Magento is redirecting to the wrong url. Checked htaccess as I thought there is a problem but not, there is no redirect for this url. So I've checked rewrite table but there is no obvious cause. For ...
2
votes
0answers
302 views

Change redirect url based on store id

I create an observer for controller_action_predispatch in frontend to redirect site to particular store url like this: public function execute( \Magento\Framework\Event\Observer $observer ...
2
votes
0answers
74 views

Magento 1.7 redirecting URLs when URL rewrite table empty and non in htaccess?

Im just cleaning up my site and sorting out all the 404s in webmaster tools. To fix the 404s I was just putting in a manual 301 in the htaccess file like this. Redirect 301 /football-rebounders/spot-...
2
votes
0answers
942 views

Magento + gclid + redirect is not working

I've just been on the phone with Adwords and they've told me my gclid url query string is not working properly. So I did some digging and found this stackexchange question / answer that really looks ...
1
vote
3answers
35 views

How to redirect page to cms page ie.(carrer.html) via controller file?

Mage::getSingleton('core/session')->addSuccess('Your inquiry was submitted and will be responded to as soon as possible. Thank you for contacting us.'); $this->_redirect('*/*/'); return;
1
vote
0answers
34 views

Magento 2 new instance redirecting to staging site

I have my magento 2 staging site setup in folder staging and on url stagingexample.com , I have created a new folder newSetup in staging folder and setup copy of staging site in newSetup. I want to ...
1
vote
1answer
17 views

Search product will give nothing in magento1.9

I am facing an issue that whenever I searched a sku (the attribute is searchable - yes), no result found. My catalogsearch_query has Null for that query string "redirect" column. https://prnt.sc/...
1
vote
1answer
40 views

Magento 1.7.0.2 : How to redirect home page with specific account

I am kindda new with magento 1, so here is what i don't understand. In admin, configuration is look like this: So what i care about is Default Web URL and CMS Home Page, So i dont understand about ...
1
vote
0answers
15 views

magento 1.9 have issue with URL Rewrite Management and backlink from the same domain

I have a jewellery store site "finestgold.ca/store", there are approx 800 products, but in the URL Rewrite section it is showing "41701 records found" do I need to worry about site SEO ? if that much ...
1
vote
2answers
130 views

How can i Redirect my sub-domain by new Domain?

I have a website called xyz.com and added additional store called abc.xyz.com. Now I have purchased new domain 123.com. How can I redirect my subdomain as a new domain, like if customer enter 123....
1
vote
1answer
75 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 '...
1
vote
0answers
44 views

htaccess redirect, assist please

What i am trying to do is rewrite some URLs and apply SSL on certaing pages on my site. This is the code that i have: RewriteEngine on RewriteBase / RewriteRule ^mylogin$ index.php?view=...
0
votes
1answer
32 views

magento 2.3 redirect all product urls without category path to urls with category path

I want to redirect all product URLs without a category path to their category path URLs for SEO purposes. Example - Redirect mywebsite.com/product-name.html to mywebsite.com/category1/sub-...
0
votes
0answers
21 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 ...
0
votes
0answers
31 views

redirection from payment gateway to website make empty cart

We are using Paytm extension in our client's website https://www.safaribags.com which builds on Magento 2.1 When customers click on "Pay with Paytm" button, the customer redirects to the Paytm Pay ...
0
votes
0answers
15 views

Magento 2 View cart from abandoned cart email auto redirect to cart after login

I want to redirect customers to cart page after they login to site from the abandoned cart email. There is a way to set redirect after login is successful but i want redirect to happen only when cart ...
0
votes
0answers
33 views

Magento2 url issue

My magento2 website in following url to be show catalog/product/view/id/9583 but i need like powder-9583.html so what step we required to achieve this. and also search engine is on on ...
0
votes
0answers
20 views

Best Seller Block (links not working) - Magento 2.2

Here i need to solve some issue where, When i click on the product image (BLUE CIRCLE), in the Best seller block, we are redirected towards the Home Page Similarly, when the name of the product is ...
0
votes
0answers
15 views

Many categories are throwing a 404 - at a loss on how to investigate further

I learned today that our website was throwing 404s on many of our category pages. The only process that I think that could have triggered this was the execution of magerun index:reindex:all which had ...
0
votes
0answers
52 views

Magento homepage redirects to 404 page not found

After reindexing, when entering the homepage url, I'm redirected to 404 page not found. I have checked configuration/general/web and everything seems to be working there.
0
votes
0answers
26 views

How to access data in the function that I am observing?

I created a plugin for Iways\PayPalPlus\Controller\Order\Create.php This is the function that I am observing. public function execute() { try { $cartId = $this->checkoutSession->...
0
votes
0answers
25 views

How to update a url's param in Magento 2

if a customer tries to add to cart any product then he redirects to login/signup page. He login then -> redirect to after adding its product into cart to checkout. I have used Loginpost after plugin ...
0
votes
0answers
43 views

Store switch is not working for custom categories

I have added a categories and called that through CMS block. When I go to that category from homepage it is going fine. After that if I try to change the language,it is not accpeting. say: http://...
0
votes
0answers
115 views

Not redirecting depending on the storeview code

We have different store views: Spanish (es_es), French (fr_fr) and English (en). And we have a RMA extension where you can create them. Once you create a RMA you redirect to the same RMA page; we ...
0
votes
1answer
487 views

How to add a parameter to 'request' when redirecting a page?

My code in Rooter.php: $this->_response->setRedirect('customer/account/create'); $request->setDispatched(true); $request->setParam('nickname', $request->getPathInfo()); return $this-&...
0
votes
1answer
428 views

Redirect Magento2 404 page to the register page

I'm using Magento 2 to create my site. I want to dynamically assign a sponsor to the register of a new customer. I had create a customer custom field named nickname on the database. In practice I want ...
0
votes
1answer
56 views

Redirect from /en/page.html to page.html

How can I automatically redirect custom pages from this URL site.com/en/page.html to this URL site.com/page.html In order to avoid problems with Google Search Console?
0
votes
1answer
103 views

Redirect Customers to Forgot Password page after number of unsuccessful login attempts exceeded

I want to know how can i redirect a user to the Forgot Password page after exceeding the number of unsuccessful login attempts in Magento 2. Thanks.
0
votes
2answers
39 views

Redirects and SEO

We have a category that we make available for approximately 2 weeks every 2 months for a presale. Once the presale is finished I redirect the category to another using a custom redirect. What sort of ...
0
votes
1answer
111 views

home URL Key Redirect

I recently notice google is indexing my site one with /home and one without. clearly this www.test.come/home URL exist but i do not see this url in my URL rewrite in the back-end. what is the best ...
0
votes
0answers
78 views

exception 'Mage_Core_Exception' with message 'Type invalid block : ' in /home/website/www/app/Mage.php:594

When I click on category like example-category page magento rise following error. In this category have only one product like : example-product. Catogary URL : https://www.website.com/main-category/...
0
votes
1answer
839 views

Magento Payment successful redirect issue

In my site I have issue in payment redirect URL. It works fine in Google Chrome but it redirects to empty cart page in Firefox. When I clicked on place order button, I redirect on Payment gateway ...
0
votes
1answer
63 views

Redirect URL while updating product status dynamically

I am making a custom module like market place, anyone can become seller and he will have facility in his account to add products and sell them. And he will be able to see all the related functionality ...
0
votes
2answers
210 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'...