Having a problem regarding category permalinks

This topic contains 9 replies, has 3 voices, and was last updated by  George Nicolae 8 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #119540

    George Nicolae
    Expired Member
    Post count: 123

    I have put change location shortcode in a custom menu in my theme header. When I select a location and after that click on a category I get mysite.com/places/region/city/category-name( as my setup).

    When I don’t select any city, I don’t click “near me” button … etc, when I click on a category the link looks like this mysite.com/category-name( and it’s normal) but I get 404 error, page not found.

    Also when I click the category link on a listing with City( near me …etc) selected I get mysite.com/places/region/city/category-name/. With no locațion selected I get mysite.com/category-name and the same 404 error, page not found with the link.

    There is a known problem in Geodirectory, or is it possible that I ‘ve made something bad over there? I don’t really know what I can do to fix this.

    #119611

    Guust
    Moderator
    Post count: 29970

    The location switch should take you to pages like location/country/region etc.
    Shortcodes are not for menus.
    Can you post URL and WP admin details so we can try to understand what you have done. Thanks.

    #119846

    George Nicolae
    Expired Member
    Post count: 123

    Yes they are. Installed the plugin that lets me add sidebar areas as dropdowns.

    The problem is simple. If I select a location from the location switcher let’s say San Francisco, when I want to click on any category let’s say restaurant, the address looks like mysite.com/place/selected-region/san-francisco/restaurant and it takes me there. If I don’t select any location from the location switcher, when I want to click on restaurant category the address looks like mysite.com/place/restaurant and it gives me 404, error, page not found.

    here is my site
    goo.gl/4B9BN7

    #119847

    George Nicolae
    Expired Member
    Post count: 123
    This reply has been marked as private.
    #119872

    Guust
    Moderator
    Post count: 29970

    You cannot have the same “Listing url prefix” at GD permalinks as the slug for the location page.

    #119882

    George Nicolae
    Expired Member
    Post count: 123

    Thanks that was the issue. The second: “Location url prefix” what is used for? I have a location page. Can I change it’s name?

    Also, saw this now. For example I publish the listing of a restaurant from Napoli, within restaurant category.

    If I select Napoli from location switcher the restaurant category of my Napoli location would have the address mysite.com/location/region/napoli/restaurant.

    If Napoli is not selected from location switcher the restaurant category of my Napoli location would have the address mysite.com/location/restaurant.

    Is this possible, and better maybe, if the category restaurant( hotel …etc) attached to all the restaurants from Napoli, to have the same url no matter what? Napoli selected from the switcher: “mysite.com/location/region/napoli/restaurant”; Nothing selected: “mysite.com/location/region/napoli/restaurant”?

    #119988

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    that way you’d broke the system and only allow users to visit single locations. Nobody could visit region or country levels.

    Thanks

    #120006

    George Nicolae
    Expired Member
    Post count: 123

    I thought there was a way to have only mysite.com/location/region/city1/restaurant-category, mysite.com/location/region/city2/restaurant-category and for the default “no region” to aggregate all the posts with restaurant category from city 1, city 2, city 3 … etc.

    As it is now, when no region/city is selected I have Listing A listed in mysite.com/places/category-restaurant, and when region/city is selected I have Listing A listed in another category mysite.com/places/region/city/restaurant-category. Is it normal? An if is, does it have any impact on google?

    #120136

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    the listing is listed in a city / region / country and if you have the everywhere location it will appear there too.

    This way you can see it when browsing all listings from all locations. When browsing all listings from that country, region and city.

    How can that be wrong?

    Thanks,

    #120221

    George Nicolae
    Expired Member
    Post count: 123

    The listings are ok, with one link always, with country/region/city in the link. The categories have 2 links with country/region/city and without it. But if it’s no problem with Google in that regard I’m ok too. Topic can be marked as closed 😀

    Since your plugin is one of a kind( they are some themes on Themeforest but not as powerfull though) I didn’t had what to compare it too to know how things work.

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