Questions tagged [url]

Denotes question about URL issues and custom URLs.

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

Multiwebsite and multistore magento 2 [duplicate]

Can someone please shortly describe how to set domains for my magento 2 different stores views and websites, or maybe recommend for me a good tutorial, thanks !
0
votes
3answers
477 views

Magento 2 - get key

when I click on orders and then on shipments, this URL is generated: mysite.com/admin/sales/order/index/key/b1b504c4b09c982d420f001572349abbde9837cbc363e03c669099baa537af0e/ How can I get the key ...
0
votes
1answer
482 views

Magento 1 Rewrite Pagination url Parameter

for sure this question has been asked so many times in different ways, but i didn't find anything usefull for my case. We have an installation of Magento 1.9.3.6, the main task is to rewrite the ...
0
votes
1answer
71 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
2answers
214 views

CSS/JS don't load after changing URL

I have two store views, I changed one of them from wesbitetest.com to websitetest.com/fr-ca/ but the front end didn't load the js and CSS files as expected, and the URL becomes websitetest.com/fr-ca/?...
0
votes
2answers
318 views

Shop by Brand/Manufacturer custom URL in M1

I am using Magento 1.9.3, and if i want to see on frontend only the products from a specific brand (manufacturer attribute), the url is something like: http://example.com/shop?manufacturer=4 ...
0
votes
1answer
297 views

How do i remove store view name from URL

Can any one point me on how to remove storeview name from my store? When I go to www.domain.com it works fine but when i try to go to a category or contact page or other products pages, it changes ...
0
votes
0answers
100 views

1 Domain - 2 Stores - both of them in English and German - How to get Language Tag in URL?

Stores: - automobile - truck Languages: - German - English StoreViews Codes: - automobile German: auto - automobile English: car - truck German: laster - truck English: truck Desired urls: ...
0
votes
1answer
115 views

Magento 1.9 : Moved from subdomain to public_html now wysiwyg problems

I have moved my magento 1.9 from a subdomain to the folder public_html. This is now for my primary domain www.mydomain.co.uk I have changed everything that needed changing, also now adjusted the ...
1
vote
1answer
235 views

What is the URL for this route?

I created a module with following admin routes.xml /app/code/UV/Bestellung/etc/adminhtml/routes.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
0answers
398 views

Can anyone help in removing trailing slash in magento 2?

I have added a module and requested with URL. Google is automatically adding a trailing slash to the URL. Can anyone help me resolve this in magento 2? Should I remove this or make it work in magento ...
0
votes
1answer
193 views

Magento 2 checkout url edit #payment [closed]

I have a one question. Maybe, someone have successfully (and using good practices) changed url part to other word. For example : From #payment to #quote ? Thanks.
0
votes
1answer
50 views

Why can't magento support unicode encoded urls for downloadable links?

I'm running the latest magento1.9.x I am attempting to use a webservice call to create a downloadable link to a url similar to http://dev-nffiles.somesite.org/folder/Temp/9781554132_NurseMgr%...
2
votes
1answer
1k views

Magento 2: “Use Categories Path for Product URLs” configuration does not working correctly

I have a store with few categories. I want to have only one url for each product - domain.com/product_name.html. I don't want to have products URLs with the category path in them. I set “Use ...
1
vote
1answer
56 views

Url rewrites not working after upgrading Magento version

So I updated my site to 1.6 version of Magento and then I backtracked back to 1.5. My site has a bunch of Url rewrites but now they seem not to be working and will take me to an a cannot be found page....
0
votes
1answer
342 views

Magento 2.1.7, 2.2.3 : wrong placeholder image url

I try created new product without image after that view in frontend the image url not true. I inspect element the url of image not true. .../media/product/placeholder/default/image.jpg lost catalog ...
0
votes
1answer
71 views

How to create a url to start session in magento 2 (customer)

The URL should be something like this: http://mymagento.store/customer/1dsd24343sd34 Pasting this url in any browser the customer should log in automatically
0
votes
1answer
426 views

