Title should have been: "Friendly URLs in 3.6 using dashes rather than UNDERSCOREs"
I want to generate fURLs using dashes instead of underscores for SEO. I saw that a solution to this for 3.5 was offered up to Dani from Ned back in Sept. 2008.
Anybody have the solution for 3.6?
I looked at .../includes/friendly_functions.php where I found a couple of line that should have done the trick (140 and 149), but making the change didn't seem to do the trick.
Last modified: 7 Apr 2009 11:49 PM
Ned
8 Apr 2009 8:15 AM
I havnt tried it but substitute "-" for "_" in 129, the line is:
$friendly_url = preg_replace("/[\s\.]+/", "_", friendly_url};
HTH
Last modified: 8 Apr 2009 8:15 AM
Pooka
8 Apr 2009 10:24 PM
Thanks. We were both right. The actual line number is 140 and the change does work. Now to write that SQL to change the existing products' fURLs.