Questions tagged [url]
Denotes question about URL issues and custom URLs.
302
questions with no upvoted or accepted answers
4
votes
0
answers
152
views
Magento 2: Multistore view different language url key language switch page is redirect to home page
Magento 2.4.5 Facing issue with multistore view language change CMS page is redirecting to homepage.
We have two store view English and Spanish. Spanish store view CMS page name is add with Spanish ...
4
votes
0
answers
34
views
I am getting warning message of this "This site ahead contains malware" in google chrome
After I installed the local setup for Magento 2.1.16 with the Nginx server. When I try to visit my site in chrome it notifies me with the site ahead contains malware.
I have tried removing all third-...
4
votes
0
answers
999
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 ...
4
votes
0
answers
793
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
0
answers
227
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
0
answers
39
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
0
answers
50
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
1
answer
2k
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
0
answers
712
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
0
answers
173
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
2
answers
1k
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 ...
2
votes
0
answers
198
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
0
answers
103
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
2
answers
2k
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
1
answer
132
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
0
answers
155
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
0
answers
89
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 ...
2
votes
3
answers
2k
views
Magento2 - Is it possible to get specific store url in cms block?
I am trying to get store URL or base URL for a specific store in cms block.
I have tried {{store _store="1"}}
Also, {{config path="web/secure/base_url"}}
I wanted to know if this is going to work ...
2
votes
1
answer
126
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
1
answer
1k
views
Products just redirect to search results page
All of my products are now redirecting to catalog search.
i.e.
/bonfire-firma-3-in-1-stretch-mens-snowboard-jacket-2019.html
goes to
/catalogsearch/result/?q=bonfire-firma-3-in-1-stretch-mens-...
2
votes
0
answers
147
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
0
answers
467
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
0
answers
996
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
1
answer
57
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
1
answer
2k
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
0
answers
15
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
1
answer
291
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
0
answers
328
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
0
answers
217
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
1
answer
318
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
1
answer
2k
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
1
answer
1k
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
1
answer
464
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
0
answers
180
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
2
answers
539
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
3
answers
4k
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
0
answers
726
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
0
answers
343
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
0
answers
280
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
0
answers
203
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
0
answers
773
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
0
answers
140
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
1
answer
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
4
answers
2k
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
0
answers
68
views
when submitting the form from the formbuilder the hash(#) value get removed from the url
I'm trying to submit the request through the GET request by sending the fields as the query parameters, example.com/web/connector/#/home?(other query parameters) when the request is submitted the URL ...
1
vote
0
answers
35
views
Magento 2: Setup domain for a multi-store
I want to assign a new domain 'example.ai' to my current multistore 'www.mywebsite.ca/mystore/'
I tried adding 'example.ai' on storeview level to System->configuration->General->Web-> Base ...
1
vote
0
answers
321
views
Magento 2 Unit Testing with Helper dependency
I have a Helper class and a Model class, which looks like
<?php
# File: app/code/MagePsycho/Catalog/Helper/Data.php
namespace MagePsycho\Catalog\Helper;
use Magento\Framework\App\Helper\...
1
vote
0
answers
293
views
How to change Filter Url in Magento 2
How to change the URL of the Magento 2 store when Filter is applied. When I apply any Filter the URL looks like https://jpm2.mydemoweblink.com/watches/alpina?jpf_gender=6780 where I want to change the ...
1
vote
1
answer
178
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
0
answers
58
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-...