WordPress.org

Ready to get started?Download WordPress

Forums

Combining categories and custom fields in permalinks (4 posts)

  1. serpico
    Member
    Posted 4 years ago #

    Hi Guys,

    Want a bit of advice please.

    I want to run a real estate website through WP using custom fields for property attributes. Is it possible to use custom fields in a SEF URL to return custom results.

    If not, how best can I achieve this?

    I want to be able to have a properties in a category 'Holiday Rental' with custom field location = 'Orlando'... then the following URL (or similar) would return these properties.

    domain.com/category/holiday-rentals/location/orlando/

    TIA

  2. serpico
    Member
    Posted 4 years ago #

    My aim is to have a menu for properties by category then nested locations within this to dedicated pages.

    - Holiday Rentals
    --- Melbourne
    --- New York
    --- Orlando
    - Permenant Rentals
    --- London
    --- Paris
    --- Rome
    - Sales
    --- Orlando
    --- New York
    --- Washington

    I can build the menu structure dynamically myself. I just need some SEF URLS which will return results.

  3. Mike Schinkel
    Member
    Posted 3 years ago #

    I highly recommend you look at using WP3.0 and custom content types and custom taxonomies. With it you'll be able to be model what you need and you'll be able to use that information to get your URLs (with a little programming.) I'm currently restructuring a very similar site for a client (a restaurant listing website) and it's giving us much greater flexibility.

  4. nomad-one
    Member
    Posted 3 years ago #

    I've used this plugin
    http://wordpress.org/extend/plugins/custom-fields-permalink/other_notes/

    But the problem is it will affect the permalinks for all your posts whether they have that custom field or not, so in some cases it may not work.

    I'm still trying to figure out how to use this custom field permalink in combination with regular permalinks for posts with that custom field

Topic Closed

This topic has been closed to new replies.

About this Topic