Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [url]

Denotes question about URL issues and custom URLs.

3
votes
0answers
319 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
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
409 views

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
170 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 ...
2
votes
0answers
28 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
0answers
105 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
216 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
253 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
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
0answers
278 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
115 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
0answers
171 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
0answers
675 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
298 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
243 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
719 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 ...
1
vote
0answers
27 views

How can I get all filter combinations and their links for all categories in Magento 2?

I have a problem and I do not know how to solve it. The client wants to get links of all filter combinations for the category, and make a check on index and follow. And if there is a parameter index ...
1
vote
0answers
16 views

Opening product from category url is much slower than loading it from product url

So I have a product named A. If I open A from it's own url https://mymagentowebsite.com/A.html it opens fast because it's cached. However, if I open the product from the category url https://...
1
vote
0answers
17 views

How many ways are there to create a controller and what are they?

I have been developing with Magento 1.9 for the last two weeks. I have found several problems to develop each project (probably because my first project with magento had a high level...). I come ...
1
vote
0answers
37 views

Remove Auto-generated URL Rewrites

I've been having this issue with auto-generated URLs. The catalog/* URLs keep auto-generating the red box are the URLs that auto-generate, the green box are the URLs that I want. How do I stop the red ...
1
vote
0answers
20 views

Magento 2 - “url_key” Product Attribute, force as required and unique

Is it good practice to force the "url_key" product attribute to be both "required" and "unique" by default? update eav_attribute set is_required=1,is_unique=1 where attribute_code = "url_key"; As ...
1
vote
0answers
513 views

Magento 2 Rest API get all products with certain attribute_set_id

I need to elaborate de URL that will bring all products with certain attribute_set_id through Magento 2 Rest api, and then change though the api the attribute_set_id of all those items. My problem ...
1
vote
0answers
127 views

Issue with Magento 2 generated sitemap.xml

I'm using Magento's built in sitemap generation tool and have it set to generated nightly. The issue I'm facing with it is that the urls in the sitemap do not match the ones found on the site. To ...
1
vote
0answers
74 views

Magento get product link using V1 API

$storeUrl."/index.php/rest/V1/products?searchCriteria[page_size]=200&searchCriteria[currentPage]=1" It returns products list but I want to get each product link. How it is possible?
1
vote
0answers
9 views

Omit inner category URLs from url path

I have a magento 2.1.10 setup running.. Recently made a bulk of change in the categories navigations. The currently structure is somewhat like below All > Pillows > Shop All Pillows > ...
1
vote
0answers
24 views

Add Custom url to href in email template not working

I try to generate an a href element in my email template that will open a mobile app, to do this i just have to replace the http or https in url with my app name, the a href element should contain the ...
1
vote
0answers
39 views

Magento website showing error when uploaded to Hostgator server

i have created a website on magento1.9 platform it is running properly on my localhost Xmapp server. Now i uploaded my website data to hostgator server and made all necessary changes like nameserver ...
1
vote
0answers
64 views

Magento Store view URL

We have Magento with 3 stores with language English and Arabic for each. It is working fine without any issue. We are planning to change the URL of each website. Current URL: http://example.com/...
1
vote
0answers
299 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 ...
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
59 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 ...
1
vote
0answers
118 views

URL Rewrites Magento 2

I've encountered a weird issue with my Magento 2 URL Rewrites function. It seems like my 3rd party plugin (Yotpo) is pulling an /admin with the ProductURL function. So for example this is what is ...
1
vote
0answers
77 views

SID is not showing in the frontend

I turned on SID using store>configuration>general>web>use Store ID in frontend but it does not show in the front end. I've tried looking for solutions but all I could find is how to ...
1
vote
0answers
29 views

Magento 2: How can I change the Value in the Url of the paypal Button?

My problem is happening every time I click on the express checkout with PayPal. I get an error that the link is not working, I found out that when you click the button the value is for example"(1,000)...
1
vote
0answers
320 views

How to add prefix before category url in Magento2?

My all categories are assigned in default category. Now I have urls like that: www.magentoShop.com/category_name/ And I want to add prefix "something" it should look this way: www.magentoShop.com/...
1
vote
0answers
112 views

Add to cart button/URL

I am using Magento 1.7. In the page myUrl/customer/account, I created a table that shows the amount of each product that was ordered in the last orders. The first column contains the product name, ...
1
vote
0answers
215 views

related products getProductUrl() giving url without rewrite

I'm loading my related products like this: <?php $_relatedProducts = $_product->getRelatedProducts(); ?> <?php foreach ($_relatedProducts as $_item): $_item = Mage::getModel('...
1
vote
0answers
470 views

Magento 2 Why SID is not coming in url

I am working on multi store configuration. Store > Configuration > General > Web > Session Validation Settings > Use SID on Storefront is set to "Yes" Store > Configuration > General > Web > Url ...
1
vote
0answers
110 views

export enterprise url redirects

I am trying to export all my URL redirects from my Enterprise Magento instance. Is there a way to do this in the Admin or a SQL statement I can use to export it as a CSV? I am unable to find it in the ...
1
vote
0answers
176 views

Remove random number from rewrite url

i am working on magento category. my requirement is if request path already exist than no need to add second time. also if request path exist than no need to add that path second time in url rewrite ...
1
vote
0answers
66 views

Set text as url in Magento 2 Grid table records

I have a grid table that shows order id's only in text form, I want to change it into hyperlink format that redirect to order page based on the order id, here's my grid: <column name="...
1
vote
0answers
58 views

Customer confirmation url leads to a 404 page

Hello Stack Exchange community, So we've been running a Magento Multi store for a while now and we haven't run into any trouble yet. Recently we added another store to our multi store and for some ...
1
vote
0answers
88 views

Magento 2: Can't update redirect URL – strange behaviour

I have created a new page (step) on my checkout which I'd like my users to be able to login in via. All works well when the user enters valid information (they're logged in successfully), but if they ...
1
vote
0answers
990 views

Removing ?___store=default from the url

I'm trying to remove the ?___store=default from the url of a page of my Magento store. I tried pretty much all the solutions including changing the .htaccess. How do I do this? I've tried adding a ...
1
vote
0answers
41 views

Main website in root folder / and other websites in subfolders /de /es

We are trying for some weeks to setup Magento 2 with the following structure: Main Shop: example.com/ USA Shop: example.com/us UK Shop: example.com/uk I tried to set the following configuration: ...
1
vote
0answers
64 views

Reindex from code dosn't work

I am rewriting a product Url on save. For this Url I am making a redirect (add new row in enterprise_url_rewrite_redirect). With this I want that old Url go to new Url. It works just after reindex(on ...
1
vote
0answers
54 views

Magento URL parameters

Is there a way that I can hide URL parameters identifiers? from: domain.com/frontname/param1/x/param2/y/param3/z to: domain.com/frontname/x/y/z
1
vote
0answers
154 views

Adding a suffix from an attribute to magento product URL

Have been going around in circles with this for a while now. I am looking to add a block of text in the form of an attribute to the end of the URL. What I am looking for in the end is: https://www....
1
vote
0answers
39 views

Generating URL without website scope

The main entry point of our webshop is shop.com/dashboard. When I want to redirect to this page, I use Mage::getUrl('dashboard') and it works fine. However, when in a specific website (E.g.: shop.com/...