On Dec 2, 2007 11:55 AM, debussy007 <[EMAIL PROTECTED]> wrote:
>
> Sorry, I do not understand how routing will help me.
> Routing, if I'm not wrong, is to get the right module, controller, action.
>
> I thought I could just rename my action, for example with my previous
> example :
> instead of :
> function showContactUsAction() { ... }
> change to:
> fucntion contact_usAction() { ... }
>
> But then I read about this :
> http://www.mindloop.be/nieuws/nieuwe-ontwikkelingen/seo-warning--zend-framework-and-duplicate-content
>
> (I do not understand the article very well because I do not understand how
> the SEO can get the URL in multiple ways if I use only the reference link
> like "contact-us" in the other pages)

You setup a route to match /module/action.html, that's what he means.

Then redo all your links using the new route. No one suggested to
pollute the search engines with duplicate content. If your site is
indexed already you could also use mod_rewrite to permantly redirect
to your new link structure so you get rid of /foo/bar and have
/foo/bar.html.

Btw, I heard this demand for .html-ending for SEO is a myth. If you
look at SEO and blogs, Wordpress has those links:
example.org/my-title/, and they get indexed just fine. Just like MT's
example.org/my-title.html.  Even example.org/index.php/my-title works.

Cheers,
Till

> Tobias Gies wrote:
> >
> > you can use your own custom routes with the router to achieve your goals
> > on
> > SEO. see here:
> > http://framework.zend.com/manual/en/zend.controller.router.html
> >
> > 2007/11/20, debussy007 <[EMAIL PROTECTED]>:
> >>
> >>
> >> Hello,
> >>
> >> The URLs of web application using an the MVC pattern of the ZF, will show
> >> URLs like :
> >> http://www.example.com/myController/showContactUs
> >> Instead of something like :
> >> http://www.example.com/myController/contact-us.html
> >> And it seems to me that it is a huge inconvenience concerning SEO's.
> >>
> >> Thank you for any opinion.

Reply via email to