Questions tagged [url]

Denotes question about URL issues and custom URLs.

Filter by
Sorted by
Tagged with
2
votes
1answer
451 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 ...
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 ...
2
votes
1answer
281 views

Magento 1.8 after migrate live server to locahost admin URL not working

I change my Magento store Live server to Localhost, and i change core_config_data table also that is following, I clear all cache files in var/cache folder and session files var/session folder. ...
2
votes
2answers
3k views

Remove last trailing slash from url

I am using this code to get the URL of the current page I am on: <?php $currentUrl = Mage::helper('core/url')->getCurrentUrl(); ?> Problem is, at the end of the url, there is a slash. How ...
2
votes
1answer
87 views

How to rewrite a folder path

I need to create a redirect that will redirect from https://www.example.com/es to https://www.example.com/mx for all pages on my site. How would I go about that. Can I do that in Magento admin section?...
2
votes
1answer
37 views

magento modify product url and name

i worte code to modify product name and url . i am able to change name but url does not works below is mycode : public function modifyallname(Varien_Event_Observer $observer) { $...
2
votes
1answer
235 views

Why doesn't this url comparison work?

I'm trying to write a bit of php code to determine if the user is on the checkout page by getting the current url, and the checkout page url, and comparing the two. The comparison is not working ...
2
votes
1answer
27 views

Categories url in not visible when calling inside page template

Categories url in not visible when calling inside page template. But this works in catalog template. How to make this accessible in a phtml block of page template? <?php foreach ($this->...
2
votes
1answer
697 views

Auto Apply Discount on Product Page based on URL

I am wondering if anyone can offer advice on the best/easiest way to accomplish the following: I would like to be able to change the price of a product based on a URL parameter. So for example if ...
2
votes
2answers
1k views

Custom URL for magento extension

I am building a magento extension that will need a custom URL for the frontend that is set via the admin panel config setting for the extension. Along the lines of the "set admin url" setting in the ...
2
votes
4answers
2k views

How to remove Duplicate parameter in URL?

In my custom module I have passed parameter in URL like this: <?php $currentUrl = Mage::helper('core/url')->getCurrentUrl(); ?> <a href="<?php echo $currentUrl .'?alpha='. $letter ;?&...
2
votes
1answer
460 views

Custom Report extending another Report

I used the following project and created a custom report: https://github.com/technodelight/magento_custom_reports_example I changed stuff in the report. mainly there is another table joined to the ...
2
votes
1answer
61 views

Set defaults values Urls Magento

I'm using magento 1.9, I changed the values of: URL Base of JavaScript: {{unsecure_base_url}}js/ URL Base of Skin:{{unsecure_base_url}}skin/ URL Base of Media:{{unsecure_base_url}}media/ I deleted ...
2
votes
1answer
2k views

How to use URL Re-write to direct one category to another?

How do I use URL Re-write to direct one category to another? I have found a tutorial on how to do a custom URL re-write one how to direct a category to a CMS page. Is there an easy way to direct ...
2
votes
1answer
98 views

Store views having different URL structures

I have a webshop with different store views for different languages. www.clothing.com and www.english.clothing.com for example. My problem is that they have different link structures, so if I'm in a ...
2
votes
1answer
2k views

EE 1.13.1 Url Rewrites Not Working.. Why will they not index?

This is a clean install of EE 1.13.1 not an upgraded site. I am facing this issue with a group of skus in my catalog... www.MYSITE.com/catalog/product/view/id/189576/s/**url-key**/category/293/ I ...
2
votes
1answer
2k views

Get Group Product Path(URL) from Single Product ID

Given that I already have the single product id, was it possible to get it's grouped product url that has the certain single product id that I got? For example, I got a single product id of 11 ...
2
votes
2answers
3k views

Multistore - Prevent product from having multiple urls

I have a magento multi-store configuration. One website, with multiple stores, on different subdomains. I'm having an issue with a single product assigned to one store view having multiple urls. My ...
2
votes
1answer
46 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
406 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
963 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
0answers
30 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
270 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
76 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
35 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
35 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
130 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
251 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
390 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
25 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
30 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
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 (...
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=...}...
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
248 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
732 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
57 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
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
951 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
327 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
172 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
280 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
698 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
311 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
255 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
743 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
456 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 ...