How to add row url?

I have created a custom UI component grid in admin. But there is no link on grid rows. How to add URL to rows in a custom UI component grid in admin?
2
votes
1answer
211 views

Magento 2 : How Can I Add Arabic URL to Products and Collections

How can I add Arabic URL to products and collections in my Magento 2 store?
1
vote
4answers
968 views

How to get secure baseurl (https) in magento 2? [duplicate]

with this code im getting http://url.com i want to get https://url.com using object manager. i'm using magento 2.0.4 echo $store->getBaseUrl(\Magento\Framework\UrlInterface::URL_TYPE_WEB); echo '&...
1
vote
1answer
567 views

URL Rewrite issue - category/sub-category/product urls not working

URL Rewrite issue - category/sub-category/product urls not working. When I create a new product it does not create the pretty urls, instead it defaults to the system urls. Could it be because they ...
2
votes
0answers
14 views

How come for a batch of newly imported products the URL structure is different than our normal configuration?

I imported some 34 simple products to our admin store, base site, via MageBees' Import/Export Products extension, as I often do. The problem is that their URLs are rendering as default/catalog/product/...
2
votes
1answer
362 views

Magento 2 can I have 2 front names for a module?

I want to create a module for which I would like 2 frontName is it possible. if yes how can I do it ? Example 1. example.com/a/index/test 2. example.com/b/index/test both pointing to app/code/...
1
vote
0answers
13 views

MULTIDOMAIN - Even if I change the URL on a product, the old version is being used

I am running a multidomain store, Magento 2.2.1 CE. The default value is in Danish. I created an Italian domain, where I need Italian URLs. In the backend, I go to a product, I select Italy as store ...
1
vote
0answers
82 views

How to get SID programmatically : Magento 1.9

I am working on multi store, and i want to share my cart between multi website using subdomain. Store > Configuration > General > Web > Session Validation Settings > Use SID on Storefront is set ...
0
votes
2answers
80 views

can't get admin url - Magento 2

