SEO URLs for custom made controllers

Hi everyone,
I’m extending oxid eshop basic functionality by creating blog section which pulls data from a wordpress installation.
I created new controllers (blogarticle & blogcategory) for showing single article subpages and category post listing pages. It’s working fine already but I got stuck at creating SEO urls for these new controllers / pages.
I figured I need to create oxseoencoders for these newly created pages, but I can’t see the big picture how to get them working.
Tried adding the entries into oxseo database table manually but it didn’t help, I can’t open the given posts by the SEO url.
Could you please point me to the right direction, how to get the SEO url’s working with these controllers?
What prerequisities must be satisfied, to get them working?
Thank you in advance for your help! Highly appreciated!
Tamas

Controllers do not create SEO-Urls, models do. Assuming you store your posts in a posts table, you can create a model for posts (extends oxI18n) and maybe one for posts list (extends oxList). Then you can create your own Seo-Encoder for posts (extends oxSeoEncoder) and have the “getBaseSeoLink”-Method of your posts model create an instance of it and make the SEO-Url (from title or so).

So, everytime a link to a post is displayed, the SEO-Url for the page is generated. The SEO-Link is displayed and if you click it, it is converted back to the standard url and your post is displayed.

You can have a look at e.g. oxcontent to see how it works, the according classes are:
oxcontent (content objects)
oxcontentlist (list of oxcontent objects)
oxseoencodercontent (SEO Encoder for content pages)

Also have a look here: http://wiki.oxidforge.org/Tutorials/Understanding_OXID_SEO

[QUOTE=leofonic;148329]Controllers do not create SEO-Urls, models do. Assuming you store your posts in a posts table, you can create a model for posts (extends oxI18n) and maybe one for posts list (extends oxList). Then you can create your own Seo-Encoder for posts (extends oxSeoEncoder) and have the “getBaseSeoLink”-Method of your posts model create an instance of it and make the SEO-Url (from title or so).

So, everytime a link to a post is displayed, the SEO-Url for the page is generated. The SEO-Link is displayed and if you click it, it is converted back to the standard url and your post is displayed.

You can have a look at e.g. oxcontent to see how it works, the according classes are:
oxcontent (content objects)
oxcontentlist (list of oxcontent objects)
oxseoencodercontent (SEO Encoder for content pages)

Also have a look here: http://wiki.oxidforge.org/Tutorials/Understanding_OXID_SEO[/QUOTE]

Hmm great knowledge here. But one more thing I had seen the separate section for the seo urls in CMS like wordpress. So will it work if I directly create a URL from there ?

[QUOTE=simon723;148402]Hmm great knowledge here. But one more thing I had seen the separate section for the seo urls in CMS like wordpress. So will it work if I directly create a URL from there ?[/QUOTE]
Could you be more precise? Do you mean Wordpress or OXID, i don’t get it?

I’m using Opencart version 1.5.5.1 and this is the exact code that worked for me:

<?php
class ControllerCommonSeoUrl extends Controller {
/* SEOCustom URL /
private $url_list = array (
‘common/home’ => ‘’,
‘checkout/cart’ => ‘cart’,
‘account/register’ => ‘register’,
‘account/wishlist’ => ‘wishlist’,
‘checkout/checkout’ => ‘checkout’,
‘account/login’ => ‘login’,
‘product/special’ => ‘special’,
‘affiliate/account’ => ‘affiliate’,
‘checkout/voucher’ => ‘voucher’,
‘product/manufacturer’ => ‘brand’,
‘account/newsletter’ => ‘newsletter’,
‘account/order’ => ‘order’,
‘account/account’ => ‘account’,
‘information/contact’ => ‘contact’,
‘account/return/insert’ => ‘return’,
‘information/sitemap’ => ‘sitemap’,
);
/
SEO Custom URL */

public function index() {
// Add rewrite to url class
if ($this->config->get(‘config_seo_url’)) {
$this->url->addRewrite($this);
}

// Decode URL
if (isset($this-&gt;request-&gt;get['_route_'])) {
    $parts = explode('/', $this-&gt;request-&gt;get['_route_']);

If organic SEO rankings come out of the first page of results, as this could be a good site? Well, this will affect the location to a more holistic approach to marketing. Most sites find a niche as PPC, SEO or whatever and never leave. Universal Search will force you, me and everyone to increase marketing efforts in every possible platform. It’s a kick in the ass to get your site listed in local search platform and start playback of video advertising. Of course, this assumes that you always want a slice of the huge organic traffic generated by Google.

[QUOTE=leofonic;148405]Could you be more precise? Do you mean Wordpress or OXID, i don’t get it?[/QUOTE]

Gold service the name of quality provided completed IT solution and gives you a completed solution of your websites.