Removing site-Parameter and ID from URL
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Removing site-Parameter and ID from URL
I am using Laravel Framework Version 7.30.4 with php 7.4 and Aimeos 2021.07 on an Windows Environment.
The URL from one of my articles looks like this: "https://my-shop/en/shop/my-article/0?site=default".
Is it possible to remove the "site"-Parameter from the URL if I only have one shop and don't really need it? I am also thinking about ways to remove the ID from the URL if the article name is unique, so that URLs can be simple and readable like "https://my-shop/en/shop/my-article".
Thank you!
The URL from one of my articles looks like this: "https://my-shop/en/shop/my-article/0?site=default".
Is it possible to remove the "site"-Parameter from the URL if I only have one shop and don't really need it? I am also thinking about ways to remove the ID from the URL if the article name is unique, so that URLs can be simple and readable like "https://my-shop/en/shop/my-article".
Thank you!
Re: Removing site-Parameter and ID from URL
In 2020.10 LTS, the site parameter will be added only if necessary as far as I remember.
The position can be disable if you remove the subpart for prev/next navigation in detail view so the following configuration setting only consists of an empty array in your ./config/shop.php:
https://aimeos.org/docs/latest/config/c ... subparts_1
The position can be disable if you remove the subpart for prev/next navigation in detail view so the following configuration setting only consists of an empty array in your ./config/shop.php:
https://aimeos.org/docs/latest/config/c ... subparts_1
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star