Page 1 of 1

[CRE Loaded] Hacked CRE Loaded SEO URLs

Posted: Mon Dec 22, 2008 8:49 pm
by uruiamme
I use CRE Loaded, and I installed SEO URLs on it. Back then, your product did not go deep enough for one of my websites, so I never tried it.

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:

http://www.example.com/Parts...Supplies/c3/p22/100.Disc.Set.for.kids/product_info.html

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.

Re: [CRE Loaded] Hacked CRE Loaded SEO URLs

Posted: Tue Dec 23, 2008 6:57 am
by inveo
If you place your old Rewrite Rules to newly generated .htaccess file, all you old URLs will be redirected to new locations automatically by Magic SEO URL.

Re: [CRE Loaded] Hacked CRE Loaded SEO URLs

Posted: Tue Dec 23, 2008 1:35 pm
by uruiamme
I guess that will work, although my hack didn't include any changes to the .htaccess, I don't think. Looking back, here are the relevant lines I edited in the seo.php file:

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!!

Cart  
(empty)

Cart Check out  »

Prices are tax inclusive.

The VAT rate for your country (US) * is 0,0 % because it is not a member of the European Union (EU).

* Please create an account if your country does not match.

Community feed
  • [Zen Cart] Can't execute Magic SEO URLs sitemaps
    I installed Magic SEO URLs Sitemaps Add-On for ZenCart MSU4.x/MSU5.x 2.0 on my server, when I try to generate sitemaps using: https://www.pechesudv155.owally.com/sitemaps.php I received :...
    by peter@pechesud.com
  • [phpBB3] Sharing users between phpBB / PrestaShop
    Hi i have 2 question 1- prestashop module support phpBB 3.3 ? 2- why we can not login in prestashop and phpbb with same user?
    by zohall
  • [phpBB3] AJAX Userinfo Extension
    Hi! I'm having trouble with this extension: https://www.phpbb.com/customise/db/exte ... _userinfo/ I tried asking support from the author but for no avail, since now. My request for support...
    by Lord Phobos
  • [phpBB3] Upgrade to phpBB 3.2.3
    Hello.. after Upgrade to phpBB 3.2.3 I am getting this message.. How can I solve this issue..? Thank you
    by ingbrzy
  • [phpBB3] URL path changed
    Hello.. I have changed my site path after moving to new hosting and now can not activate SEO module.. new path http://www.miuios.cz/domains/miuios.cz/ could you help me? thank you
    by ingbrzy2
Join our support forum » Pre-Sales Questions »
Featured Testimonials

I installed the WordPress Accelerator plugin! Great result! I'm really satisfied!

Benoit, the owner of World Else

I normally don't give product testimonials, but your product works so well that I just can't keep quiet about it. I am a web designer and SEO, over the years I've worked with my different shopping carts and one of their biggest weaknesses is bad SEO of the cart link structure, in particular duplicate content issues through out most carts....

Kinnaert, the owner of Arnolds Office Furniture

More Testimonials »