Notifications
Clear all

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

8 Posts
3 Users
1 Likes
331 Views
Shun
Posts: 6
 Shun
Topic starter
(@shun)
Active Member
Joined: 3 months 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?

wpForo Version
2.0.5
WordPress Version
6.0.1
Topic Tags
7 Replies
Chris
Posts: 2335
Admin
(@chris)
Support Team
Joined: 1 year 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
(@shun)
Joined: 3 months 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: 7 years ago

Support Team
Posts: 9912

@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
(@shun)
Joined: 3 months 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: 7 years ago

Support Team
Posts: 9912

@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
(@shun)
Joined: 3 months 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.

Shun
Posts: 6
 Shun
Topic starter
(@shun)
Active Member
Joined: 3 months ago

I solved this problem by writing PHP code.