magento2 – Automatic URLs generated by magento 2 has missing characters

At magento 1 for example, if my category name is “Armação”, the url automatically generated for this category is “armacao”. The magento 1 automatically did it for special characters.

In magento 2 I dont know how to use it. There is a configuration to do it or magento 2 not support it?
Magento 2 example:
Category: Armação
Link after save: arma-o

I have this problem with all magento 2(v2.3.5) links. Please help me to solve this problem!

enter image description here

8 – Migrate Multiple URLs from a Spreadsheet into ONE Link Field

I’m trying to migrate from Google Sheets into Drupal 8.9+. I have successfully configured most of the migration, but am having trouble migrating two source link fields (Event URL & Ticketing URL) into ONE multi-value links field (field_links) in my target node. I’m trying to shape all the source data in my Google Sheet so I don’t have to use custom process plugins.

Here’s a link to an example of the Google Spreadsheet I’m using as the source.

I found this Github Gist that led me to believe I could shape the two url fields I have in Google sheets into an array, and have that array be processed by the iterator (now, sub_process) plugin. So I now have a source column called “LinksArray” that merges the data from my “Event URL” and “Ticking URL” columns to create an array that looks exactly like this:

(
  ('title' => 'Event URL', 'uri' => 'https://coolvenue.com/etc'),
  ('title' => 'Ticketing URL', 'uri' => 'https://tickets.com/etc'),
);

And the relevant migration file looks like this:

...

    - name: src_links_array
      label: "LinksArray"
      selector: linksarray
...

  field_links:
    - plugin: skip_on_empty
      method: process
      source: src_links_array
      message: 'field_links is empty. Skipping.'
    - plugin: sub_process
      process:
        title: title
        uri: uri

When I run the migration, It appears to be successful, with no errors, but the content created is missing the links altogether (no titles, no uri’s, nothing), so is obviously not working. I tried reformatting the array with and without outer brackets, with and without trailing commas, etc. Nothing works. Is my manually created array being written incorrectly? Do I need to create the array inside the migration instead? If so, I’d greatly appreciate help with that. Thank you!

Encoding spaces in urls for SEO when hyphens are already present in text

From my research it seems that hyphen – chars are the preferred word breakers in urls in respect to SEO.

I’d like to use text in my urls for both SEO purposes and for functionality, consuming the text directly without requiring a database lookup using an id. In my case some of the text already contains hyphens so I’m wondering what is the best way for handling these in respect to SEO / conventions / readability.

For example I have the following text place name: “Boyd-Wilson Knob, Wellington”

Would it be best to encode the hyphen in the url:

/map/@-43.273331,171.960411,z12/pin/Boyd%2DWilson-Knob,-Wellington

Double hyphenate:

/map/@-43.273331,171.960411,z12/pin/Boyd–Wilson-Knob,-Wellington

Use + chars for spaces instead:

/map/@-43.273331,171.960411,z12/pin/Boyd-Wilson+Knob,+Wellington
(I feel + chars aren’t as human readable and might not be interpreted as word breakers by all search engines)

Just use standard encoding as it might be safer:

/map/@-43.273331,171.960411,z12/pin/Boyd-Wilson%20Knob%2C%20Wellington

Or use some other technique?

How to perfectly wipe a duplicated project (statistics & URLs & emails) in GSA SER ?

I wanted to duplicate an already used project and couldn’t find out how to clear everything in the new copy. To delete the URL cache, the URL history and the accounts is not enough. The statistics (Submitted/Verified) for example keep the data from the original project. I’m sure there is some more data kept in the background too. Who can help please?

How to automatically convert some text into url’s?

i’m wondering is in Google Docs possibility to automatically convert some text into url’s?

For example, i’d like to convert all words "Google" into Google

Google Docs: How to automatically convert some text into url’s?

i’m wondering is in Google Docs possibility to automatically convert some text into url’s?
For example, i’d like to convert all words "Google" into Google

thanks in advance!

how to stop htaccess rewrite rule from rewriting all urls

i am having a mod rewrite problem and i am new to htaccess not because i tried to do a mod_rewrite and link i try to open assumes that i am in profile.php
heres my code

FOR HTACCESS

 ErrorDocument 404 /404,/
RewriteEngine On
RewriteRule ^((a-zA-Z-9_-)+)$ profile.php?username=$1
RewriteRule ^((a-zA-Z-9_-)+)/$ profile.php?username=$1

I just wanted localhost/qwerty to display profile.php anything else should show the normal page and if it does not exists it shows a 404 error

FOR PROFILE.PHP

    <!DOCTYPE html>
<html>
<head> 
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" href="style.css"/> <title class="notranslate">Ny rocks</title>
    <script type="text/javascript" src="jquery.js"></script>
    </head>
    <body>
        profile.php             
    </body>
</html>
     <?php
    $conn=mysqli_connect("localhost","root","","databasename");
    if(!$conn){
        
        die("connection failed". mysqli_connect_error());
    }
           if(!isset($_GET('username'))){
                    header("location:./login,/?error=true");
                }else{   
         $username = $_GET('username');
      $quer="SELECT * FROM users WHERE username='$username'";
    $result=$conn->query($quer);
    if(!$row=$result->fetch_assoc()){
       echo 'user does not exist';
    }else{
        echo 'user exists';
    }
    
    } ?>

NOW MY FILE TREE

                                               htdocs(xampp)
                                                   |
 =======================================================================================
 |         |          |              |                       |                         |
login,    404,     style.css      profile.php              index.php               .htacccess

Now the problem is that none of the style sheets (or the javascript files) load , all the pages on http://localhost are now assumed to be profile.php, and in profile.php $_get(‘username’) displays ‘profile.php’ instead of ‘user123’
Just to be clear i want it that if http://localhost/login, is the url then login, loads(i even added a comma at the end of login to make the .htaccess not to look at login as a username, but that doesn’t work),

i have cleared my cache so many time but it doesn’t work

Even when i go to http://localhost/ it shows profile.php

Is it possible to set the Plesk default certificate as a Let’s Encrypt wildcard cert which can also be used for preview URLs?

I can add a wildcard cert to a domain, but how do I get it to show up in the “Server Pool” under Tools & Settings > SSL/TLS Certificates?

I’ve looked through the psa database and file structure and I can’t seem to figure out what makes a certificate part of the “Server Pool” vs belonging to a domain.

If I managed to get it to show up there could I set it as the default cert and therefore automatically make all my preview URLs secure?

This would make preview URLs REALLY useful for my workflow.

Thanks!

Are long URLs bad for SEO?

Are long URLs bad for SEO?

htaccess – Remove PHP extension from URLs such that the URLs work with or without a trailing slash

My directory structure is

- Assets
- Dashboard
   - index.php
   - account.php
index.php
about.php
verify.php

What I basically want it to be:

  1. Remove the .php extension for example http://example.org/about.php should be http://example.org/about/ (including the trailing slash as well)
  2. If .php is encountered in the URL redirect it back to http://example.org/about/

The relevant portions of my .htaccess file looks like this

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^((^.)+)$ $1.php (L)

I’m running it on localhost XAMPP web server.

The works fine but when it encounters the trailing slash it gives me a 404.