Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [url]

Denotes question about URL issues and custom URLs.

0
votes
0answers
13 views

How many ways are there to create a controller and what are they?

I have been developing with Magento 1.9 for the last two weeks. I have found several problems to develop each project (probably because my first project with magento had a high level...). I come ...
1
vote
1answer
24 views

Magento 2.3.0 WYSIWYG editor's image not loading on frontend

we have created some category's custom attribute of WYSIWYG editor type. While we are adding image in these custom attribute's editor, they are showing/loading fine in admin section but while we are ...
0
votes
1answer
25 views

how fix invalid url in magento

Invalid base url type Trace: #0 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Store.php(620): Mage::exception('Mage_Core', 'Invalid base ur...') #1 C:\xampp\htdocs\magento\app\Mage.php(382): ...
0
votes
1answer
13 views

Product translated URL for iframe purposes

I am working on a 1.9.x version of Magento, I've just translated the products of my catalog for a PT-BR language and I was needing the products URLs in order to insert them on a iframe of a specific ...
0
votes
1answer
43 views

What is the ajax url if

help, what will be the ajax url if method is in: /app/code/core/Mage/Adminhtml/controllers/CmsBlockController.php ?
-1
votes
0answers
22 views

Load image from external url magento 2

I'm using Magento 2.3. I imported some products through api, images reside in another server for reasons of ownership .. I would like to be able to hook the images to the external url to get the ...
2
votes
1answer
23 views

In Magento 2,I can't Open Categories With New URL

If I add new URL then it's showing 404 error when it open frontend side.If it open with old URL it's working. For Ex. I have added new URL "business-card-gift-card-holders123" for category.It's ...
0
votes
0answers
32 views

How to remove /magento2/ parameter from URL?

Current URL : http://localhost/magento2/rest/V1/products/options/types I want to use without /magento2/ i.e. http://localhost/rest/V1/products/options/types I am using XAMPP server with ...
0
votes
0answers
17 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-...
0
votes
1answer
29 views

Magento 2 Duplicate Product URLs Problem

When creating products in Magento 1 the url was created from the product name, and if there were duplicate product names M1 would add a numerical suffix to the end of the URL. Since it seems this is ...
0
votes
0answers
11 views

Remove Auto-generated URL Rewrites

I've been having this issue with auto-generated URLs. The catalog/* URLs keep auto-generating the red box are the URLs that auto-generate, the green box are the URLs that I want. How do I stop the red ...
0
votes
1answer
34 views

Change Default Web URL

I want to change the url of the index page for magento 2 store. I changed the Default Web URL to "custom", but when I go to site.com/custom it gives me a 404 and the index page is still site.com/cms
1
vote
2answers
25 views

What does this pattern match when filtering strings for URLs

What exactly is this line for preg_replace('#[^0-9a-z]+#i', '-', parent::filter($string)) in the following method in \vendor\magento\framework\Filter\TranslitUrl.php: public function filter($string)...
0
votes
0answers
22 views

Magento 2 product url key saving issue

I am trying to save product url key.When i open product admin product url key is empty for some products so i am trying to place url and saving product product is saving but url key field not changing ...
1
vote
0answers
11 views

Magento 2 - “url_key” Product Attribute, force as required and unique

Is it good practice to force the "url_key" product attribute to be both "required" and "unique" by default? update eav_attribute set is_required=1,is_unique=1 where attribute_code = "url_key"; As ...
0
votes
0answers
19 views

Which url is better to use

We have a : Checkout Page Select address Order summary three different pages. Which way of representing the urls is better.But using a slash is sub directory. Can we have the url like this : ...
0
votes
1answer
25 views

Get second last url in Magento 1.9

How can we get the second last url in Magento 1.9? I currently use this: <?php echo Mage::getSingleton('core/session')->getLastUrl();?> To get the last URL. But I want to get the second ...
0
votes
2answers
46 views

Magento 2: Category URL for frontend

I have created a root category with name colors in Magento 2. I am trying to access this category by URL http://domain.com/category/colors.html in front end. But its not working for me. What will the ...
0
votes
0answers
40 views

Need to remove Currency name(ie \gdp or \usd) from url in magento

I am new to Magento 1.9 I m trying to remove currency name from url and at the same time setting canonical url
0
votes
0answers
23 views

Is it possible to generate unique URLs when using Magento\Catalog\Model\Product?

I am using Magento\Catalog\Model\Product to save products in a loop. When i have multiple products with the same name $product->setName($name) i get the following error: Fatal error: Uncaught ...
1
vote
1answer
31 views

How to get current page url in static blocks

I want to get my current page URL in one of my static blocks How do I get that?
0
votes
1answer
57 views

Google still crawls url while i disallow from robots

I will go straight to the point. Recently I did several fixes in my robots.txt file, and I've added several disallows like these: Disallow: /review/ Disallow: /catalog/product/view/ the problem is ...
0
votes
1answer
23 views

Magento 2 : Update url to domain

I'm using an Instance of Ubuntu 16.04 lts on Google to run a store, but I'd like to point to my domain. Wich line on Apache2 should I update?
0
votes
1answer
15 views

Magento Multisite links go to wrong domain

I have created a new website within my Magento (1.9.3.10) I've created a home page and got the menu visible. When you click on a Menu item, it links to my other website domain, showing a 404. I have ...
0
votes
1answer
24 views

Magento 1.9 - Layered Navigation Links Ending with ?cat= or ?brand=

I am working on URL issues for a customer of mine and they have subcategory links ending in ?cat= and ?brand=. If I'm not mistaken, this is bad for SEO and not ideal for customer user experience. I ...
0
votes
0answers
20 views

