Hello
I've just downloaded the 'change_index_php_route.xml' file provided by fullphat. When I've tested my shop I've spotted a small bug: 'account/return/insert' & 'account/return' are two different destinations but they will be both renamed with: 'returns' that means that customers can't access the 'view your return repuests' page when they're logged in be directed to the 'returns request' page. I've changed the 'account/returns' SEO URL to 'returned' and it's working properly. Thanks to Ahnung & fullphat and there is the fixed file for download:
I've just downloaded the 'change_index_php_route.xml' file provided by fullphat. When I've tested my shop I've spotted a small bug: 'account/return/insert' & 'account/return' are two different destinations but they will be both renamed with: 'returns' that means that customers can't access the 'view your return repuests' page when they're logged in be directed to the 'returns request' page. I've changed the 'account/returns' SEO URL to 'returned' and it's working properly. Thanks to Ahnung & fullphat and there is the fixed file for download:
This is a great little mod, and I've done a bit of debugging to fix the outstanding issue:
Replace
with
I have also added some more urls to fix on the account page:
I hope this helps someone.
Cheers,
Allen
Replace
Code: Select all
} elseif (isset($data['route']) && $data['route'] == 'account/order') {
Code: Select all
} elseif (isset($data['route']) && $data['route'] == 'account/order' && $key != 'order_id') {
Code: Select all
} elseif ($this->request->get['_route_'] == 'your-reward') {
$this->request->get['route'] = 'account/reward';
} elseif ($this->request->get['_route_'] == 'address-book') {
$this->request->get['route'] = 'account/address';
} elseif ($this->request->get['_route_'] == 'password') {
$this->request->get['route'] = 'account/edit';
} elseif ($this->request->get['_route_'] == 'account-edit') {
$this->request->get['route'] = 'account/password';
Cheers,
Allen
Guys has anyone tried this mod on v1.5.6?
I have the file in my XML folder in VQMOD, I have my SEO URL turned on, my htaccess renamed.
In fact the SEO URLs for my products work fine.
But after adding this mod, none of my pages (index,account,checkout etc..) have changed URLs. Am I missing something? or this mod must be modified for v1.5.6?
Cheers
I have the file in my XML folder in VQMOD, I have my SEO URL turned on, my htaccess renamed.
In fact the SEO URLs for my products work fine.
But after adding this mod, none of my pages (index,account,checkout etc..) have changed URLs. Am I missing something? or this mod must be modified for v1.5.6?
Cheers
[quote="But after adding this mod, none of my pages (index,account,checkout etc..) have changed URLs. Am I missing something? [/quote]
Have the same question about those pages. Only the products URLS have changed.
Help is appreciated. Thanks.
Have the same question about those pages. Only the products URLS have changed.
Help is appreciated. Thanks.
Apologies for digging up an oldish thread, but thought my question could assist others looking for the same solutions.
I've got it working fine, and it's a grand job but I need it to also fix other pages.
The main one at the moment is the compare page located @ index.php?route=product/compare
If anyone can help that would be grand.
I've got it working fine, and it's a grand job but I need it to also fix other pages.
The main one at the moment is the compare page located @ index.php?route=product/compare
If anyone can help that would be grand.
Hi guys,
I have an issue with ordr history -> reorder
} elseif ($this->request->get['_route_'] == 'order-history') {
$this->request->get['route'] = 'account/order';
} elseif (isset($data['route']) && $data['route'] == 'account/') {
$url .= '/order-history';
works fine, but if I want to reorder my previous order, I get Page not found
Could you fix it?
I have an issue with ordr history -> reorder
} elseif ($this->request->get['_route_'] == 'order-history') {
$this->request->get['route'] = 'account/order';
} elseif (isset($data['route']) && $data['route'] == 'account/') {
$url .= '/order-history';
works fine, but if I want to reorder my previous order, I get Page not found
Could you fix it?
Hey guys!
This xml file worked great for changing the My Account, Wishlist, Shopping Cart, Checkout, bla, bla, bla links; however, when I tested them, they all took me to "page not found"! In addition, WITHOUT this xml file, my logo on the home page takes me to a 'page not found', but with this xml file, it's normal.
I have followed ALL the instructions on:
http://www.nixstudio.com/seo-friendly-url-opencart/
All my category and product pages are SEO Friendly, but not these core files!
Can someone please tell me (and others with this problem) how to fix this? Is there an updated change_index_php_route.xml file that corrects this?
If there's no fix, how can I at least correct the link on my logo?
thanks!!!
This xml file worked great for changing the My Account, Wishlist, Shopping Cart, Checkout, bla, bla, bla links; however, when I tested them, they all took me to "page not found"! In addition, WITHOUT this xml file, my logo on the home page takes me to a 'page not found', but with this xml file, it's normal.
I have followed ALL the instructions on:
http://www.nixstudio.com/seo-friendly-url-opencart/
All my category and product pages are SEO Friendly, but not these core files!
Can someone please tell me (and others with this problem) how to fix this? Is there an updated change_index_php_route.xml file that corrects this?
If there's no fix, how can I at least correct the link on my logo?
thanks!!!
The change_index_php_route.xml files provided are excellent - but does anyone have a complete working file for Opencart 2.x?
I have NO FREAKIN IDEA as to why this wouldn't be a standard option in OC admin (assume it is for extension $$$ - though why would you hurt the mother product this much for so little gain?). I have wasted hours trying to solve it properly.
Help would be greatly appreciated - for OpenCart 2.x
I have NO FREAKIN IDEA as to why this wouldn't be a standard option in OC admin (assume it is for extension $$$ - though why would you hurt the mother product this much for so little gain?). I have wasted hours trying to solve it properly.
Help would be greatly appreciated - for OpenCart 2.x
here is extension for 2.3 (tested on 2.3.0.2)
Guntis
Partneris.lv - opencart web site development and support
Who is online
Users browsing this forum: No registered users and 22 guests