In any case, I hacked the CRE Loaded SEO URLs to generate what I determined was a better-looking replacement character for special characters and spaces. I have seen dashes, pluses, and some really bad choices. But I chose the period. So here is a sample URL for my store:
Notice that there are three periods in a row where there used to be an Ampersand.
So did I do a bad thing? I guess my URLs are somewhat unique, but I don't think it should be too far-out. What can we do? Will my old URLs be 404 errors?
And yes, I can't stand the stupidity of the CRE Loaded version of what they call SEO URLs. They are terrible, and any simpleton will see that they generate many different URLs for the same product for no apparent reason. It's aggravating.
Code: Select all
# OLD-LINE $space_replacement = '-'; // this is done for backward compatibility...
$space_replacement = '.'; // this is done for backward compatibility...
Code: Select all
$original = array('%', ':', '/', '?', '#', '[', ']', '@', '!', '$', '&', "'", '(', ')', '*', '+', ','. ';', '=');
#OLD-LINE $entities = array('%25', '%3A', '%2F', '%3F', '%23', '%5B', '%5D', '%40', '%21', '%24', '%26', '%27', '%28', '%29', '%2A', '%2B', '%2C', '%3B', '%3D');
$entities = array('.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.');
I guess my method is not a two-way street, since all characters get the same replacement. But I like it and it seems to work. But I really hate URLs with percent-hacks for all of those characters. It looks pretty stupid to me, since these URLs can be in fact anything I want them to be. I am pretty hacked off that there are still SEO URLs that end in "product_info.html" for no rhyme or reason except to pretend that they are like a website from 1996. But at least it is better than the osC way!!
Who is online
Users browsing this forum: No registered users and 0 guests