Questions tagged [url]

Denotes question about URL issues and custom URLs.

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

Magento2: Could not save product “53430” with position 0 to category 1593

Every time during try update category I get issue: Could not save product "53430" with position 0 to category 1593 When edit product and try save I see: The value specified in the URL Key ...
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
0
votes
0answers
11 views

URL Not friendly Magento 2

Name product: Box đựng HDD 2.5 di động WD USB 3.0 . but url auto of magento 2: /box-d-ng-hdd-2-5-di-d-ng-wd-usb-3-0.html . i want /box-dung-hdd-2-5-di-dong-wd-usb-3-0.html This is lang vietnamese ...
1
vote
2answers
21 views

How can I get product image from REST API as HTTPS

I use V1/getproductimage/<sku> and get product's image url from API. It returns [ { "product_image_url": "http://<host>/pub/media/catalog/product/cache/...
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 ...
0
votes
0answers
18 views

Redirect .html to none html on URL

I tried to remove .html from my categories from admin panel and it works. now I have example.com/test , but example.com/test.html is 404 now. how can I redirect all .html urls to non html one? should ...
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 ...
0
votes
1answer
27 views

Generate Admin URL from frontend Magento 2

I have to generate secure Admin URL in the frontend, for example in Magento 1.9 i can achieve it like this: $adminUrl = Mage::getUrl('adminhtml/sales_order/view', array( 'order_id' => $order->...
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 ...
0
votes
0answers
13 views

URL rewrites duplicate problem

I get an error like: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'hracky/elektricke/bburago-range-rover-sport-black-d5848030-evoqu' for key '...
0
votes
0answers
21 views

static blocks are not displaying in frontend

I moved the main server to localhost with subdomain , all the pages are working but static blocks are not displaying in frontend, where i have to change to display the static blocks in frontend
0
votes
0answers
8 views

Pass URL Parameter to Order

In my Magento 2 store, I want to be able to pass a custom URL parameter source to my order, so that when the order is complete, we know what value (if any) was in the query string for the source key. ...
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 ...
0
votes
0answers
5 views

Modify “added to cart” notification to include HTML link? - coming from 3rd party extension via PHP (controller), not standard mage notification

I have an extension installed that add's a "quote" cart to my Magento 2.3.4 site. It looks similar to how the default cart works, but it allows customers to add products to a quote-cart and submit ...
0
votes
0answers
9 views

Domain rewrite for all the product URL which recently migrated from another platform. The main domain should be same

Am running a store in Magento2 which I recently migrated from another platform. So all my existing URL of products changed but keeping the main domain as same. www.domain.com/products/item_name ...
0
votes
0answers
17 views

How to remove Specific Category name from URL when product is load

Can it possible to Remove Specific Category from URL when Product is Load. For Example, if Category Name Like this Product Subject Presenters 1) when we click in Product Category Load all ...
0
votes
0answers
10 views

how to show complete product url key in magento 2

Products in subcategory URL Category 1->Sub Category 1-> Product if I navigate the product from (root->sub) sub-category-1 the URL of the product is /category-1/sub-category-1/product-urlkey.html ...
0
votes
0answers
33 views

How to get another store url link in current store using CMS block in magento2

I want to get test store(www.teststore.com) pages URL on the default store menu(www.mainstore.com). For that, I have created a cms block for add custom links in the menu on the default store. Top-...
0
votes
0answers
13 views

Wrong URL for category image when root is set to pub directory

I want to use pub/ directory for security reasons as document root for Magento website but when i switch it, images for categories and for manufacturers (in product detail) are not displayed. I ...
0
votes
0answers
20 views

URL is appended by 'undefined'

After upgrading Magento to 2.3.4 we are facing a strange issue ajax URL is appended by undefined we try an ajax call using knockout js URL is like: /checkout/undefinedrest/default/V1/guest-carts/...
0
votes
0answers
20 views

When uploading a picture to a product from the admin It doesn't show up on the front end until I run catalog:images:resize

Is there something else I can do to show the picture on the frontend? Without the catalog:images:resize command?? Thanks!
0
votes
0answers
22 views

Magento 2.1.2: Url add directory names and returns 404 not found page

I have migrated my magento store from local to server and then i have changed core_config_data path to https://example.com/ and i ran all the commands like upgrade,deploy and other cleaned cache. But ...
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 ...
0
votes
1answer
97 views

Multiple Store URL

I've spent more than a week to solve the problem with URL's in my Multiple Stores in Magento Community 2.3.2, but I got nothing. What I need: URL structure: example.com/store_name/store_viewname ...
0
votes
1answer
36 views

change url for store view

I have Magento 2.3.3 I created store views French, English, Turkish. I want to change url,. for example http://localhost:8080/magento/fr for French store http://localhost:8080/magento/...
1
vote
1answer
46 views

Inconsistent Product URL

I'm facing an issue in Magento 2.2.0 and Unero Theme 1.3.2 where there are products that have an URL like: https://example.com/catalog/product/view/id/440/s/product-url-key/57/ and the others are: ...
0
votes
1answer
20 views

Pass Search Query to Product Page

I'd like to pass the search query to the product page that is clicked on. The reasoning is because if someone searches for a product, it may be on a grouped product page, so if they click on that ...
0
votes
1answer
40 views

All urls are not working, it is accidently deleted,

Yesterday, I accidentally deleted unnecessary backup files from the public_html folder and deleted other important files as well. Since then, the main home page of the website has been well displayed,...
0
votes
0answers
31 views

Magento 2 Store getCurrentUrl always refers to previously visited URL

I have a website with multiple websites and multiple store views. To display store switcher in the header I have added the below code. <ul class="sub-lang"> <?php foreach ($helper->...
0
votes
1answer
28 views

Magento2 category url

I want to change my url to the endpoint of slug on categories. Ex: www.example.com/level1/level2/level3.html should be like this: www.example.com/level3.html
0
votes
1answer
31 views

Disable URL redirection from catalog to product view in case of the error “The requested qty is not available” when adding too much products to cart

I can't figure where to find the code displaying "The requested qty is not available" and redirecting to the product URL when we add more product than the stock. [I'm using Magento 2.3.3 and custom ...
0
votes
0answers
19 views

View Magento's Rest API generated guest-cart in Store Website using URL with guest-cart id

I have a requirement to show guest-cart items(created and items added using Magento rest API) on the Magento store website to initiate checkout from the website. I tried http://storeurl.com/checkout/...
0
votes
1answer
156 views

Magento 2.2.6 Undefined index: REQUEST_URI in vendor/magento/framework/App/Valitron.php on line 1293

I use magento 2.2.6 i have this notice with valiton.php from 2 days, i don't understand why. The message is : PHP Notice: Undefined index: REQUEST_URI in /var/www/vhosts/bonbonrose.ch/httpdocs/...
3
votes
1answer
84 views

Does Magento 2 always transliterate product url keys or only when generating it?

In our Magento 2.2.9 shop when updating a products url_key it has been transliterated automatically to remove spaces, umlauts, etc.. We now updated to 2.3.3 and this behavior stopped working. I ...
0
votes
1answer
29 views

Find backoffice controller

I have a javascript call to this url : https://mysite/admin/admin/export/export/key/b7c4bdb5a1b9f5147f498741adc99/entity/catalog_product/file_format/csv From this url how can I find where is located ...
0
votes
0answers
30 views

Regarding - Magento OAUTH 1.0

I am trying to create an integration between zoho desk with magento. And I have used oauth for my all requests. And I have used the following urls for authentication Authorize url : https://mystore/...
0
votes
0answers
17 views

External Links in Magento 2 Admin Panel

I have noticed there are a lot of 3rd party links to external websites within the Magento 2 Admin panel, links to New Relic, Dot Digital, YotPo, like: Create Account, Sign Up, API Key etc My ...
0
votes
0answers
107 views

Magento 2 How to change media base url programatically

Does anyone know how we can change magento 2 media base url programatically ?
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 ...
0
votes
1answer
31 views

This observer is not running at all

This is Observer. <?php namespace SimpleMagento\Custom\Observer; //use Magento\Framework\Event\Observer; use Magento\Framework\Event\ObserverInterface; class Another implements ...
2
votes
1answer
63 views

How to redirect to custom page after Customer Successfully register..!

I need to redirect to next controller after registering page.
4
votes
2answers
51 views

Admin url redirecting to localhost/admin

Admin URL frontname is set to "admin" but on hitting the URL http://www.example.com/admin it redirects to localhost/admin Working on localhost web/secure/base_url and web/unsecure/base_url is set to ...
0
votes
0answers
46 views

Magento 1.9 - What is the best Practice to Display Top Selling products list?

I have to display best selling products list, just confused what is the best practice. Create Module & CMS Page Getting best selling values from database using products id display product ...
0
votes
1answer
46 views

Magento 2 SKU and URL Key is not generating unique by default

When I create multiple product with same SKU and same URL Key it is creating, as I know Magento do not allow this. I googled alot but didn't find any configuration for this, Please guide me what is ...
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=...
0
votes
1answer
85 views

How to Change URL of Magento Site After Modifying Apache DocumentRoot?

My question is similar to How to do redirect the URL of site but I want to do the opposite. And there is a further challenge or two I cannot understand yet. Our setup is a Magento 2.3.3 store running ...
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 ...
1
vote
2answers
126 views

Magento 2.3: Forward to another URL without redirecting

I'm writing a module that will accept any Magento URL with /discount/COUPON_CODE appended to the end, set the code in a cookie for later use, and then forward to the URL minus the discount part. So, ...
0
votes
1answer
89 views

Difference in response from magento swagger and postman Magento 2

I have custom API in which I am retrieving customer balance as: use Magento\CustomerBalance\Model\BalanceFactory; ........................ ........................ $model = $this->balanceFactory-&...

1
2 3 4 5
19