Questions tagged [url]

Denotes question about URL issues and custom URLs.

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 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
58 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
104 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
0 votes
1 answer
41 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
257 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
40 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
128 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
0 answers
51 views

Magento 2.4 - Programmatically Created Categories in Multi-Store Collide

I have a Magento 2.4.3 multi-store and I am currently creating categories programmatically, with the following code: $category = $objectManager->create('Magento\Catalog\Model\Category', ['data' ...
A. Andersen's user avatar
0 votes
2 answers
47 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
518 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
99 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
256 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
1k 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,416
0 votes
0 answers
7 views

URL Rewrites / Cloned Categories

I have just switched a root category over for our store and the URL rewrites have not applied. Any idea how I can resolve this? Cheers
JoshTopley's user avatar
1 vote
0 answers
134 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 ...
shoaib sheikh's user avatar
0 votes
1 answer
26 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
386 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
60 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
74 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,146
1 vote
1 answer
162 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
55 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
223 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,461
0 votes
2 answers
309 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
156 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
135 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
119 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
299 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
42 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
207 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
  • 626
1 vote
1 answer
648 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
39 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
332 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
301 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
890 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
143 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
109 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
33 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
61 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
485 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
184 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
  • 590
0 votes
0 answers
116 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
  • 267
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,186
0 votes
1 answer
937 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
42 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
0 votes
1 answer
261 views

Suppose I reach to this page customer/account/login/, after I click on "Sign In" button and i found referer feature not working :(

How to echo or print the referer url(history page) from where I reached to that login page. I have to implement something that after login user should not reach to dashboard instead he should re-...
Vibhore Jain's user avatar
0 votes
1 answer
80 views

Build Customer View URL on Controller

How can I programmatically build this url: http://127.0.0.1/magento2/sales/order/view/order_id/61/? Im in a custom controller with the current Order object.
Sergio Vargas's user avatar

1
2 3 4 5
20