This simple little vQmod removes all of the common/home links on your site, replacing them with the default url
Note that this only works when SEO urls are turned on
Simply upload to your vqmod/xml/ folder
Enjoy!
Example:
Current:
opencart.com/category/product-info
Change it to:
opencart.com/product-info
Its just better for SEO this way. I know the canonical url works but this is the proper way to do it.
well there are plenty of "SEO Experts" that will disagree with you who say that you need to have the category in the URL. I know because I suggested it be done the way you suggested a long time ago and the thread got flooded with "SEO Experts" having a conniption.dony_b wrote: Its just better for SEO this way. I know the canonical url works but this is the proper way to do it.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Look at some of the top online ecommerce retailers like Zappos who rank very well in search engines.
Do a search for "womens shoes" and see who shows up first and look at zappos URL structure.
http://www.zappos.com/womens-shoes ( category )
then you click on a product
http://www.zappos.com/sperry-top-sider- ... ?zlfid=111 (product)
Thats the way it should be and I dont understand why people are objecting to this since its also how search engines want you to have it as well.
Isnt there a way to do this ..has anyone figured this out as I searched the forums but wasnt able to find anything ?
Regardless of this, yes it's possible to do what you suggest, but its not something you can quickly change and it work from that mod
Well pick anything that any "SEO Expert" has ever said and I can find you a different "SEO Expert" that says the exact opposite and claims the first doesn't know what he's talking about. It's all just snake oil sales if you ask me no one really knows what works other than google.dony_b wrote:Really?? Who the hell are these SEO experts that make absurd suggestions.
Look at some of the top online ecommerce retailers like Zappos who rank very well in search engines.
Do a search for "womens shoes" and see who shows up first and look at zappos URL structure.
http://www.zappos.com/womens-shoes ( category )
then you click on a product
http://www.zappos.com/sperry-top-sider- ... ?zlfid=111 (product)
Thats the way it should be and I dont understand why people are objecting to this since its also how search engines want you to have it as well.
Isnt there a way to do this ..has anyone figured this out as I searched the forums but wasnt able to find anything ?
As far as making the changes to the way you want it just search the forums it's been outlined how to do it a few times.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
I believe opencart does that by defual when SEO is enabled and product SEO is defined.dony_b wrote:Can this be done to remove the category name from the URL when you click on products when SEO URL setting is turned on ?
Example:
Current:
opencart.com/category/product-info
Change it to:
opencart.com/product-info
Its just better for SEO this way. I know the canonical url works but this is the proper way to do it.
Check here:
http://www.opencartstuff.com/all_templates/Paris_15
You get same thing using also this:
http://www.opencartstuff.com/Paris_15
Is this what you are wondering about?
ALL Templates :: 1.5.1+ Templates :: 50%-75% PRICE DROP ONLY at OpencartStuff.com
IN:
Code: Select all
1.4.x: /catalog/model/tool/seo_url.php
1.5.x: /catalog/controller/common/seo_url.php
Code: Select all
$url .= '/' . $query->row['keyword'];
Code: Select all
$url = '/' . $query->row['keyword'];
Boom, done.
Johnathan wrote:It's actually a super easy change:
IN:REPLACE THE FIRST INSTANCE OF:Code: Select all
1.4.x: /catalog/model/tool/seo_url.php 1.5.x: /catalog/controller/common/seo_url.php
WITH:Code: Select all
$url .= '/' . $query->row['keyword'];
If you want sub-categories to not show their parent categories in the URL, then replace both instances of that line with the replacement.Code: Select all
$url = '/' . $query->row['keyword'];
Boom, done.
Thanks a lot Johnathan and it works great with your price mod too.
how can we move index.php?route=
like http://www.okmarket.com/index.php?route ... on/contact
to http://www.okmarket.com/contact
thank you again
China Wholesaler
http://www.okmarket.com
David Wei
The Veloz Group
Beverly Hills Chairs: The leaders in ergonomic seating
Custom Tobacco: Customized cigars for any occasion
Scratch that. It was an issue with my vqmod.jordan wrote:Doesn't seem to work for me. Can you confirm it works with 1.5.3?
The Veloz Group
Beverly Hills Chairs: The leaders in ergonomic seating
Custom Tobacco: Customized cigars for any occasion
Users browsing this forum: No registered users and 43 guests