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.

Help with Permalinks in wordpress

Discussion in 'WordPress' started by cooljeba, Sep 4, 2007.

  1. #1
    Hello all,

    I am planning to move my static site to wordpress. The problem I am facing is i want to maintain the current directory structure of my site. Currently it is lik

    site/tutorials/photoshop/tutorial1.html

    I tried using this permalink

    /%category%/%postname%.html

    it shows like

    site/tutorials/tutorial1.html

    I have created both tutorials and photoshop as a category. Also tried making tutorials as parent category and photoshop as child category. But it only shows only one category name.

    Is there any way to show main category followed by sub category in the permalink ?

    If I am able to do it. It would be easy for me to move my static site to wordpress. Please help.

    Thank You

    ..:: peace ::..
    Jeba
     
    cooljeba, Sep 4, 2007 IP
  2. webincarno

    webincarno Peon

    Messages:
    231
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hey dude...

    Yes... assign your post to your subcategory only. Do not assign it to the parent category.

    Like in your case.

    If you make a post tutorial1 then assign it to photoshop subcategory ONLY and NOT to both of tutorials and photoshop categories.

    Wordpress kinda gives preference to the main category in the permalinks. So this should solve your problem :).
     
    webincarno, Sep 5, 2007 IP
    cooljeba likes this.
  3. cooljeba

    cooljeba Well-Known Member

    Messages:
    570
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    160
    #3
    Thanks for the help.. It worked just fine... You deserve some green reps
    Thank you

    ..:: peace ::..
    Jeba
     
    cooljeba, Sep 5, 2007 IP
  4. r3born

    r3born Active Member

    Messages:
    1,070
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    88
    #4
    There is also a plugin to define the main category, when a post is assigned to several different categories.
    You can find it here.
     
    r3born, Sep 5, 2007 IP
    cooljeba likes this.
  5. cooljeba

    cooljeba Well-Known Member

    Messages:
    570
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    160
    #5
    hello r3born

    Thanks for sharing the link. Some rep to you too :)

    ..:: peace ::..
    Jeba
     
    cooljeba, Sep 5, 2007 IP
  6. Pixelrage

    Pixelrage Peon

    Messages:
    5,083
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Just make sure that you don't do anything that will penalize you for having duplicate content!
     
    Pixelrage, Sep 5, 2007 IP
  7. cooljeba

    cooljeba Well-Known Member

    Messages:
    570
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    160
    #7
    hello markn

    No it wont because I am upgrading only the cms. The site will still be on the same domain..

    ..:: peace ::..
    Jeba
     
    cooljeba, Sep 5, 2007 IP