• Breaking News

    Making Custom permalink in wordpress

    Permalinks form the permanent URLs of any individual blog.These can be can adjusted in permanent settings provided in wordpress.You can choose from any of the given common setting as per month,day, name, number structure shown in settings with examples. Log into wordpress admin panel scroll down and go to setting and select option Permalinks.

    permalink settings


    Default settings selected can be seen below.

    Permalinks Settings



    Choosing your Permalinks structure


    Default structure will show as:



    http://localhost/all/Techni/?p=123

    Above given p=123 is ID number for post structure %post_id%.
    Custom structure is selected from last radio options. Selecting this option will help in changing Permalinks structure .These are also described "Pretty Permalinks" giving own custom Permalinks structure.

    You can choose from any custom structure for e.g. %post_id%, %postname%, /%year%/%postname%/, /%year%/%monthnum%/%day%/%postname%/, /%post_id%/%postname%

    For e.g. custom structure of /%year%/%postname%/ or /%monthnum%/%postname%/ will be as shown in above example:
    http://localhost/all/Techni/2012/11/15/making-custom-permalink-in-wordpress
    http://localhost/all/Techni/2012/11/making-custom-permalink-in-wordpress

    You can also prefer short and simple structure %postname%
    http://localhost/all/Techni/making-custom-permalink-in-wordpress

     

    Notice, the gap in post url words are automatically replaced by - hyphens which is perfectly OK.
    If you like to have html Permalinks structure just add .html. This will not only give static look to site but also encourage search engine spiders to crawl to your site. Php and html extension structure is mostly prominent in php websites.
    %postname% will change to %postname%.html

    You can also use free plugin .html on PAGES, just download and activate. Do check compatibility with your WordPress version.

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel