1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to create a subdirectory in wp?

Discussion in 'Programming' started by nobody00, Nov 23, 2016.

  1. nobody00

    nobody00 Regular Member

    Joined:
    May 21, 2011
    Messages:
    364
    Likes Received:
    53
    How can i create this: domain.com/post1/post2 ? I want both post1 and post2 to be contextual articles. Thanks

    [​IMG]
     
  2. Skyebug77

    Skyebug77 Jr. VIP Jr. VIP

    Joined:
    Mar 22, 2012
    Messages:
    1,928
    Likes Received:
    1,353
    Occupation:
    Marketing
    Location:
    Portland,Or
    do it in your cpanel, under add sub-domain.
     
  3. nobody00

    nobody00 Regular Member

    Joined:
    May 21, 2011
    Messages:
    364
    Likes Received:
    53
    Subdomains are subdomain.domain.com, I want both post1 and post2 to be contextual articles
     
  4. Skyebug77

    Skyebug77 Jr. VIP Jr. VIP

    Joined:
    Mar 22, 2012
    Messages:
    1,928
    Likes Received:
    1,353
    Occupation:
    Marketing
    Location:
    Portland,Or
    it is created in the same place, it will ask you how to format the sub directory files. you can either do it as a sub domain, or sub directory
     
  5. redswan

    redswan Newbie

    Joined:
    Nov 8, 2016
    Messages:
    20
    Likes Received:
    9
    Gender:
    Male
    Occupation:
    Programmer, marketer, designer and consultant
    Location:
    Asia
    You could do parent pages in WordPress. Check the sidebar dropdown for "parent". Assuming you have your permalinks configured properly, that should do what you want.