Pages for individual places give 404 error

This topic contains 3 replies, has 2 voices, and was last updated by  Alex Rollin 5 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #517433

    refillnotlandfill
    Expired Member
    Post count: 5

    I’m using WordPress v5.2.4, and Geodirectory v2.0.0.69. All required plugins are installed and up to date, as are the Multilocation and SocialImporter plugins. I am using a child theme of the Listimia theme but I have also tried with the completely unmodified GD Framework Child theme, with the same results. I have added no custom post types and other than importing about 1100 places from a CSV file, have done no customization. Most settings are still at their original values. All pages seem to work correctly except when I click on one of the individual listings shown on the search page, which results in a 404 error. The URL seems to be correct, as it is in the form http://mysitename.local/places/my-place-slug. Is there a setting I am missing somewhere, or is it possible that Geodirectory is incompatible with the Bedrock site template from roots.io, which does not use the standard WordPress directory structure? I really hope not, as I very much need them to work together, and this would be the first plugin I have found which was not compatible, after building many sites using Bedrock and Trellis. The site is still being developed locally so I can’t provide a URL, unfortunately.

    #517448

    Alex Rollin
    Moderator
    Post count: 27815

    GeoDirectory is a plugin and compatible with most themes.

    The permalink issue sometimes shows up when activating Location Manager. Try resaving permalinks as described here:

    https://wpgeodirectory.com/docs-v2/geodirectory/settings/permalinks/#404

    Detail URLs with full location and category often work best and most reliably.

    #517467

    refillnotlandfill
    Expired Member
    Post count: 5

    That fixed it. I used your recommended structure. Thanks. Sorry that I did not do a more thorough search for a solution before posting here. This is the third time I’ve built a site using Geodirectory (although the first with v2–very nice revamp) and I really did not think there was an incompatibility with Bedrock. The only way I can think of for that to occur would be if you had hard-coded a full path based on normal WordPress file structure and the plugin is too well-written for that to have been likely.

    #517562

    Alex Rollin
    Moderator
    Post count: 27815

    If you do run into something else, please let us know and we will be happy to help. 🙂

    Alex

Viewing 4 posts - 1 through 4 (of 4 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