Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [url]

Denotes question about URL issues and custom URLs.

Filter by
Sorted by
Tagged with
0 votes
1 answer
82 views

After magento version update from 2.4.3 to 2.4.7 all category url returns 404 error

A few days ago we updated our project magento version from 2.4.3 to 2.4.7. All works quite well, with the exception of the category url, all category url returns 404 error. The catalog/category/view/...
beata's user avatar
  • 11
0 votes
0 answers
11 views

Importing an existing product into a new category and the URL is the default

I have 2 different stores: German and French. I have the same SKU "A" on both stores, with the German and French URLs. I created a new category on the French store, and when I import the ...
Belen's user avatar
  • 1
0 votes
1 answer
85 views

Category links loading two times

When we click on any category or subcategory link , it open two urls : first, it will load below url https://www.website.com/earrings/earlobes Next, it will load below url : https://www.website.com/...
Baby in Magento's user avatar
0 votes
1 answer
54 views

How to change or overwrite order_id number in Magento store URL?

When viewing orders as customer order_id is visible in URL like this: /sales/order/view/order_id/20/ Is it possible to achieve that orders would be accessible by increment_id value instead? Otherwise ...
player's user avatar
  • 33
0 votes
1 answer
42 views

How to get absolute path from category in megamenu?

i'm using the MageDelight Megamenu extension for a website with different stores in different countries, ex: mystore.com/en_uk/ mystore.com/en_us/ While creating the menu in admin i put the ...
media.queeries's user avatar
0 votes
1 answer
95 views

Found stange url of my Magento site on Google search console

I am running a Magento 2 site, and try analysis the search or traffic of it with Google Search Console. Recently, I found some strange url via Left-top menu "Performance" then middle sub-...
royce's user avatar
  • 1
0 votes
2 answers
151 views

Magento 2.4.6 admin category URL redirect admin dashboard

Admin category URL link redirects to admin dashboard issue how to fix this issue Current URL: Category https://test.cm/mv2/admin/catalog/category/edit/id/12/key/...
Ravindrasinh Zala's user avatar
1 vote
1 answer
82 views

Magento 2 Pagination Urls changing from ?p= to &p=

For some strange reason, despite not running any recent updates, our pagination links have broken on all categories. So they are occuring as &p=2 rather than ?p=2. The link still works if you ...
user2099163's user avatar
0 votes
1 answer
457 views

Magento 2 - 404 error after changing "Custom Admin URL" from Admin panel

I changed the base admin url using the admin panel and now I cannot access the admin panel anymore. I dont have access to the PHP file, I'm an online user, is there a way to find the new admin login ...
Kolo's user avatar
  • 1
2 votes
1 answer
50 views

Add a link to the SKU of the product in the order details in the backend

In the backend, click on sales -> orders -> view once, and under the information tab, there is a "Items Ordered" option. Add a product link to the SKU of the product below, which links ...
Alex's user avatar
  • 23
0 votes
2 answers
169 views

Duplicate content issue with home page and country code version - Magento 2

Problem is, that SEO tools tell us, we have duplicate content with Home Page URL and Home Page URL with country code. www.XYZ.com www.XYZ.com/de/ What is the easiest and most pragmatic solution to ...
Ben's user avatar
  • 141
0 votes
0 answers
45 views

'/l/' in a URL of unknown origin

I have a strange issue with my project. After analyzing the log files, I noticed that in one of the categories, when using filters, a weird URL appears. The typical URL looks like this: /data.html?...
Łukasz Markiewicz's user avatar
0 votes
2 answers
59 views

Problem with SEO - No redirect

Currently my website works well and my products are having the following URLs https://baseurl/catalog/product/view/id/19008 However, I bulk changed with the help of a module to a more set friendly URL ...
Henri's user avatar
  • 123
0 votes
2 answers
666 views

Magento 2: How to pass the parameters to another URL?

I'm new in magento 2, my question is how to send parameters with results responses to another url whenever i click "Place Order" and before proceeding to success page. Using event and ...
vinz vinz's user avatar
0 votes
1 answer
165 views

Only show current category in category path?

Magento 2.4 A category looks like this: https://www.example.com/cat1/cat/cat3.html I want it to look like this: https://www.example.com/cat3.html So what I want is only the current category, not the ...
user4095519's user avatar
0 votes
1 answer
349 views

Add Custom Link to Sales Order View Admin Panel

