Khoros Community

Advisor
Advisor

Redirecting to newer content?

Hi,

We previously hosted some video content in a forum-based section. Due to a business case we created a new section for similar content based around blogs.

The majority of our search engine traffic is going to the older posts, which we'd like to remove in favour of the new section. I'm wondering if anybody has experience of similar, I have 2 questions related to this:

 

  • If you've ever removed content that appears first on a Google search, does the 2nd content listed then move to the top?
  • Is there a way (without initialization scrips) to redirect from each of these posts to the newer/different versions?

Thanks in advance Smiley Happy

0 Kudos
1 Reply 1
Honored Contributor
Honored Contributor

Re: Redirecting to newer content?

@Kev_BFor the first point, you can update robot.txt file to prevent its indexing in the google search(https://prnt.sc/m5b8rw).  Have a look at this discussion
https://lithosphere.lithium.com/t5/Li-Discussions/Google-indexing-in-a-closed-community/m-p/208970#M...
Here is the Robot.txt file documentation
https://lithosphere.lithium.com/t5/Community-Solutions/What-is-the-default-robots-txt-file-and-how-c...
For the second point, yes you can set redirection in Studio > Advanced > Page Initialization sectionIt will require some coding efforts.

<#if coreNode.id = 'BoardId' && page.name = 'ForumPage' >
	${http.response.setRedirectUrl("Target_URL")}
</#if>
Give kudos if you find my posts helpful or mark solution if it answers your query
Reply
Loading...