WordPress.org

Support

Support » How-To and Troubleshooting » How to make secondary custom URLs?

How to make secondary custom URLs?

  • Hello, I have a wordpress site that I’m developing for a travel company, and they blog about the trips that they’re running, and create nice seo friendly permalinks, which look something like this:

    mysite.com/awesome-trip-to-alaska

    Each of these trips, though, has a number associated with it, and I want to be able to auto-generate links to trips by number, maybe something like this:

    mysite.com/TripNo/1234

    To support this, I’ve added custom fields to those trips where the custom field name is “TripNo”, and the value is the actual trip number associated with the trip.

    I’m not sure where to go from here, though… Is there support for this already in WP, or do I need to do some additional coding, or is there a plugin, or maybe I need to do some combination of those things along with custom markup to accomodate url re-writing in the .htaccess of the site?

    Any ideas? All are appreciated!

    Thanks in advance,

    –Jon

Viewing 1 replies (of 1 total)
  • BTW, I did already discover a way whereby I could use a “search link” like this:

    mysite.com/?s=1234

    But the problem with that link is that it gives only a synopsis of the page, not the page itself; granted, you can then click on the page name at the top and THEN you get the actual page, but the client doesn’t like that, and wants the link to go right to the page itself.

    –Jon

Viewing 1 replies (of 1 total)
  • The topic ‘How to make secondary custom URLs?’ is closed to new replies.