Page 1 of 1

SEO URL for pages with built-in Controllers and Actions

Posted: Sun Nov 22, 2009 4:13 am
by rand1
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.

Re: SEO URL for pages with built-in Controllers and Actions

Posted: Sun Nov 22, 2009 5:58 am
by Daniel
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

Re: SEO URL for pages with built-in Controllers and Actions

Posted: Mon Nov 23, 2009 4:20 am
by moggiex
Daniel 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
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 better :)

Matt

Re: SEO URL for pages with built-in Controllers and Actions

Posted: Mon Nov 23, 2009 4:32 am
by Xsecrets
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.

Re: SEO URL for pages with built-in Controllers and Actions

Posted: Mon Nov 23, 2009 4:45 am
by moggiex
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.
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!

Matt

Re: SEO URL for pages with built-in Controllers and Actions

Posted: Mon Dec 14, 2009 10:47 am
by dannowatts
guess that there wasn't a solution posted for this...
anyone wanna help us out with that?

thanks!


rocksteady,
danno~

Re: SEO URL for pages with built-in Controllers and Actions

Posted: Wed Apr 14, 2010 3:03 pm
by levon
Up

Re: SEO URL for pages with built-in Controllers and Actions

Posted: Sun Dec 05, 2010 7:42 am
by olalavui
Any have solotions?

Re: SEO URL for pages with built-in Controllers and Actions

Posted: Sun Dec 05, 2010 12:45 pm
by justinv
Put a rewrite rule in your .htaccess for the links you want to change:

Code: Select all

RewriteRule http://www.example.com/information/contact http://www.example.com/index.php?route=information/contact [P,L]
And change the links in your header.tpl

:)