Questions tagged [redirect-url]

The tag has no usage guidance.

48 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
40 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
0answers
23 views

Magento2 custom referer URL redirects to correct URL but again redirects to My Account in few seconds

I have created a custom URL with referer like this: use Magento\Framework\UrlInterface; use Magento\Framework\View\Element\Template; public function __construct( Template\Context $context, ...
2
votes
1answer
729 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
126 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
348 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
89 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
993 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
0answers
8 views

Magento 2 :How to write ategory URL rewrite

How to write 301 redirections to the category page Category URL key is "ballasts" request path : ballasts.html target path : catalog/category/view/id/10 When the user hit this URL directly ...
1
vote
0answers
30 views

Magento 2 How to create and load custom route page

I want to add a custom redirect type 410 in URL redirect. I have added this in admin section and configured some pages with 410 redirect. Now I want to check the redirect type is 410 and if it is ...
1
vote
0answers
87 views

Mobile Menu category link is undefined URL can't working in Magento 2​

I'm facing some annoying issues. When I'm on the desktop, no problem with the menu link. When I'm on responsive, when I go through the menu, I have the right URL but when I click on category link the ...
1
vote
1answer
69 views

Need to redirect to given controller

I need to redirect to ('hello/Test/Customer') page but observer is not working. <?php namespace SimpleMagento\Custom\Observer; use Magento\Framework\Event\Observer; use Magento\Framework\Event\...
1
vote
2answers
352 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-...
1
vote
3answers
40 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
58 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
24 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
50 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
22 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
196 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
80 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
46 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
18 views

Multiple URLs getting created for single product

I am an SEO executive and pretty new to Magento. I have got a project in which there are multiple URLs for a single product and all URLs have been indexed on Google. Here is an example of URL ...
0
votes
0answers
19 views

Redirect .html to none html on URL

I tried to remove .html from my categories from admin panel and it works. now I have example.com/test , but example.com/test.html is 404 now. how can I redirect all .html urls to non html one? should ...
0
votes
0answers
11 views

Redirect not work in magento 1

I installed magento 1.9.4.5, everything is fine After order created, i wasn't redirected to the success page. I looked saveOrder Function and added this code, also didn't work. Mage::app()->...
0
votes
1answer
14 views

For Magento2 how to apply a redirect rewrite in .htaccess file for all URL's from .html to /

For Magento2 how to apply a rewrite in .htaccess for all URL's from .html to / URL structure. The M1 store has .html as the end, the new M2 store has / as the URL ending for all products and ...
0
votes
1answer
26 views

Can I allow specific URL of default Magento2 Frontend and restrict all other Frontend URLs?

Our Magento frontend is in vue storefront, so we have restricted default Magento frontend URLs for our system. But I need one URL of frontend which is http://127.0.0.1/index.php/customer/account/...
0
votes
0answers
8 views

On M2, how do you apply a redirect of all URLs for .html to /

On M2, how do you apply a redirect of all URLs for .html to / ? We have migrated from M1 to M2. The M1 store had .html as the end of products and categories. The M2 store just has / at the end of ...
0
votes
0answers
23 views

Magento 1.9: Homepage bestseller products redirect on image click

I have the bestsellers on my homepage. However, If I click on the product image it does nothing. It only redirects If I click on the product title under the image. I want it to redirect if I click in ...
0
votes
0answers
28 views

Magento 2 how to force redirection to SEO friendly URL

I have enabled SEO friendly URLs in the Magento Shop so a product URL now looks like this: https://mywebsite.tld/name-of-product.html But the old URLs are still existent and look like this: https://...
0
votes
0answers
45 views

Magento 1.9 Header links as drop-down link not working

My header link like, new look, If i choose any link from drop down option it is not redirect to dedicated page, code : app\design\frontend\default\theme327k\template\page\template\links.phtml <...
0
votes
0answers
11 views

Magento 2 : where in core handle function permanent url

where in core handle function permanent url Any help? Thank in advance.
0
votes
0answers
37 views

Magento 2 - ERR_TOO_MANY_REDIRECTS on Frontend - Sporadic

I am facing an issue where the storefront throws ERR_TOO_MANY_REDIRECTS error once or twice a day. It does not follow any specific time pattern. To fix this, all we are doing is to just refresh FPC ...
0
votes
0answers
61 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
157 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
36 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
23 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
69 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
50 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
143 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
780 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
589 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
77 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
121 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
40 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
118 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
83 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
65 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
285 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'...