I use the below code to get admin url of given frontName/controllerName/Action protected $storeManagerInterface; public function __construct(\Magento\Store\Model\StoreManagerInterface $...
0
votes
1answer
275 views

can't access website after adding store code to url

I am using magento 2.2.2 My store was working fine till I added store code to urls so I am no longer able to access my website using my website url mystore.com I have to add store code to access ...
4
votes
1answer
1k views

Magento 2 - Wordpress Integration url issue

I am using a magento 2.1.8 site. I have installed wordpress in a subdirectory of my root directory. I have integrated the wordpress and magento site by using fishpig wordpress extension. All other ...
2
votes
1answer
202 views

Braintree and Kount (GENE version 2.2.3) installation on Magento ver. 1.14.0.1

I'm trying to configure ENS via a Braintree, Kount, Magento workflow, and are experiencing errors that i'm unable to diagnose. Here's what I'm doing: Order # 100096149 | Jan 8, 2018 3:51:07 PM (...
1
vote
1answer
308 views

Issue with URL Path of child category after change URL key of Parent category

I have an issue with URL path of child categories. I have changed URL key of the category , but still child category URL path with old URL key of the parent category. On the category page, i am ...
2
votes
0answers
306 views

Magento 2 - media URL

I have recently migrated a Magento 1.9.x site to Magento 2.2.2. On my product pages, I have noticed that one attribute (which is Text Area), whenever I used Magento directives such as {{media url=...}...
1
vote
1answer
144 views

Trying to search a table with url api call

I need help figuring out whats is failing my search. I am new at this so if I need to rephrase something please let me know: search 1 : (works) https://staging.cherrydale.com/rest/default/V1/...
0
votes
2answers
344 views

I want to get data by the current URL, so I have set a post value, but it is set for all pages [closed]

I want to get data by the current URL, so I have set a post value. But it is set for all pages, and I want to unset it if another URL opens. How can I do it? Please see my code: if ($currenturl = '...
2
votes
0answers
135 views

Downloadable product on Amazon S3

I'm trying to implement the following scenario: Host downloadable product on AmazonS3 Make S3 files private (not accessibile by direct url) Enable access if Referrer is mywebsite If I try to point ...
2
votes
1answer
453 views

Generate Adminhtml Controller url with get parameter in Block

I have a controller for adminhtml area like this: namespace Namespace\Module\Controller\Adminhtml\Order; use Magento\Framework\Controller\ResultFactory; use Magento\Sales\Model\Order; class ...
0
votes
3answers
4k views

How to define the url in js and how to load ajax in magento 2

I have get all the form data after the form submit, I have submitted the form data, but it is failed to load as ajax, after submitted it reloads the page. Ajax is not working, How to overcome this ...
1
vote
1answer
86 views

What param is expected in getBaseUrl() function in Magento 2

I want to return the image URL using getBaseUrl() function but I can't understand what value to set to the $value variable. $url = $this->_storeManager->getStore()->getBaseUrl( \Magento\...
0
votes
0answers
64 views

How to overwrite category page url to some specific cms page url?

How to overwrite category page url to some specific cms page url ? I have category with shop.html But i want to change or overwrite it on cms page i.e shop-cms. Even i want to make sure site-map ...
0
votes
1answer
2k views

Check page url is category page or cms

I have an page url of magento site. my question is : how can i check the page url is category page or cms page or other page? for example: page URL is : http://example.com/craft.html(category page)...
2
votes
1answer
1k views

get controller name by page url

I want to get the previous page controller action name from previous page URL in Magento 1.9. I get the previous page url by this: Mage::app()->getRequest()->getServer('HTTP_REFERER'); Now I ...
0
votes
1answer
168 views

Magento 1.9 add a fixed product prefix

First of all, did quite some research, but could not find the best solution in this case. For SEO reasons, we need to add a fixed prefix (with a slash) to all product URLs. Product URLs now look ...
0
votes
1answer
488 views

what RP means in Url Rewrite Management options column

I look at the Url Rewrite Management for custom URL rewrite and found that there are RP in option column. What is the difference between RP and non RP custom option?
1
vote
1answer
1k views

Popup modal :Submitting url in magento 2

I have created custom link using popup modal. I need to placed this link in My Account page->My Orders and next to Reorder link. Like below While clicking cancel it shows an popup window which ...
1
vote
1answer
87 views

Navigating away from catalog pages gets 404 page

User is at - http://randomCompany.net/rental/wheelchairs.html not looking at any specific product, just at that catalog page, they click a new menu link from the navigation, that leads to a CMS ...
4
votes
1answer
3k views

Add query parameter to current url in phtml

I want to add query parameter to my current url, I'm getting current url in my phtml like this: $current_url = $this->getUrl('*/*/*', ['_current' => true, '_use_rewrite' => true]); I want ...
1
vote
2answers
818 views

Magento 1.9 : How to change URL /customer/account/login to /kupac/nalog/prijava/

What is the easiest way to change the /customer/account/login/ URL to /kupac/nalog/prijava/ but to preserve the functionality too? I will also need to change /product/id/X to proizvod/X where X ...
0
votes
1answer
704 views

Get .phtml file path in Magento 2

I would like to get the location of the .phtml file of this URL https://chaldal.com/sales/order/print/order_id/13/ of Magento2.
0
votes
2answers
235 views

Add to cart url returns invalid url in magento1.9.0.1

My add to cart url returns this. When i click it the products doesn't get added because it's invalid. This happens in the homepage. http://localhost/mage/index.php/checkout/cart/add/uenc/...
0
votes
2answers
704 views

how to add product to cart by url?

I need a add to cart URL for add the product to cart by open this URL in any browser. I get the add to cart URL by this: Mage::helper('checkout/cart')->getAddUrl($simple_product) output of above ...
1
vote
3answers
675 views

Cant access images in /pub/media/customer

I have added custom attribute for profile image upload. Now when i access customer image on front end it shows 404 error and donot access images in this folder /pub/media/customer .