- Posts: 86255
- Thank you received: 14236
SEF unknown characters added to url.
12 years 1 month ago #168225
by nicolas
SEF unknown characters added to url. was created by nicolas
Hi,
The p is added because your product alias (or name if the alias is empty) starts with a number and because of that the system would display the product with the id 80 instead of the product with the alias/name 80cc-piston. Adding the p in there makes sure that this doesn't happen. So make sure that the alias doesn't start with a number and it will be ok.
An alternative would be to turn off the "remove products and categories ids from URLs" option of the HikaShop configuration. Then, you can have aliases starting with numbers as it is prefixed with the id of the product so that the system can display the product page regardless of what you put in the alias.
The p is added because your product alias (or name if the alias is empty) starts with a number and because of that the system would display the product with the id 80 instead of the product with the alias/name 80cc-piston. Adding the p in there makes sure that this doesn't happen. So make sure that the alias doesn't start with a number and it will be ok.
An alternative would be to turn off the "remove products and categories ids from URLs" option of the HikaShop configuration. Then, you can have aliases starting with numbers as it is prefixed with the id of the product so that the system can display the product page regardless of what you put in the alias.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 104
- Thank you received: 2
11 years 3 months ago #204132
by SnoozeULooze.co.za
Replied by SnoozeULooze.co.za on topic SEF unknown characters added to url.
Hi Nicolas
I don't mind the "p" that is added by the SEF but 90% of my products are giving a "Product not found" message now because of this.
My question is this I know I can open each product and add p to the alias which fixes the problem, but is there any way I can add "p" to all aliases starting with a number simultaneously, also just a suggestion would it not be better if you had the system add this automatically once SEF is activated.
Thanks
I don't mind the "p" that is added by the SEF but 90% of my products are giving a "Product not found" message now because of this.
My question is this I know I can open each product and add p to the alias which fixes the problem, but is there any way I can add "p" to all aliases starting with a number simultaneously, also just a suggestion would it not be better if you had the system add this automatically once SEF is activated.
Thanks
Please Log in or Create an account to join the conversation.
11 years 3 months ago #207510
by Xavier
Replied by Xavier on topic SEF unknown characters added to url.
Hi,
You have the product not found error potentially because you have enabled "Force canonical URLs on listings" option in Configuration > Features > SEF urls options, so you can potentially disable this option, or reset all the canonical urls thanks to the mass actions and then set the previous option to "Use canonical urls if specified and generate it if missing".
This way when browsing through your website, the canonical urls will be automatically generated.
You have the product not found error potentially because you have enabled "Force canonical URLs on listings" option in Configuration > Features > SEF urls options, so you can potentially disable this option, or reset all the canonical urls thanks to the mass actions and then set the previous option to "Use canonical urls if specified and generate it if missing".
This way when browsing through your website, the canonical urls will be automatically generated.
The following user(s) said Thank You: SnoozeULooze.co.za
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 104
- Thank you received: 2
11 years 2 months ago #208296
by SnoozeULooze.co.za
Replied by SnoozeULooze.co.za on topic SEF unknown characters added to url.
Hi Xavier
Thank you, for the help.
What would I need to do to reset the cononical urls using mass actions, how do I create this mass action
Thank you, for the help.
What would I need to do to reset the cononical urls using mass actions, how do I create this mass action
Please Log in or Create an account to join the conversation.
11 years 2 months ago #208326
by nicolas
Replied by nicolas on topic SEF unknown characters added to url.
Hi,
You can click on the "new" button of the System>Mass actions menu and create and process a mass action configured like this:
take.ms/wHjUJ
You can click on the "new" button of the System>Mass actions menu and create and process a mass action configured like this:
take.ms/wHjUJ
Please Log in or Create an account to join the conversation.
Time to create page: 0.201 seconds