Questions tagged [url]

Denotes question about URL issues and custom URLs.

282 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
2answers
1k views

Magento2: Remove Store Code URL only for default store

I am developing a Magento 2 store with two store views, one for each language(English and Italian). I turned on the "Add Store Code to Urls" option from backend, so my URLs looks like: http://mystore....
6
votes
2answers
2k views

Get page URL from current page, different store-view

I'm using different store-views to create different language versions of a shop. Now I'm trying to add links to the other pages. However, I can not find a way to get the actual URL from the other ...
4
votes
0answers
483 views

Magento 2: dataprovider getData() get called twice losing my requestdata

In magento 2 I created a grid through UI components. It gets populated with my dataprovide class getData method: public function getData() { $questionSetId = $this->request->getParam('...
3
votes
0answers
23 views

Remove Parameter From Product url Magento 2

I am trying to remove parameter(#857=) from the product url: https://tpm2.redsignal.net/reina-modal-trv-steel-radiator-towel-rail-valve-anthracite.html#857= These parameter are of configuration ...
3
votes
0answers
34 views

Error: The same url in all products Magento 1.9

I've tried to show the related products under the images of products. Until here all is ok, but the URL of the products is showing always the same of the first related product How can I solve this? ...
3
votes
0answers
48 views

Magento 2.3 admin is redirecting to this URl domain/admin/admin/denid/key/**** after admin login

I anonymously added some ACL permissions in Magento 2 and saved. I know that I have configured wrongly in the process of knowing, how it works since then I am unable to access my Magento 2 admin, I am ...
3
votes
1answer
1k views

Get frontend category URL in admin area with correct base URL

I try to load categories in the admin area with store specific values. $this->categoryCollectionFactory->create() ->setStoreId($storeId) ->addAttributeToSelect(['name', 'url_key'])...
3
votes
0answers
496 views

Magento2 : Create Dynamic URL by controller

I need the url structure like this : From this url :- http://localhost/magento27/review/product/view/id/936/ To this url :- http://localhost/magento27/women/review/love-this-product/936 women :- ...
3
votes
0answers
171 views

Keep old urls for default store view in magento after enabling store code in urls

I have enabled store codes for my Magento website and it is working fine. I have two store views, arabic and english. For arabic, i have store code ar and en for english. My default store view is ...
3
votes
2answers
945 views

Remove default store code from URL, only?

mage 2.1.7 "use Store code in URL" set to YES. Have 3 stores, one for our default/original store at "/" with code "france" and one for our south korea and north korea stores. The default store is ...
2
votes
0answers
87 views

How to make Magento 2 accessible using different url Domain without creating Multi Website?

So using other PHP frameworks such as Laravel and CI, I can point my virtual host to the same project folder and access it with a different domain. However using Magento 2 the base URL is defined in ...
2
votes
0answers
39 views

how to customize the Magento 2, Core API URL

I want to customize the magento 2 core base API URL. For example, If my magento base url is http://local.m233ee.com/rest/v1/ . As per my project requirement, i have to change the base URL to ...
2
votes
1answer
532 views

How to update the mini-cart proceed to checkout according to customer login in magento 2?

I Want to check the user login status in mini cart and redirect the customer to the login page when click the proceed to checkout button in mini-cart. How to edit the minicart.js file to achieve this?...
2
votes
1answer
82 views

Magento 2 - Frontend Controller conditional based 404 page

I have custom frontend controller, I added the URL Rewrite for this controller I want to figure out the way, How I send requesting URL to 404 page based on some condition within the controller. I ...
2
votes
0answers
43 views

Magento 2 EE remove url trailing slash through htaccess

I am using below code in htaccess to remove trailing slash in urls. But after adding this code my admin panel stops working and shows error - Too many redirects. I don't know whether to place this ...
2
votes
1answer
42 views

how to create more then one submit_url in ui_component Magento 2

I need to submit data from ui_component to another class so I created two buttons and on one I set the submit_url and works perfectly but in other class I cannot get the data to perform some ...
2
votes
0answers
131 views

How to remove store code when changing store views?

So I've setup multiple views for my website, but the thing is, when I change store views, the URL ends up looking like this: https://www.domain.com/shop/product1.html?___store=english&...
2
votes
0answers
276 views

Magento 2 : How to remove the default Store langauge code from the URL

I have integrated multi language stores one for "EN" and second for "DE" After changed options "Add Store Codes to URL"=>"YES" (Magento2:: System -> Configuration -> Web -> Add Store Codes to URL=>...
2
votes
0answers
497 views

Magento2 get url of all CMS pages using their identifiers

I am preparing one common array which returns the complete details of all CMS pages. In this array, I need to pass the URL of all cms pages. I do have an identifier of all pages. How can I get the URL ...
2
votes
1answer
37 views

How to exclude ® ™ signs in URL

We are having a URL issues For Example - If Title = Bose® SoundLink™ 10 Wireless Music System Then URL = bose-soundlink-10-wireless-music-system But in our new website URL is - boser-soundlinktm-...
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 ...
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
232 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 (...
2
votes
0answers
312 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=...}...
2
votes
0answers
155 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
268 views

Category URL number need removing

My URLs for categories keep adding numbers at the end of the URL in this format: /solid-oak-beds-13.html It is getting increasingly hard to keep track of links, since the urls are not getting ...
2
votes
1answer
1k views

Add noindex to single category in Magento 1.9

I want to modify this line for only one category: <meta name="robots" content="INDEX,FOLLOW" /> I want to add noindex like this: <meta name="robots" content="NOINDEX,FOLLOW" /> I tried ...
2
votes
1answer
983 views

URL Rewrite Rules in Admin

I apologize if this is a duplicate request someplace else, but I could not find an easy way to locate it if it exists, so here we go. I want a simple breakdown how to use the fields in the URL ...
2
votes
1answer
358 views

Add product sku in URL

How can I dynamically change the url of a product? Now I got this url www.domain.com/product-name.html I need to add SKU, to my url like this: www.domain.com/product-name-SKU.html
2
votes
0answers
173 views

Can I create a URL to send in email which will open a specific cart by id?

I'm implementing an abandoned cart email solution. Is it possible in Magento to access a given cart simply by clicking a URL with the cart id somewhere? E.g. something like: https://www.mystore.com/...
2
votes
1answer
336 views

Magento2 unfriendly urls after import products

I've imported products with the build in importer. Since then a lot of products are only reachable via the long url's. http://domain.com/catalog/product/view/id/295/s/product-name/category/4/ But ...
2
votes
3answers
3k views

Magento2 : Get Product Url for Store

I'm writing a custom indexer and I need to retrieve the product URL for different stores. $product->setStoreId(2)->getProductUrl(); still returns the URL with the admin store (backoffice) in ...
2
votes
0answers
704 views

Magento Search Friendly URLs not working

I changed the config/web/seo/server rewrites to YES. However my urls are still showing /catalog/category/view/s/electric/id/911/
2
votes
0answers
318 views

Remove SID from category filter URLs

When the user filters the products according to the size, say 34,5 the filter button creates a URL like this: (URL 1) http://www.turquoise.me/tango-women-shoes#%21___SID=U&size=29 Which is ...
2
votes
0answers
261 views

Change Price Layered navigation Query string structure

How to change the price layered navigation URL Query string from https://example.com/category.html?price=2%2C10_3%2C10 to https://example.com/category.html?price=12-24 as I want to make Price ...
2
votes
0answers
199 views

URL to my module with adminhtml controller

I added a form to customer page from backend. How do I create the URL for action attribute to a certain function ( public function editAction(){...} )? Function that is founded in app/code/local/...
2
votes
0answers
746 views

Remove trailing slash - Not just using htaccess

I have noted that Magento adds trailing slashes to most urls. https://www.example.com/checkout/cart/ https://www.example.com/customer/account/create/ In my htaccess I have it to strip off the ...
2
votes
0answers
136 views

Url Rewrite 404 Error Multistore view

I have two views english store and german. The switch for switching the two languages ​​works without problems. I find myself as on the German side imprint. From there I would like to switch to the ...
2
votes
1answer
2k views

How to Magento remove default store view code from url?

We need your help to solve this problem. we have a 2 view store in English and Arabic URLs now www.example.com/en www.example.com/ar we need to remove code view in English version only as default ...
2
votes
3answers
1k views

I change my admin URL to a custom URL and I cannot access my store admin anymore.

I change my admin URL to a custom URL and I cannot access my store admin anymore. How can I revert the change that I made?
1
vote
1answer
17 views

url magento 2 to get manufacturer value on all website

why url like this do not work when we try to access to all product of a specific attribute value. let's take manufacturer as an example::https://website.com//?manufacturer=1437
1
vote
0answers
18 views

Magento 1.9 Localized product url keys

In Magento 1.9 we want to use localized product URL keys for different storeviews. The url key is a global variable and can't be changed by storeview. Example: English: www.example.com/en/addidas-...
1
vote
1answer
23 views

How to translate a url automatically in Magento 2 community?

I have got two websites (one in french, the other one in spanish). I have set up two websites and not view stores because selling prices are different. The main website is the french one. I have ...
1
vote
0answers
28 views

How to call function in my controller in browser url which shows 'hello world' in magento 2.3.5

I am here trying to make a hello world message when trying to access my controller function using browser url demomagento.com/app/code/Icosmoz/Unicenta/Controller/Adminhtml/Home/index.php This is the ...
1
vote
0answers
21 views

create dynamic pages

I have a website with about 200 accessories for a certain type some cars, the accessories are set up as normal products within Magento. However, the cars are stored in a new table within our Magento 2 ...
1
vote
0answers
84 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
101 views

Store switcher url is not redirecting to the store

I'm working on store switcher in magento 2.3.3 I get the url but url is not redirecting to the particular store again get back to the same store http://test.de/test_de/stores/store/switch/?SID=...
1
vote
0answers
22 views

Product url_keys nulled after some time

Setup: Magento 2.2.x, OpenSouce (Magento Community Edition) Products were imported from Magento 1, url_path attributes were cleared all url_key values are unique (both products & categories) ...
1
vote
0answers
65 views

Modifying the custom controller url to SEO friendly in Magento 2

I have created my custom module for loading the custom template. Here is the code of Vendor/Module/etc/frontend/routes.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
1answer
51 views

Magento 1.x Custom Module - get wrong Frontend Url

I have Mage 1.9 with my custom module installed. I have checked that the function Mage::getUrl('mymodule/api/users/1'); return wrong url with admin path. We also use a custom path for the admin ...

1
2 3 4 5 6