Are there any specific best practices or guidelines to follow when implementing article numbers in URLs for products on a website?

When implementing article numbers in URLs for products on a website, it is important to ensure that the article numbers are unique and easily identifiable. One common best practice is to include the article number at the end of the URL after a forward slash, following a consistent format. This helps improve SEO and makes it easier for users to navigate to specific products.

// Example of implementing article numbers in URLs for products
$product_id = 123; // Replace with actual product ID
$product_name = "example-product"; // Replace with actual product name
$article_number = "ART-123"; // Replace with actual article number

$url = "https://www.example.com/products/{$product_name}/{$article_number}/";
echo $url;