Hey guys, I've offered to hire the dev to update this great mod... but no response (on any comments from anyone for a quite a while)... I need this done so i can launch, I don't want to index my site URL's with Caps.
Can anyone help add the "strtolower" code to this extension, please?
Details: If Your Product Titles Use Caps, then the generated URL's also use Caps... Caps don't belong in any http scenario, ever... I simply need to force lowercase on the URL's it generates... I just don't know enough to implement the "strtolower" code properly. :/
Can someone help me out? This is a great extension, but the Caps thing is a big oversight... PM me!
Can anyone help add the "strtolower" code to this extension, please?
Details: If Your Product Titles Use Caps, then the generated URL's also use Caps... Caps don't belong in any http scenario, ever... I simply need to force lowercase on the URL's it generates... I just don't know enough to implement the "strtolower" code properly. :/
Can someone help me out? This is a great extension, but the Caps thing is a big oversight... PM me!
Attachments
https://www.opencart.com/index.php?route=extension/extension/info&extension_id=6348
replace
Code: Select all
return $url_data['scheme'].'://'.$url_data['host'].(isset($url_data['port']) ? ':'.$url_data['port'] : '').str_replace('/index.php', '', $url_data['path']).( $this->languageSlugInUrl ? '/'.$this->config->get('config_language') : '').rtrim($url,'/').(rtrim($url,'/') == '' ? '' : $this->_url_ext).$query;
Code: Select all
return utf8_strtolower($url_data['scheme'].'://'.$url_data['host'].(isset($url_data['port']) ? ':'.$url_data['port'] : '').str_replace('/index.php', '', $url_data['path']).( $this->languageSlugInUrl ? '/'.$this->config->get('config_language') : '').rtrim($url,'/').(rtrim($url,'/') == '' ? '' : $this->_url_ext).$query);
Thanks man, that's perfect!
I've researched a bunch of URL rewrite mods and this one is quite smart (for a free extension)... for example, you can remove a character from the URL and it will still find the page... it lets you remove the category in the Canonical link... and it applies itself to Canonical links, sitemap, everything... mixed with the "OpenCart SEO Link De-duplicator" redirect script, this will actually UPDATE the visible broken URL to the correct address in the URL bar.
That's some pretty nifty stuff for an SEO extension... it deserves this little update.
Thanks for taking the time @chulcha
I've researched a bunch of URL rewrite mods and this one is quite smart (for a free extension)... for example, you can remove a character from the URL and it will still find the page... it lets you remove the category in the Canonical link... and it applies itself to Canonical links, sitemap, everything... mixed with the "OpenCart SEO Link De-duplicator" redirect script, this will actually UPDATE the visible broken URL to the correct address in the URL bar.
That's some pretty nifty stuff for an SEO extension... it deserves this little update.
Thanks for taking the time @chulcha
how can i achieve below url structure in this extension. The word "categories" before each category name and a trailing slash at the end.
http://www.indiabazaaronline.com/categories/sarees/
http://www.indiabazaaronline.com/catego ... id-sarees/
http://www.indiabazaaronline.com/catego ... nga-choli/
http://www.indiabazaaronline.com/categories/sarees/
http://www.indiabazaaronline.com/catego ... id-sarees/
http://www.indiabazaaronline.com/catego ... nga-choli/
I am using this extension as well and works nicely on my opencart 2.0.3.1 store but have some little issues and just seeing if anyone knows the answer, sorry know this is for 1.5 versions of opencart but just seeing if anyone would be able to help
1) My blog url has stopped working since I put this extension in, the url is https://www.it-doneright.co.uk/shop/blog but now when I click on it, it says the page you requested cannot be found
2) Can the contact link be changed from https://www.it-doneright.co.uk/shop/information/contact to https://www.it-doneright.co.uk/shop/contact
3) Can the category id be removed from the url https://www.it-doneright.co.uk/shop/accessories-c1458 so it becomes https://www.it-doneright.co.uk/shop/accessories
4) Can the product id be removed from the url https://www.it-doneright.co.uk/shop/ezv ... 23191c1458 so it becomes https://www.it-doneright.co.uk/shop/ezv ... 3s-cameras
1) My blog url has stopped working since I put this extension in, the url is https://www.it-doneright.co.uk/shop/blog but now when I click on it, it says the page you requested cannot be found
2) Can the contact link be changed from https://www.it-doneright.co.uk/shop/information/contact to https://www.it-doneright.co.uk/shop/contact
3) Can the category id be removed from the url https://www.it-doneright.co.uk/shop/accessories-c1458 so it becomes https://www.it-doneright.co.uk/shop/accessories
4) Can the product id be removed from the url https://www.it-doneright.co.uk/shop/ezv ... 23191c1458 so it becomes https://www.it-doneright.co.uk/shop/ezv ... 3s-cameras
Unfortunately, this Extension will kill any Server sooner or later, since it
does not delete outdated Data. I got informed by my Hoster about this:
That's a lot of links, probably someday putting a site out of order ...
Just to have it mentioned, it would be a great Mod, if it would work right.
Ernie
does not delete outdated Data. I got informed by my Hoster about this:
Code: Select all
jacob_ch/www/.../shop/system/cache - 120'442 Files
jacob_ch/www/.../shop/system/cache - 37'559 Files
jacob_ch/www/.../shop/system/cache - 20'506 Files
Just to have it mentioned, it would be a great Mod, if it would work right.
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 32 guests