ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Permalink and structure problems

January 25, 2009 4:12pm

Subscribe [2]
  • #1 / Jan 25, 2009 4:12pm

    jontusmedia

    20 posts

    Moderator’s note: Moved to Howto.

    I’m having problems with permalinks and reducing duplicate content using EE as a blog.

    I want to set up and use the following URL structure:

    mydomain.com (index or front page of blog)
    mydomain.com/article_title/ (individual blog post)

    On each individual blog post I want the comments form to show.

    This would be the standard model on a WordPress blog.

    What I get is:
    mydomain.com
    mydomain.com/article_title (but the comments don’t show)
    mydomain.com/template/article_title (comments don’t show)
    mydomain.com/template/comments/article_title (with comment form)

    Obviously I need to cut down the duplicate content.

    I understand that in my templates I have a template for the index file.

    But how do I get EE to give me “mydomain.com/article_title” and the page being created being the blog post and the comments form?

    If anyone can point me to a template that might use this structure, I would appreciate it.

  • #2 / Jan 26, 2009 7:21am

    Ingmar

    29245 posts

    If you are using http://example.com/article_title EE will automatically use the “index” template of the default template group. You simply need to add the comment form to that template (take a look at the comment template to see how it’s done).

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases