Notifications
Clear all

[Solved] How to not index a topic page with "?orderby=newest"?

8 Posts
3 Users
1 Reactions
807 Views
Posts: 6
 Shun
Topic starter
(@shun)
Active Member
Joined: 2 years ago

I am running a community website for Japanese users who wants to learn Korean language.

 

This page is got indexed in Google, but I don't want it.

Sorted page is here

 

How to not index these sorted pages?

Need to write some code?

Topic Tags
7 Replies
Chris
Posts: 3627
(@chris)
Famed Member
Joined: 3 years ago

Hi @shun,

go to Dashboard > wpForo > Settings > wpForo SEO settings and add the needed URL in Noindex forum page URLs field.

5 Replies
 Shun
(@shun)
Joined: 2 years ago

Active Member
Posts: 6

Hello @chris ,

Thank you for your reply.

 

Do I need to do it for every page if I use that feature?

( I want every page with "?orderby=newest" be noindexed. )

Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10591

@shun,

this is a topic, and the last part "?orderby=newest" is just a sorting data, you should not use it in the no-index texatea. You should insert the URL of each topic without "?orderby=newest" to stop google indexing it.

You can use wildcards (*) to stop indexing all topics of certain forum, for example:

 https://kankokugo.push.co.jp/qa/how-to-say/* 
 Shun
(@shun)
Joined: 2 years ago

Active Member
Posts: 6

@robert ,

What do you mean this?

What is insert? insert to where?

and I don't want to stop indexing all topics.

Posted by: @robert

You should insert the URL of each topic without "?orderby=newest" to stop google indexing it.

You can use wildcards (*) to stop indexing all topics of certain forum, for example:

  https://kankokugo.push.co.jp/qa/how-to-say/*  
Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10591

@shun,

If you don't want to remove all topics of a certain forum, then you don't need to use the wildcards.

There is no way to exclude all URLs with the "?orderby=newest" suffix. We'll add a built-in feature to set "noindex" or change the canonical URL to the main topic URL without the suffix in the upcoming versions.

 Shun
(@shun)
Joined: 2 years ago

Active Member
Posts: 6

@robert ,

I look forward to the upcoming versions.

For now, I will try to resolve the issue with writing some PHP code.

 

Thanks for your fast, kind response.

Posts: 6
 Shun
Topic starter
(@shun)
Active Member
Joined: 2 years ago

I solved this problem by writing PHP code.