Magento 2: Change the “URL Key” and save the category “The value specified in the URL Key field would generate a URL that already exists.”

When change the “URL Key” and save the category then throw the below error.

This store Migrate Magento 1.9 to Magento 2.3.5 and used multi store view.

Error:

The value specified in the URL Key field would generate a URL that already exists.
To resolve this conflict, you can either change the value of the URL Key field (located in the Search Engine Optimization section) to a unique value, or change the Request Path fields in all locations listed below:

- fitness-equipment/strength/kettlebells.html

- fitness-equipment/strength/dumbbells.html

- fitness-equipment/strongman/hammer.html

I have try below solution but not fixed the issue:

Solution 1)

    - Truncate the url_rewrite table. 
    - Generate category url via https://github.com/olegkoval/magento2-regenerate_url_rewrites module
    - use command for genrate the category url: php bin/magento ok:urlrewrites:regenerate --entity-type=category

Solution 2)

https://magento.stackexchange.com/questions/259845/migration-tool-causing-url-rewrite-duplicates-in-magento-2-leading-to-missing-ca

Solution 3)

- Install module for remove duplicate: https://github.com/cadencelabs/urldedup
    - Generate category url via https://github.com/olegkoval/magento2-regenerate_url_rewrites module
- use command for genrate the category url: php bin/magento ok:urlrewrites:regenerate --entity-type=category

Solution 4)

- When save edit "URL Key" and save the category then show the error list url.
- I have open that all error url in separate window and delete it.
- Then Generate category url via https://github.com/olegkoval/magento2-regenerate_url_rewrites module
- use command for genrate the category url: php bin/magento ok:urlrewrites:regenerate --entity-type=category

But still getting same error after implement above four solution. If any have idea about this critical issue then let me know.

Any help would be appreciated. Thanks!
enter image description here

How to add DRM to a Live-Streaming URL?

I want to add DRM to a Live-Streaming URL. I have setup a Live Streaming with NGINX in a EC2 instance. So is it possible to add DRM to the Live Streaming ? If anyone have any suggestion please suggest.

url rewriting – Access files at new location using old file paths

I have a bunch of posts that contain images with urls that follow this pattern:

https://example.com/example_directory/files/2019/04/file.png

I’ve imported the posts into a new install of wordpress on the same domain with file structure where the files now reside at

https://example.com/new_directory/2019/04/file.png

Because “example_directory” is now a category slug, I cannot simply update the new directory structure to mirror the old one.

How can I make the files inside new_directory appear when my browser tries to visit urls at directory/files?

android – Como podria hacer un Get Random para sacar imagenes de una URL

Estoy haciendo una app y quiero que en uno de los Fragment tenga un ImageView y que la imagen sea sacada de una URL que conecta a mi VPS. Me gustaría que me digan como puedo sacar una URL random de la carpeta img de la URL https://imagerandom.com/img(Esa URL es de ejemplo) y proyectarla en el ImageView

Which URL shorterner can post on FB without get ban?

I been using lots of url shortner never spam but easily get blacklisted on FB thus get temp ban post in group

I got site , one section the url is long because is link with affiliate redirect

I do post my site url that long url , but find it too long

redirects – redirecting from www url to non-www url in Google Firebase static hosting

I am using Google Firebase static hosting.

When a user types and enters www.example.com, I want the address to change to example.com and show the user content of example.com.

How can this be achieved? E.g. In Firebase, can I say that I want that subdomain to be redirected there? I don’t think there is a .htaccess file.

Note:

Answers to this question that advise on dns seems to be only one part of the solution. I talked with my domain name and dns manager (Hostinger) tech support, and they insist that there are things to be done on Firebase.

Can I use Google Analytics on URL shortener redirects powered by PHP?

I have a short URL website like Bitly which currently redirect users with PHP from my site to a site of their choice. I want to add Google Analytics to the redirect pages but I am stuck on the problem where Javascript is run after the PHP code is executed so it wont work.

Bellow is the last part of the PHP code that redirects users from the short URL to the URL they shortend. I wonder if there is anyway to make this work OR change my code somehow so that Google Analytics can be executed either with PHP or something else that can do the “redirection”?

$shortUrlObj contains the short url code. If the short url is https://example.com/1234 $shortUrlObj contains 1234. fullUrl is the website destination they choose to shorten. So if the user shortened https://stackexchange.com, fullUrl contains https://stackexchange.com

switch ($redirect)
{
    default:
        header('HTTP/1.1 302 Moved Temporarily');
        redirect($shortUrlObj->fullUrl);
        break;
}

plugins – How to show affiliate URL on mouse hover on add to cart button?

I have an amazon affiliate website. I want to show the affiliate URL i.e the product URL when hover on the ” add to cart button”. I am using Hello theme and elementor pro and for affiliate, I am using the woozone plugin to import products from Amazon.

Please see the image below;enter image description here

sync – Best way to share Shortcut to File stored in SharePoint – Can’t access URL in File Explorer without Opening IE First

I’m trying to find ways to share a shortcut to a file (Excel Add-In) I have stored in MS Teams/Sharepoint.

So far I’ve gotten it to work via “Sync/Shortcut” and by opening the files in explorer and creating a shortcut then copying it.

I looked into opening files via “File Explorer” without using a shortcut/sync feature by using “Classic Mode” in IE to open files, but I noticed that FE wasn’t able to get back to the FE URL unless the user has first opened it via IE and even then, it must be done each restart of the computer! So, that method seems out unless somebody knows a fix for that.

I tried using:

start "" "%systemroot%explorer.exe" "\domain.sharepoint.com@SSLDavWWWRootsites..."

and

"%systemroot%explorer.exe" "\domain.sharepoint.com@SSLDavWWWRootsites..."

Today I resigned to at least get it working, and setup instructions on how to use “Sync” which is the reccomended method by microsoft, but then I found when I tried to hyperlink the “deploy” script, that MS Word doesn’t allow Environment Variables (%USERPROFILE%Sharepoint...) inside Hyperlinks in a word document!

Now I’m wondering if there is a way I can prevent users from accessing/downloading files unless access via “Sync”, but I don’t like how “Sync” doesn’t make a shortcut under File Explorers “One Drive”.

I see now that if I add a shortcut AFTER sync, it won’t place a shortcut under “One Drive” in FE, but I’m wondering if I add a shortcut, then sync, do I get the benefits of Sync and it’s under File Explorer? Note: I just tried to sync after shortcut and it says “You’re already syncing a shortcut tot a folder from this shared library”.

https://support.microsoft.com/en-us/office/add-shortcuts-to-shared-folders-in-onedrive-for-work-or-school-d66b1347-99b7-4470-9360-ffc048d35a33#:~:text=If%20you%20add%20a%20shortcut,general%20availability%20in%20September%202020.

As it stands now, I think I’ll direct users to hit “Add a Shortcut”, then navigate via “File Explorer” as I can’t use Hyperlinks still to reference “One Drive” in the MS Word document that details this process and then create the shortcut/run the deploy script.

Does anybody have suggestions on a best approach for this?

See https://superuser.com/questions/1434775/hyperlink-to-a-file-using-the-current-user