Can Opencart use following style of SEO URL for pages with built-in Controllers and Actions?
http://www.opencart.com/information/contact
instead of
http://www.opencart.com/index.php?route ... on/contact
The shorter version without index.php?route is much cleaner. Additionally, it is how controller/action meant to be called with SEO URL on, right?
Thanks.
http://www.opencart.com/information/contact
instead of
http://www.opencart.com/index.php?route ... on/contact
The shorter version without index.php?route is much cleaner. Additionally, it is how controller/action meant to be called with SEO URL on, right?
Thanks.
Not really.
There is a W3C standard way to write urls. One that is used by PHP, Javascript to parse URL's and generate them. Why should the standard be changed to suite Google? Gooogle has even said it has changed its algorithm to not give a higher position to urls like the ones you have listed.
OpenCart already has a SEO URL system built in that uses the keyword field to generate the urls.
example:
phones/ipod
Url's such as:
http://www.opencart.com/information/contact
are just as usless to customers as:
http://www.opencart.com/index.php?route ... on/contact
There is a W3C standard way to write urls. One that is used by PHP, Javascript to parse URL's and generate them. Why should the standard be changed to suite Google? Gooogle has even said it has changed its algorithm to not give a higher position to urls like the ones you have listed.
OpenCart already has a SEO URL system built in that uses the keyword field to generate the urls.
example:
phones/ipod
Url's such as:
http://www.opencart.com/information/contact
are just as usless to customers as:
http://www.opencart.com/index.php?route ... on/contact
OpenCart®
Project Owner & Developer.
Agreed, however, the point of friendly urls other than stuffing keywords in it, believe it or not is to help the user, thus http://www.opencart.com/contact would be betterDaniel wrote:Not really.
There is a W3C standard way to write urls. One that is used by PHP, Javascript to parse URL's and generate them. Why should the standard be changed to suite Google? Gooogle has even said it has changed its algorithm to not give a higher position to urls like the ones you have listed.
OpenCart already has a SEO URL system built in that uses the keyword field to generate the urls.
example:
phones/ipod
Url's such as:
http://www.opencart.com/information/contact
are just as usless to customers as:
http://www.opencart.com/index.php?route ... on/contact
Matt
Code: Select all
It was like that when I found it, honest!
I have to agree I really would like for the contact and sitemap to use seo urls if it is turned on. It's just a bit annoying (even if it doesn't serve any practicle purpose) to have just those two pages not rewritten.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Best solution: Empower the store owner to make their own decision, thus like every other info, category and catalog page, provide the user with a n edit box so that they can rename it however they want!Xsecrets wrote:I have to agree I really would like for the contact and sitemap to use seo urls if it is turned on. It's just a bit annoying (even if it doesn't serve any practicle purpose) to have just those two pages not rewritten.
Matt
Code: Select all
It was like that when I found it, honest!
guess that there wasn't a solution posted for this...
anyone wanna help us out with that?
thanks!
rocksteady,
danno~
anyone wanna help us out with that?
thanks!
rocksteady,
danno~
Put a rewrite rule in your .htaccess for the links you want to change:
And change the links in your header.tpl
Code: Select all
RewriteRule http://www.example.com/information/contact http://www.example.com/index.php?route=information/contact [P,L]
Documentation: OpenCart User Guide
Mods: Total Import PRO | CSV Import PRO | Ecom Tracking | Any Feed | Autosuggest | OpenCart CDN
Who is online
Users browsing this forum: No registered users and 320 guests