Creating a webpage just for one city

This topic contains 13 replies, has 3 voices, and was last updated by  Alex Rollin 6 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #444891

    Max
    Expired Member
    Post count: 60

    Is there a way that I can create a page say “Attorneys in Portland, Oregon” and that page only list attorneys in that city. Or is there already a plugin that does this? The last time I allowed the region and city slugs if you took away the place page there would be no results. Example: webpage.com/places/oregon/portland/attorneys – No information found.

    #444898

    Guust
    Moderator
    Post count: 29970

    That it is how it works by default.

    Make sure to add the location switcher: https://wpgeodirectory.com/docs/multilocations/#main

    Or add this shortcode to a normal page:

    [gd_location_switcher]

    https://wpgeodirectory.com/docs/location-manager-shortcodes/#switch

    That will allow you to navigate to the Portland page.

    Add a popular category widget to the GD Home/Location page:
    https://wpgeodirectory.com/docs/widgets/#popular-post-cat

    And you will have links to your Attorney category on the Portland page.

    See the demo at https://wpgeo.directory/docs/
    City location page: https://wpgeo.directory/docs/location/united-states/california/los-angeles/
    Category in that location: https://wpgeo.directory/docs/places/united-states/california/los-angeles/restaurants/

    If we need to check your settings, post your URL and WP admin details in a private reply
    Thanks

    #444901

    Max
    Expired Member
    Post count: 60

    Thank you.

    Is it possible to do a similar function with neighborhoods? I’ve currently changed the permalink structure and don’t want to add it back to include united-states/oregon/portland as it unnecessarily long.

    #444911

    Guust
    Moderator
    Post count: 29970

    It works exactly the same for neighborhoods.
    https://wpgeo.directory/docs/location/united-states/pennsylvania/philadelphia/center-city/

    The permalink structure is for the detail pages only, not for Listings or Location pages.

    Thanks

    #444919

    Max
    Expired Member
    Post count: 60
    This reply has been marked as private.
    #444920

    Max
    Expired Member
    Post count: 60
    This reply has been marked as private.
    #444988

    Max
    Expired Member
    Post count: 60

    Okay, thanks for the clarification. Could I get some help to make a page that can be reached for cities I have without changing my permalink structure? I must not be doing something right.

    #444996

    Guust
    Moderator
    Post count: 29970

    If we need to check your settings, post your URL and WP admin details in a private reply
    Thanks

    #445029

    Max
    Expired Member
    Post count: 60
    This reply has been marked as private.
    #445041

    Guust
    Moderator
    Post count: 29970

    You cannot use the same page for your GD Homepage and Location pages, I corrected that.
    If you want to use neighborhood pages, you need to enable them at GD > Multilocations > Wish to enable neighbourhoods ? YES
    See also https://wpgeodirectory.com/docs/manage-location/#hood

    The permalink structure is for the detail pages only, not for Listings or Location pages.

    Thanks

    #445043

    Guust
    Moderator
    Post count: 29970
    This reply has been marked as private.
    #445048

    Max
    Expired Member
    Post count: 60
    This reply has been marked as private.
    #445053

    Max
    Expired Member
    Post count: 60
    This reply has been marked as private.
    #445081

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    the URL structure for listing pages like that is:

    cpt/location/category

    an example is /attorney/atlanta/criminal-defense-lawyer/

    These are easier to find if you include the location in the URL for the detail page at:

    GeoDirectory – Permalinks

Viewing 14 posts - 1 through 14 (of 14 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount