Jump to content

[SOLVED] Frendly URL not regenerate after classes/Tools.php change


Recommended Posts

Hello,

 

update PS from 1.4 to 1.5.4.1

Friendly URL - yes

Accented URL - no

Automatically redirect to the canonical URL - yes

Disable apache multiviews - no

Disable apache mod security - no

 

I add some whitelist accents to classes/tools.php file, because during csv import PS removed special characters in frendly url. Please take a look to forge link http://forge.prestas...anel#issue-tabs

So now during csv import all accents replacing as i want, but how regenerate frendly url of my all catalog present products?

 

i find only one solution: in BO product seo section, press "generate" button (it working). But how to do it mass?

 

I tried:

1. turn off "Friendly URL"

2. delete htaccess file

3. turn on "Friendly URL" (htaccess generate new)

4. Generated same frendly urls with deleted accents

 

So during generarion PS didnt check updated tools.php file?

in database field, links are with deleted accents.

 

Dont image how to sort it asap, because now ~80% links redirect to 404 page and google report this issues to me.

 

UPDATE:

Just reimport csv with two columns "ID" and emty field "frendly url". All products frendly url was renewed. Issue solved.

Edited by navaras (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...