1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Custom Permalinks

Discussion in 'Content Management' started by asgsoft, Feb 7, 2013.

  1. #1
    Hey guys,

    So I am running a product review review site and I have been troubled by a permalink puzzle.

    I know how to set up permalinks without any problems for standard sites. However, I really want to group all the products by brand on a page. Currently, I use tags, so the domain is: http://www.domain.com/tag/brand-name/ however I would prefer it to be: http://www.domain.com/brand/brand-name/

    I know I can change the tag bit to name, but then ALL the tags become a brand, which is something I don't want.

    I heard that wordpress taxonomies could help, but I am not too sure on what they are and whether they really would do the trick or not.

    So what do you think is the best way to achieve this?

    Thanks :)
     
    asgsoft, Feb 7, 2013 IP
  2. adinugroho

    adinugroho Greenhorn

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    try this one /%tag%/%postname%/
     
    adinugroho, Feb 7, 2013 IP
  3. psharma

    psharma Prominent Member

    Messages:
    1,955
    Likes Received:
    85
    Best Answers:
    4
    Trophy Points:
    345
    #3
    I personally dont like usage of tags when you can even do this with categories.
    SOLUTION
    1. Assume you already have a category structure. Say New_Releases, Old_Stock, Festival_Collection and so on.
    2. Do not touch that structure. It is already best. But you can assign same post into many categories, so.
    3. Create a category named 'Brands'
    4. Create more sub categories each one as a brandname (eg Adidas, Reebok)
    5. Use even sub sub categories if required.
    6. Now assign each post an additional category (one of those brands like Adidas)
    7. Change the permalink structure to /%category%/%postname%.html ('.html' or '.php' or even '/' your choice)
    8. Strip the category base using any SEO plugin (like WordPress SEO by Yoast ) It will actually display
    http://www.domain.com/New_Releases/ rather than http://www.domain.com/category/New_Releases/ when you open the permalink of the category.
    9. Use this plugin wordpress.org/extend/plugins/hikari-category-permalink to assign default category to certain posts if required so.

    TADA! You just added a Brand New 'brand' feature to you website.
    Now you can point to permalink of any brandname and it will display like
    http://www.domain.com/Brands/Adidas/ and will display all posts under adidas.
    That post will also display under the archive of the other categories it belongs to, but this is not a problem, just make your homepage Menu intelligently. Only thing to avoid is to display a list of all categories anywhere on the site. If you want to do so for any reason, then honestly go for custom taxonomies rather than using categories for all types of categorization.

    You can even add more features by using even more categories. just remember that dont display full list of categories anywhere on your website. it will look messy. You create your own drop down menus arrange them well.

    Finally, adding more taxonomies (categories, tags or custom) will increase duplicity (no matter you use categories, tags or custom). latest 5 posts in Adidas may be exactly the 5 posts in Latest_Releases category. to avoid this you can either noindex any one set of categories (set here means either set of brands or the original categories) so the you will have no more than 1 set of indexible and unique categories.
    Another problem to this solution can be add more unique content to each category at the top (maybe few 100 words description). you theme should support this feature.
    Third thing you can do is to use small excerpts in archive view and use more per page. It means that rather than showing 5 full articles per page (of any archive, say a category page) show 15 small excepts, so that lesser and lesser chances that two categories will look exactly the same.

    Hope it all helps.
     
    Last edited: Feb 7, 2013
    psharma, Feb 7, 2013 IP