Force display currency with URL (Magento 1)

We are having issues with our international Google shopping campaigns where we our feeds are serving the prices converted to the currency for that country, ie Euros, but Google are rejecting the data ...
0
votes
1answer
14 views

Should I Index every URL to google?

I'm running a shoe store, so I have lots of attributes creating a lot of different indexable URLS's (shoe sizes, colours etc) - Should I submit all of these url's? Will it bring an SEO benefit or not
1
vote
0answers
45 views

Magento 2 Rest API get all products with certain attribute_set_id

I need to elaborate de URL that will bring all products with certain attribute_set_id through Magento 2 Rest api, and then change though the api the attribute_set_id of all those items. My problem ...
0
votes
2answers
26 views

Two Url's for one product

i have one product with two different url's https://dutchmanaxles.com/products/axle-housing-rearend-hardware/rcv-934-cv-joint-lightened.html and https://dutchmanaxles.com/rcv-934-cv-joint-lightened....
0
votes
1answer
26 views

How to add Product id after cart url on cart page in Magento 1.9

I want to add some product id after cart url on cart page the product that is added in the cart. Because i want to target that products by using omnisend extension that target by part of url. To show ...
0
votes
0answers
80 views

Remove ?___store &___from_store=default from the code url of magento 2 in multistore

'Add Shop Code to URLs' to Yes in System -> Configuration -> Web -> URL options. But show ?___store &___from_store=default. I used magento 2.25. Thanks for help.
0
votes
1answer
38 views

How to get url parameter in model

How to get url parameter : at this file app/code/Vendor/Module/Model/ResourceModel/Module/Grid/Collection.php My Url is like this http://192.168.2.215/mtheme/admin/vendor_module/index/details/id/1/ ...
1
vote
1answer
40 views

Image not responsive on home page.

I've added an image to my home page and when I preview the home page from CMS pages in the admin the image is responsive. When I click on my logo the page is then fully responsive all except the ...
0
votes
1answer
20 views

Magento 1.9: How to delete a wrong URL pointing to a product review on a different website (same server)?

I am running two independent websites on a Magento 1.9.3.9 installation. Today I discovered when searching for a product which is sold in one Magento website, that the Google search result returns a ...
0
votes
1answer
16 views

Core URL re-write table - delete URL entries for deleted products

We are on Magento Version 1.9.3.7 and have been using Magento for a few years now. When we moved our site to the live site from the development site, we deleted all the development products but looks ...
0
votes
1answer
71 views

Add new string to product url

I would like to ask if it's possible to make magento ignore a string added to a product url. For example, I have a product url: http://mywebsite.lc/product-name Is it possible that when entering: ...
0
votes
0answers
59 views

How to change contact page url in Magento 2

When we entering contact form in footer from any page it redirect only - /contact/index/ Any options such that we can submit form in footer any page without redirect to another page
0
votes
0answers
51 views

How to get or append some extra query param to url

I have added some links in top. i want get query param from url and append in to every links in top dynamically like my links are = test1, test2, test3 My mail url is = https://apcd.com When ...
0
votes
0answers
18 views

Get current category or current product and then get its url in the other store store view

Let's say we have two store views: en and de. And following example urls example.com/en/car/van example.com/de/auto/lieferwagen When we are at a category or product page how do we get the url of the ...
0
votes
0answers
75 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 ...
0
votes
1answer
169 views

Magento 2: How to check if checkout payment page

I'm looking on how to check if i'm standing at checkout payment page, which have url "fudu.magento.net/checkout/#payment" by php or by js. I was trying to use to get url, but it always return ...
0
votes
1answer
120 views

Put a trailing slash at the end of CMS URL without redirection

I would to put a trailing slash at the end of my CMS URL, but without make redirection when it's possible : I want to put this slash when the URL is build. In the BO, in CMS page, we can define url ...
1
vote
3answers
121 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?
0
votes
0answers
26 views

magento 2 product url allow slah

how can i allow slash in product seo url my slash gets changed to -. I have product abc i want url of same to be : example.com/myproducts/typeb/abc i am trying to put product url as myproducts/typeb/...
0
votes
0answers
62 views

Url uppercase converted to lowercase letter Magento 2

I installed a template and i noticed that when i use uppercase it's converted to lower case. The module name is sm mega menu and the template name is Shop4u so where to search and what to change to ...
1
vote
1answer
151 views

Magento 2 pass multiple parameters in the admin grid action url

In Magento 2.2.5, I am sending the id in the url now, But, I want send multiple parameters in the admin grid action url. I created admin grid using layout Blocks. Not used ui component. How to ...
0
votes
1answer
38 views

magento 2.2.5 turn back to home when i change store view

i've an issue on magento 2.2.5. I've created two store view it/en, when I'm on product page and change store view from it to en and vice versa, I'm redirected to the home page. Someone can help me? ...
1
vote
1answer
506 views

magento 2 redirect url with parameters from controller

I am trying to redirect to a different controller from one controller . I also want to set an Url parameter along with the redirect. But this is throwing me an error Uncaught Error: Call to ...
0
votes
2answers
32 views

Url of last order of current user

I need to implement a link which redirects to the url of the last order of the current user How do I do that ? I have a code that load the last order, but I need to get the URL $orders = $...
1
vote
0answers
46 views

Magento get product link using V1 API

$storeUrl."/index.php/rest/V1/products?searchCriteria[page_size]=200&searchCriteria[currentPage]=1" It returns products list but I want to get each product link. How it is possible?