How to set custom structure in wordpress?

Discussion in 'WordPress' started by vannarith, Apr 27, 2010.

  1. #1
    Hello i need some help from DP. I want to setup my permanlink in wp with this "/%category%/%postname%.html" and after i save it. browse my url site, it does not work when i click on any post. i read http://codex.wordpress.org/Using_Permalinks but i dont know where to start.
    To be frankly, it works only with this kind of link http://example.com/?p=N
    Could anybody guide me to the main point as i have no experience on it.
     
    vannarith, Apr 27, 2010 IP
  2. XSentry

    XSentry Well-Known Member

    Messages:
    419
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    110
    #2
    This can be done easily.

    1. Login to your Wordpress Admin Panel
    2. Go under the Settings Tab and click on Permalinks.
    3. Select "Custom Structure" and put in your code.
    2. Save.
     
    XSentry, Apr 27, 2010 IP
  3. rilwis

    rilwis Peon

    Messages:
    104
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Take a look at .htaccess file. If it doesn't contain some rewrite rules of WP, then your permalink doesn't work, too.
     
    rilwis, Apr 27, 2010 IP
  4. vannarith

    vannarith Active Member

    Messages:
    1,814
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    50
    #4
    Which location of .htaccess file in the folder? it is in content folder or included folder or outside? But .htaccess is a hidden file how can i view it? I use hosting24.com
     
    vannarith, Apr 27, 2010 IP
  5. rilwis

    rilwis Peon

    Messages:
    104
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It's in the root folder of WP. It's hidden but in most file manages of host, you can see it. Or you can see it via any FTP programs. If it isn't here, create it (leave if blank), and chmod it to 777.
     
    rilwis, Apr 28, 2010 IP