How can I add a custom link to 'sales/order/view/order_id/123456' adding an slash after the order_id with route name "download" so it becomes sales/order/view/order_id/6710/download My ...
David Buik's user avatar
1 vote
1 answer
2k views

Remove trailing slashes from store URL's - Magento 2.4

We set the "Add Store Code to URLs" option to Yes, so now our store URL's looks like: https://www.example.com/en/ https://www.example.com/de/ https://www.example.com/fr/ And by default ...
JGeer's user avatar
  • 1,420
1 vote
0 answers
147 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 ...
Muhammad Shoaib's user avatar
0 votes
1 answer
35 views

how to fix to show main domain when input subdomain in Magento?

I cloned Magento project from main domain to subdomain in cPanel. I fixed secure and unsecure URL in database. But if I input subdomain URL, it show main domain URL. How can I fix it?
Bohdan V.'s user avatar
1 vote
1 answer
577 views

URL Rewrite not working only for one specific path

I want to ask you for help regarding URL Rewrites. As you can see here I've added the URL rewrite for this path but in the sitemap.xml file there is still not updated it's an old (target path) so the ...
Kristijan Isajloski's user avatar
0 votes
0 answers
75 views

magento 2 category url with timestamp

how to remove the timestamp in magento 2 category page url when clicking next page When I enter a category page and click page 2, page 3, and so on, my category URL is like this: mysite.com/categoryA....
Johnny's user avatar
  • 1
0 votes
1 answer
78 views

Which controller the export hits

I'm trying to understand where the controller of export stock sources is being hitted My url is the following /admin/export/export/key/fjkzegjzehgjze/entity/stock_sources/file_format/csv The code ...
Claims's user avatar
  • 1,231
1 vote
1 answer
189 views

Magento 2 In the UI form, Edit urlInput is not working properly

I've created a UI form with a URLInput field. For creating new entries, it works fine. However, the 'open in new tab' setting is always checked in the edit form. The value has been binded correctly. ...
Jancy Abraham's user avatar
0 votes
1 answer
71 views

How to include category url keys in product URLs

I am preparing to get Magento certified, doing some test questions I have found this: A client has asked you to include category url keys in product URLs. How is this done? A. Create an observer for ...
Noty's user avatar
  • 76
5 votes
0 answers
266 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 ...
Kirti Nariya's user avatar
  • 3,071
0 votes
2 answers
335 views

What is wrong in my ajax url?

