• Resolved shlomof

    (@shlomof)


    Hello, I want to create a directory of many cities in the US. I already used a plugin that generated the pages for them. I have a page for each city in the US.

    My question is, how do I map the different directory listings to the right pages according to the city name and zipcode?

    Or alternatively, can your plugin generate those pages instead with the slug that I need? and I should redirect the old pages to the right directory pages?

    Thank you!

Viewing 1 replies (of 1 total)
  • Mahdi

    (@m4hd1bd)

    Hi @shlomof,

    It looks like what you’re looking for is Single Location Pages. I suggest that you use our shortcode on your already generated page, it is going to be a bit more work but you’ll have the slug that you want. You can use this shortcode: [directorist_all_listing location=”new-york”]
    Please note that you need to have the Location taxonomies added under Directorist and also, your listings need to have the locations assigned to them.

    Alternatively, you could generate your Single Location Page manually, all you have to do is create a page with this shortcode: [directorist_location] and page for all of your locations will be generated automatically. But the caveats of this is the slug will be something like this: https://yourdomain.com/single-location-page-slug/new-york.

    Let me know if there’s anything else I can help you with.

    Regards,
    Mahdi.

Viewing 1 replies (of 1 total)
  • The topic ‘adding directory on top of a directory shell’ is closed to new replies.