Questions tagged [url]

Denotes question about URL issues and custom URLs.

2
votes
1answer
45 views

What are the rules that govern which entity “wins” in the case of conflicting URL paths

If multiple entities (e.g. a category, a product, a CMS page and a module frontname) all attempt to use the same SEF URL, what is the algorithm or process that Magento uses to decide which will be ...
2
votes
1answer
400 views

_isUrlInternal method in Mage_Core_Controller_Varien_Action failing due to port number

i am implementing the currency switcher on my 1.5.1.0 CE site. it's a fairly straightforward implementation, but for some reason, once i select a currency, i get redirected to the homepage rather than ...
2
votes
1answer
955 views

Multiple stores, dynamic domains problem

In a new site, with multiple domains, I have a problem. First the several websites with their own store view: shop.mydomain.org, code shop retail.mydomain.org, code retail *.mydomain.org, code base ...
2
votes
1answer
36 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
65 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
29 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
24 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
106 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
218 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
268 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
23 views

how to stop creating multiple url of product

Product URL created for all stores even I have disable the stores 1,2,3,4. I just need store 2. but while uploading the product the nos of product URL created for all stores(in url_rewrite table). If ...
2
votes
1answer
25 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
944 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
1answer
124 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?
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
171 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
280 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
116 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
171 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
660 views

Magento 2: How to get secure category URL programmatically?

I have a custom category indexer which grabs Magento categories and index them to a search service. Within each category I need to index it's URL which I do by code $url = $category->getUrl(); ...
2
votes
1answer
52 views

alternating href store url

in our online shop we use a fullsize slider. I would like to provide 3 links in the same slider using the same image. So that one time a customer clicks on the slider is referred to categorie a and ...
2
votes
1answer
942 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
898 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
298 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
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
1answer
238 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
0answers
676 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
721 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
438 views

Magmi Updating Product url_key [closed]

I'm looking to run a .csv dump file in magmi that updates the products url_key to ensure that all products keep their original key after a full export and import of products. (url_key may change due ...
2
votes
0answers
59 views

Create new product with same URL as deleted product? [closed]

We had to delete a product and re-add it because we needed to remove a configurable attribute but now when I try to add the new product and use the same URL it generates a Page Not Found error. http:...
2
votes
0answers
167 views

Can I get more specifics on changing the Continue Shopping URL in Magento? [closed]

I have seen the following answer to my specific question, but as a NEWBIE, I need a little more information Someone said ... create your own helper that has a method getContinueUrl that returns the ...
2
votes
0answers
30 views

Clean domain for one of the store views [duplicate]

We have webstore with 4 different countries which are different store views in admin. At the moment urls are as follows: domain.com/en-us, domain.com/fr, domain.com/cz-cz etc Client requires that ...
2
votes
0answers
821 views

URL Redirect does not appear in catalog [closed]

i've created a url redirect for when the user types womens/clothing/activate/[ITEM] they can get catalog/product/view/id/[ITEMID]/category/[CATID] when i use my new url redirect it works fine however ...
2
votes
2answers
787 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
3answers
5k views

How to get category URL in Magento 2?

In my script, I'm retrieving categories like this $category = $this->_categoryFactory->create(); $storeCategories = $category->getCategories(1, $recursionLevel = 1, false, false, true); $...
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 ...
1
vote
3answers
20k views

Magento get store url in cms page

I want to get the store URL in cms page when I tried this {{store url='abc/efg/xxx/yyyy'}} It does not return the given URL. Its give output like this http://domain.com but I need to get like ...
1
vote
1answer
4k views

Get frontend baseurl from admin when 'Add Store Code to Urls' to yes

Based on this answer, you can fetch baseurl from backend with his code: Mage::app()->getStore($storeId)->getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK); This won't work properly, if settings ...
1
vote
2answers
996 views

Too many URL Rewrites

As you can see in the attached image, foreach product in my store I have too many rewrite rules. I would like to have only one rule with the following syntax: mydomain.com/product-category/product-...
1
vote
3answers
1k views

How to add the sku to the url key? Magento 2

The products we sell are unique, but share the same name. So when we add two different products with the same name, it throws back the error that that URL already exists. What I wanted to do was ...
1
vote
3answers
2k views

Removing Magento Store URLs Param ?__store=

Magento's store URL wuery param is really annoying me and I'm not sure of the point of it when there is a store cookie for holding this info, also it only appears when you first visit a site or switch ...
1
vote
1answer
2k views

Magento Admin panel will not fully load Edit Categories due to AJAX call to a non secure endpoint

We have a Magento site that was copied over from an existing Magento site we have, so all products, setting, etc are simply copied to a new domain. This was done months ago but I am just now trying ...
1
vote
3answers
1k views

Magento url redirect problem … Admin is not opening

I wanted to redirect my website now www to www ... lookied into some help and then went and made fallowing changes System > Configuration menu and from the left panel click the "Web" button. Unfold ...
1
vote
2answers
559 views

Magento invalid product urls

I've been trying to get correct product urls for orders. By that I mean that when an order is created, i want to get the product url which will correspond to the store in which the order was made. At ...
1
vote
2answers
2k views

How to define if url exists at Magento?

For example I have set of urls, their rewrites, etc: test1.html catalog/product.html thank-you catalog/product/view/id/34 All this URLs gives 200 OK at response. My aim is to filter incoming URLs ...
1
vote
2answers
696 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 ...
1
vote
1answer
664 views

Getting Product Admin Area URL from code

Inside an observer, I need to get the URL to edit the product in the Admin Area. Using the following code : $product->getUrlModel()->getUrl($product) I get an URL which is not working (and it ...