I have written the following code the js $.ajax({ showLoader: true, cache: false, url: url.build('multiplecustomer/account/Logout'), type: "POST", }).done(function (data) { ...
Mohmad Ashik M A's user avatar
0 votes
1 answer
160 views

what is the correct way to add ajax url?

My controller file is Vendor/MultipleCustomerAccount/Controller/Account/LogoutPost.php what should be the ajax url?
Mohmad Ashik M A's user avatar
0 votes
2 answers
168 views

Media url returns nothing in Magento 2

Hi I have a problem with passing an image to a view via WYSIWYG editor. I add the image in the editor, it displays correctly in the editor. Its structure is <img src="{{media url='wysiwyg/...
meracle3's user avatar
0 votes
1 answer
129 views

How to get vendor_module/view/frontend/web/images path within Setup/Patch script?

I need to get the url of the image located in the module. I need to run a Patch script because I am updating a cms block with an additional image. The image path I am getting is localhost/pub/static/...
Justin Collins's user avatar
0 votes
1 answer
328 views

I want to change url of wishlist to favourites using url rewrite

I want to do URL Rewrite of wishlist link to favourites but don't know how to do it if anyone can mention the whole process it will b great. I really appreciate any help you can provide.
Parth Patel's user avatar
0 votes
2 answers
46 views

in my url the index.php path appears

my current path ` http://magento2/index.php/router/controller/action preface this address (index.php) is added to the line after the redirect, but there is no error I didn't do anything to make it ...
esca7a's user avatar
  • 21
0 votes
1 answer
213 views

The value specified in the URL Key field would generate a URL that already exists in Magenot 2.4

I have migrated data from Magento 1.9 to Magento 2.4. All things is working well. But when in open any categories and open Product in Category tab -> then click on reset filter -> search a ...
Prits's user avatar
  • 625
1 vote
1 answer
818 views

Magento 2.4 constructing controller URL admin(backend) in JavaScript

I tried to make a simple ajax call to my controller, but I can't generate the url to make the request requirejs(['jquery', 'Magento_Ui/js/modal/confirm', 'mage/url'], function ($, confirmation, ...
GStiven's user avatar
  • 41
1 vote
0 answers
43 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 ...
mechanic's user avatar
  • 440
0 votes
1 answer
346 views

Magento 2: Rewrite category URLs programmatically

I want to remove category ids from category URLs and replace them with the current category or subcategory name. Is this possible? Any help will be appreciated.
mechanic's user avatar
  • 440
0 votes
1 answer
339 views

Proper way to remove .html extensions from URL and do a global redirect

I know how to remove.html extensions from URLs in Magneto 2.3, but I'm unsure what other steps I need to take to make sure I do everything properly. I found that I should also create a global redirect ...
Randy's user avatar
  • 1
0 votes
2 answers
970 views

magento 2 get CMS page URL path

In magento 2.4.3, How to get the current page URL in block file. I tried this solution, but not working. My Sample URL: https://magento.com/questions-sample Expected Data to get: questions-sample
Saravanan DS's user avatar
  • 1,126
0 votes
0 answers
156 views

PROBLEMS WITH SEO MAGENTO 2 SAME URL FOR DIFFERENT STORE VIEWS

I have one magento 2 with two stores (two different domains ) each store with two store viewS (english and spanish) both stores share almost the same products. Each store have the same URL for the ...
jb019283's user avatar
0 votes
1 answer
122 views

Magento 2 : How to get hreflang from address url?

When i have the address: <link rel = "alternate" hreflang = "de" href = "..." />. I would like to take the hreflang value from this address, meaning "de"....
bambo's user avatar
  • 3
0 votes
1 answer
46 views

SEO-URL Multistore problem, website-url is fine, but product-url stays the same

I have a multistore website, but the seo is not working totally fine Like the title says: The website-url is fine, but product-url stays the same. But the product-url should be different for every ...
Always_home's user avatar
0 votes
1 answer
34 views

How to create custom module to remove .html part from product page?

I want to create a custom module to remove .html part from product page. I have found solution only from admin panel but want editing in module. Please help me in doing this.
komal's user avatar
  • 1
0 votes
0 answers
65 views

Add string (not store code) to url

I want to add string to the end of url, but not the store code. Example: I go to site.com/store_code, i want to replace the store code to my own string. (because store_code has to be unique). I enable ...
Yannick Waelkens's user avatar
0 votes
1 answer
586 views

SiteMap problem after URL change

I changed my domain name after a Magento 2 installation, modified the Magento configuration to put the new URL there but the generated sitemap still shows the link of the products with the old URL. I ...
Benjamin Box's user avatar
0 votes
1 answer
220 views

Magento adding .html in the middle of url after last category

I migrated all my products and categories (thousands) over from M1 to M2 and persevered all the URL writes. I have now found that if we modify a category in M2 it is adding a .html to the end of the ...
neit's user avatar
  • 63
0 votes
2 answers
2k views

Magento 2: Invalid header value detected

On opening a certain product page, we are getting the following error "exception":"[object] (Zend\\Http\\Header\\Exception\\InvalidArgumentException(code: 0): Invalid header value ...
GenZ Dev's user avatar
  • 600
0 votes
0 answers
125 views

how to append url params by default forcefully in magento2

I want to add current customer session custom field to the every category url. lets say if user typed in the browser http://test.html , this should forcefully change to http://test.html?...
sivakumar's user avatar
  • 297
0 votes
1 answer
26 views

URL key for specified store already exists while importing products through custom script

I have some of the products already added in magento admin. And now i am trying to create same name product with the use of script that time i am facing error "URL key for specified store already ...
ZealousWeb's user avatar
  • 2,108
0 votes
1 answer
998 views

Magento 2.4 getting wrong css & js path on frontend

I'm getting the wrong media, JS & CSS file path on the frontend and backend after installing Magento 2.4.2. Please review the below URLs we are getting. I've tried updating the value in the ...
sourabh yadav's user avatar
4 votes
0 answers
50 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-...
Rajesh Selvam's user avatar
0 votes
1 answer
24 views

Image is not loaded in product detailed page only magento 2.3

I have added the image in admin panel backend image show homepage,category page show but product detailed page image is not shown certain url link.i have shared. URL:https://sarikart.com/3003maroon-...
maharajikr Kr's user avatar

1
2 3 4 5
20