Google Search Result

Posted in: Newsmag
Post count: 12

Hi again,

I want to ask. my google search result url showing bacabox.com › Features instead of the actual url
it happen to all my post

when i search “Game Open World Terbaik”
this is the result from google:
10 Game Open World Terbaik Yang Pernah Ada – Bacabox
bacabox.com › Features

this is actual url
http://bacabox.com/game/10-game-open-world-terbaik-yang-pernah-ada/

please give me some advice about this?

for more info
i fetch on “https://developers.google.com/structured-data/testing-tool/”
this url “http://bacabox.com/game/10-game-open-world-terbaik-yang-pernah-ada/”

Breadcrumb 1
url: http://bacabox.com/
title: Home
Breadcrumb 2
url: http://bacabox.com/category/features/
title: Features
Breadcrumb 3
title: 10 Game Open World Terbaik Yang Pernah Ada
url: http://bacabox.com/game/10-game-open-world-terbaik-yang-pernah-ada/

Post count: 6535

Hi

The theme display at breadcrumb the primary category set at post settings: http://screencast.com/t/9aP3eXa6UR or if this is not set will display the first category of that post in alphabetical order.
I am not sure how do you want to change the breadcrumb’s structure so please provide more details about this so I can inspect this closer and maybe I can help.

Thanks!

Post count: 12

Hi

Thx for response now i got it. its because im not set the primary category.

now i have 2 goal :
want to show url like this “http://bacabox.com/game/10-game-open-world-terbaik-yang-pernah-ada/”
instead breadcrumb like this “bacabox.com › Features”

—– or —–

using breadcrumb domain.com › maincategory > post_title

is there a way to achieve this ?

thx again ,

Post count: 6535

Hi

By setting the primary category for the post the breadcrumbs will look like this: http://screencast.com/t/V0HcVw6KDhttp://screencast.com/t/oyTpPq0pIquw

Thanks!

Post count: 12

Hi,

Thx for the answer

I have more question, when user logout they redirect to homepage.
is there any way to make no redirect, i mean when user press loguot button they just loged out but remain on their current page.

Post count: 6535

Hi

To avoid the redirect to homepage when user logout replace the indicated line with this one: http://screencast.com/t/UeoVzzDVzNeE

<a href="' . wp_logout_url(get_permalink()) . '">' . __td("Logout") . '</a>

Thanks!

  • This reply was modified 10 years by Andrei L..
Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newsmag’ is closed to new topics and replies.