Questions tagged [url]
Denotes question about URL issues and custom URLs.
927
questions
0
votes
0answers
5 views
Magento 2.3.5 layered navigation (left sidebar) url adding category id not the name
I am configuring a Magento 2.3.5 shop.
After clicking on a subcategory name in the layered navigation the category id (?cat=) is showing in the url instead of the name. Example: www.myshop.com/shoes/?...
0
votes
1answer
19 views
Magento generates duplicate urls
I am new to Magento and I do not yet master the PHP language. (Magento ver. 1.9.4.2 I have a problem with the automatic generation of duplicate urls. I searched several forums but none of the ...
0
votes
1answer
26 views
Magento2 create custom dynamic routes
Magento2 how can I create custom dynamically routes/URL ?
I need URLs as below
For e.g. https://example/find-a-store/nsw/tuggerah/
Here in URL, nsw & tuggerah will dynamic generate
I used below ...
0
votes
1answer
17 views
Magento 2 - Current url not work well in copyright section
I need to get the current url in the copyright.phtml section.
This is my code:
echo $this->getUrl('*/*/*', ['_current' => true, '_use_rewrite' => true]);
After clearing the cache it seems to ...
0
votes
0answers
22 views
Frontend Links are not working properly - M2
I have issue in website frontend links, When i am opening any URL, that is considering as base url. For example
My base url is www.xyz.com and categories url are green and red, both are parent ...
1
vote
2answers
27 views
Retrieve product url with category in the graphQL
I've enabled at backoffice the usage of the category inside the product url by setting this option:
When I access the magento frontend, I can now access the product with the url <category>/<...
0
votes
1answer
27 views
Magento 2 - remove .html from URL by using .htaccess
We have some wrong URLs in our store ending with .html. If the user opens such a URL, then the .html should get removed, otherwise the site cant get found.
So I added this rule to my .htaccess file in ...
0
votes
0answers
27 views
Changing Url magento 2
I want to change www.m2.com/authors/view/index/id/1 to www.m2.com/authors/author_name.html
how can i achieve this
help
0
votes
0answers
11 views
Magento 2 not able to read the query parameters passed to category page on live server
I am trying to read the GTM parameters passed on page before page is redirected to external resource for authentication. I can read this query parameters on local server but on production server it ...
0
votes
1answer
22 views
404 Page Categories Not Found
We have problems with page 404 page and our URLs have two formats without knowing why.
See the example below.
www.mywebsite.com/catalog/category/view/s/herboristerie/id/419/ (Okay)
www.mywebsite.com/...
0
votes
2answers
41 views
how to get image from a module
in my case there is a picture inside my module and I want to get that image inside an HTML file (it's an html file for email header), but when I use Magento syntax it doesn't appear, I have got the ...
0
votes
1answer
15 views
Is changing to canonical urls a bad idea if you have an established website with thousands of backlinks?
I have a magento website with thousands of backlinks. I just realized that the categorical structure is negatively affecting my seo. Will switching to canonical break many backlinks? Is it a bad idea? ...
0
votes
2answers
39 views
Magento 2: How to generate backend url with key from frontend?
I need to generate backend url with key like this:
https://m2.com/admin/test/test/index/key/123XXXX
using URL builder
$this->getUrl('test/test/index')
how can i achieve this from the frontend ...
0
votes
0answers
44 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
2answers
48 views
Magento 2 - add prefix before category and products urls
I want to add prefix in category and product urls of Magneto 2.3.4.
I was able to add prefix in product urls but not working on category urls.
Please guide.
0
votes
3answers
79 views
Changed Base_Url and Now I am getting 404
I just migrated a Magento2 site from a cloud server to my localhost to do some developer work on. I have everything I need installed and ready to go. I am just trying to redirect the Base-URls. I ...
0
votes
1answer
70 views
Re-direct Category Menu item to different URL
I want to redirect my Menu sub item to a different URL how can I do that?
Like Blog Menu Item to
Dropbox.com
I want the Blog menu to be redirected to : a seperate URL to new website for example: www....
0
votes
1answer
73 views
Multiple URLs getting created for single product
I am an SEO executive and pretty new to Magento. I have got a project in which there are multiple URLs for a single product and all URLs have been indexed on Google. Here is an example of URL ...
0
votes
1answer
23 views
Remove .html from category in product URL?
For some reason, I am getting .html in my product URL, like so: https://example.com/mycategory.html/myproduct.html. I want to remove .html from mycategory when I am on a product page.
Is there a ...
1
vote
2answers
31 views
Product image by ftp url
I need to pass an url of an ftp to be the product image by the magento api, can I do this?
Something like
{
"attribute_code": "image",
"value": &...
0
votes
0answers
19 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
38 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
12 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
23 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
19 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
41 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
44 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
39 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
29 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
53 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
15 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
9 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
26 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
6 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
18 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
12 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
44 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
39 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
35 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
105 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
265 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
44 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
52 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
28 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
41 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
38 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->...