Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Custom Post Type Permalinks plugin

  1. #1
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,229
    Thanks
    89
    Thanked 593 Times in 491 Posts

    Lightbulb Custom Post Type Permalinks plugin

    Custom Post Type Permalinks lets you edit the permalink structure of custom post type.

    The plugin workswith ClassiPress!!!

    2012-01-24 21h14_33.png

    http://wordpress.org/extend/plugins/custom-post-type-permalinks/



  2. The Following 3 Users Say Thank You to dikiyforester For This Useful Post:

    Geea (June 13th, 2012), latamclick (April 11th, 2012), rubencio (January 24th, 2012)

  3. #2
    rubencio's Avatar
    Join Date
    May 2010
    Location
    Spain
    Posts
    3,804
    Thanks
    268
    Thanked 316 Times in 278 Posts
    Thanks a lot for sharing.
    Best regards,

    r u b e n c i o . c o m


    Since 2010 providing AppThemes solutions,
    Plugins and the best childthemes...



  4. #3
    wirescale's Avatar
    Join Date
    Oct 2010
    Location
    Canada
    Posts
    33
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Thanks for the suggestion.

    I can see the post_id in the URL, but when I click on it, I got a 404 error page.

  5. #4
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,229
    Thanks
    89
    Thanked 593 Times in 491 Posts
    I have it working.
    Only, for some reason, twice needed to resave permanent links in the Settings panel.
    arthemes.org - AppThemes plugins, tutorials, modifications and services

  6. #5
    Junior Member welder's Avatar
    Join Date
    Jan 2012
    Posts
    24
    Thanks
    0
    Thanked 1 Time in 1 Post
    Hello dikiyforester!
    Can I use this plugin, to put the city in URL?
    I want to make my permalinks like this mysite.com/city/category/post_id

  7. #6
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,229
    Thanks
    89
    Thanked 593 Times in 491 Posts
    Quote Originally Posted by welder View Post
    Hello dikiyforester!
    Can I use this plugin, to put the city in URL?
    I want to make my permalinks like this mysite.com/city/category/post_id
    Yes, I'm trying to do it. And I had some success.

    This plugin does not allow to add custom field in the URL.
    You can add tags, categories, and extra taxonomy. Such as %ad_tag%, %ad_cat%, %your_custom_tax%.

    I created an additional taxonomy "df _region" and linked it with the post type Ads
    I changed the base URL for the category. Changed "ad _category" ---> "ads"

    And that's what I got:

    /ads/some_location/some_category/some_subcategory/ad_title-ad_ID/ - single ad
    /ads/some_location/some_category/some_subcategory/ - all ads in some_location and some_subcategory
    /ads/some_location/some_category/ - all ads in some_location and some_category
    /ads/some_location/ - does not work yet, but should be.
    /ads/ - all ads in all locations and all categories

    It also works without a location option:

    /ads/some_category/some_subcategory/ - all ads in all locations in some_subcategory
    /ads/some_category/ - all ads in all locations in some_category
    /ads/ - all ads in all locations and all categories

    I think that the question of Multiregion much closer than it seems.
    arthemes.org - AppThemes plugins, tutorials, modifications and services

  8. The Following 3 Users Say Thank You to dikiyforester For This Useful Post:

    blabla (March 8th, 2012), foedecide (April 3rd, 2012), mr_green (February 11th, 2012)

  9. #7
    Marketplace Seller mr_green's Avatar
    Join Date
    Aug 2010
    Posts
    953
    Thanks
    113
    Thanked 192 Times in 147 Posts
    I think that the question of Multiregion much closer than it seems.
    Helpful guy from Russia
    thanks to share
    Best

  10. #8
    blabla's Avatar
    Join Date
    Nov 2010
    Location
    France
    Posts
    50
    Thanks
    7
    Thanked 2 Times in 1 Post
    How make for:

    http://www.domaine.com/%ad_cat%/%postname%-post_ID.htm

    Like Tuffclassified.com

  11. #9
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,229
    Thanks
    89
    Thanked 593 Times in 491 Posts
    1. Install and activate the plugin
    2. Go to the configuration permanent links page.
    3. Find the section "Permalink Setting for custom post type"
    4. Find the field "ad_listing" and insert /%ad_cat%/%postname%-%post_id%/
    5. Save the settings.

    If your site is still under development and you do not mind for SEO yet - you can do the same base URL categories and ads.
    You can do it on the settings page ClassiPress -> General Settings -> Advanced -> Custom Post Type & Taxonomy URLs
    For exemple:
    Ad Listing Base URL: ads
    Ad Category Base URL: ads

    And you will have:

    http://www.domaine.com/ads/some_cate...d_title-ad_ID/ - single ad
    http://www.domaine.com/ads/some_cate...e_subcategory/ - all ads in some_subcategory
    http://www.domaine.com/ads/some_category/ - all ads in some_category
    http://www.domaine.com/ads/ - all ads in all categories

    But how does remove the base /ads/ from the URL, I do not know.
    Generally this is not recommended.
    arthemes.org - AppThemes plugins, tutorials, modifications and services

  12. #10
    Newbie caio_villa's Avatar
    Join Date
    Feb 2012
    Location
    Brazil
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by dikiyforester View Post
    Yes, I'm trying to do it. And I had some success.

    This plugin does not allow to add custom field in the URL.
    You can add tags, categories, and extra taxonomy. Such as %ad_tag%, %ad_cat%, %your_custom_tax%.

    I created an additional taxonomy "df _region" and linked it with the post type Ads
    I changed the base URL for the category. Changed "ad _category" ---> "ads"

    And that's what I got:

    /ads/some_location/some_category/some_subcategory/ad_title-ad_ID/ - single ad
    /ads/some_location/some_category/some_subcategory/ - all ads in some_location and some_subcategory
    /ads/some_location/some_category/ - all ads in some_location and some_category
    /ads/some_location/ - does not work yet, but should be.
    /ads/ - all ads in all locations and all categories

    It also works without a location option:

    /ads/some_category/some_subcategory/ - all ads in all locations in some_subcategory
    /ads/some_category/ - all ads in all locations in some_category
    /ads/ - all ads in all locations and all categories

    I think that the question of Multiregion much closer than it seems.
    Hi dikivyforester,

    Im trying use city in url. I tried to do the same, but I couldnt.

    Can you explain how you "linked it with the post type Ads"?

    Tks,
    Caio

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Creating custom post type
    By pfadmin in forum ClassiPress General Discussion
    Replies: 2
    Last Post: April 3rd, 2012, 09:44 AM
  2. Name of custom post type
    By chazmo in forum Report JobRoller Bugs
    Replies: 1
    Last Post: July 10th, 2011, 09:24 AM
  3. Is there a need to create custom post type (ads)?
    By hiro in forum Report ClassiPress Bugs
    Replies: 9
    Last Post: June 5th, 2011, 10:01 AM
  4. Disabling Custom post type
    By navjottomer in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: April 2nd, 2011, 05:51 PM