Change_Pageid_To_PageName

Discussion in 'WordPress' started by harshida_1909, Oct 12, 2009.

  1. #1
    Hello,
    i have question that in my Wordpress with CMS site i have 6 page all, each page have page id

    for example ABOUT PAGE url is like
    http://localhost/wordpress/?page_id=178

    but what i want insted of page_id=178 i want
    http://localhost/wordpress/?ABOUT.
    Give me the solution for this.



    Thanks
    Harshida Parmar
     
    harshida_1909, Oct 12, 2009 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If your server has mod_rewrite or a compatible module enabled, and your host allows for the editing of .htaccess (Apache) or web.config (IIS) files, go into your WordPress Dashboard, go to Settings > Permalinks and choose "Custom" under the Permalinks option. Then add this:

    /%category%/%postname%.html/
    Code (markup):
    Once you've done that, go to http://wordpress.org/extend/plugins/top-level-cats/ and download the "Top Level Categories" plugin to remove /category/ from ALL of your permalinks.
     
    Dan Schulz, Oct 12, 2009 IP