Post by rand1 » Sun Nov 22, 2009 4:13 am

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.

Newbie

Posts

Joined
Sun Nov 22, 2009 4:06 am

Post by Daniel » Sun Nov 22, 2009 5:58 am

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

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by moggiex » Mon Nov 23, 2009 4:20 am

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

Code: Select all

It was like that when I found it, honest!


User avatar
Active Member

Posts

Joined
Mon Nov 09, 2009 9:55 pm

Post by Xsecrets » Mon Nov 23, 2009 4:32 am

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


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by moggiex » Mon Nov 23, 2009 4:45 am

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

Code: Select all

It was like that when I found it, honest!


User avatar
Active Member

Posts

Joined
Mon Nov 09, 2009 9:55 pm

Post by dannowatts » Mon Dec 14, 2009 10:47 am

guess that there wasn't a solution posted for this...
anyone wanna help us out with that?

thanks!


rocksteady,
danno~

New member

Posts

Joined
Tue Nov 10, 2009 11:40 am

Post by levon » Wed Apr 14, 2010 3:03 pm

Up

New member

Posts

Joined
Fri Mar 05, 2010 9:36 pm


Post by olalavui » Sun Dec 05, 2010 7:42 am

Any have solotions?

Newbie

Posts

Joined
Sat May 29, 2010 9:56 am

Post by justinv » Sun Dec 05, 2010 12:45 pm

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

:)

Documentation: OpenCart User Guide
Mods: Total Import PRO | CSV Import PRO | Ecom Tracking | Any Feed | Autosuggest | OpenCart CDN
Image


Active Member

Posts

Joined
Tue Oct 12, 2010 1:24 pm
Who is online

Users browsing this forum: No registered users and 320 guests