You are here:  » Special characters in URL product page

Active Forum Topics

Special characters in URL product page

Submitted by eriknielsen on Thu, 2019-02-07 10:41 in

Hi David,

I have some trouble with special characters in the product URL:s. Mainly use Swedish products and the letters å ä ö are common. Read the similar post here and tried your provided solution - without luck unfortunately. With the provided fix i get a rewrite from å ä ö to ? in the URL. What i want is the following.

å > a
ä > a
ö > o

Any ideas how to modify the solution to fit my needs?

Best regards.

Submitted by support on Thu, 2019-02-07 11:37

Hi and welcome to the forum!

Using the iconv method from node 542 this should be resolved by setting the locale prior to the call to iconv e.g.

    $text = iconv("UTF-8","ASCII//TRANSLIT",$text);

I've updated the replacements for the Price Tapestry installation includes/tapestry.php and plugin pto_common.php in node 542 to include the setlocal() call. After adding the lines re-import all feeds again and that should do the trick...


Submitted by eriknielsen on Thu, 2019-02-07 12:06


Thanks David, it worked like a charm.

Best regards.