cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
%3CLINGO-SUB%20id%3D%22lingo-sub-508905%22%20slang%3D%22en-US%22%3ERedirecting%20to%20newer%20content%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-508905%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EWe%20previously%20hosted%20some%20video%20content%20in%20a%20forum-based%20section.%20Due%20to%20a%20business%20case%20we%20created%20a%20new%20section%20for%20similar%20content%20based%20around%20blogs.%3C%2FP%3E%3CP%3EThe%20majority%20of%20our%20search%20engine%20traffic%20is%20going%20to%20the%20older%20posts%2C%20which%20we'd%20like%20to%20remove%20in%20favour%20of%20the%20new%20section.%20I'm%20wondering%20if%26nbsp%3Banybody%20has%20experience%20of%20similar%2C%20I%20have%202%20questions%20related%20to%20this%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3EIf%20you've%20ever%20removed%20content%20that%20appears%20first%20on%26nbsp%3Ba%20Google%20search%2C%20does%20the%202nd%20content%20listed%20then%20move%20to%20the%20top%3F%3C%2FLI%3E%3CLI%3EIs%20there%20a%20way%20(without%20initialization%20scrips)%20to%20redirect%20from%20each%20of%20these%20posts%20to%20the%20newer%2Fdifferent%20versions%3F%3C%2FLI%3E%3C%2FUL%3E%3CP%3EThanks%20in%20advance%20%3CIMG%20class%3D%22emoticon%20emoticon-smileyhappy%22%20id%3D%22smileyhappy%22%20src%3D%22https%3A%2F%2Flithosphere.lithium.com%2Fi%2Fsmilies%2F16x16_smiley-happy.png%22%20alt%3D%22Smiley%20Happy%22%20title%3D%22Smiley%20Happy%22%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-508912%22%20slang%3D%22en-US%22%3ERe%3A%20Redirecting%20to%20newer%20content%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-508912%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Flithosphere.lithium.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60899%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%40Kev_B%3C%2FA%3EFor%20the%20first%20point%2C%20you%20can%20update%20robot.txt%20file%20to%20prevent%20its%20indexing%20in%20the%20google%20search(%3CA%20href%3D%22https%3A%2F%2Fprnt.sc%2Fm5b8rw).%26nbsp%3B%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fprnt.sc%2Fm5b8rw).%26nbsp%3B%3C%2FA%3E%20Have%20a%20look%20at%20this%20discussion%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Flithosphere.lithium.com%2Ft5%2FLi-Discussions%2FGoogle-indexing-in-a-closed-community%2Fm-p%2F208970%23M1835%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Flithosphere.lithium.com%2Ft5%2FLi-Discussions%2FGoogle-indexing-in-a-closed-community%2Fm-p%2F208970%23M1835%3CBR%20%2F%3E%3C%2FA%3EHere%20is%20the%20Robot.txt%20file%20documentation%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Flithosphere.lithium.com%2Ft5%2FCommunity-Solutions%2FWhat-is-the-default-robots-txt-file-and-how-can-I-access-or%2Fta-p%2F42752%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Flithosphere.lithium.com%2Ft5%2FCommunity-Solutions%2FWhat-is-the-default-robots-txt-file-and-how-can-I-access-or%2Fta-p%2F42752%3C%2FA%3E%3CBR%20%2F%3EFor%20the%20second%20point%2C%20yes%20you%20can%20set%20redirection%20in%20%3CSTRONG%3EStudio%20%26gt%3B%20Advanced%20%26gt%3B%20Page%20Initialization%26nbsp%3B%3C%2FSTRONG%3Esection%3CSTRONG%3E.%26nbsp%3B%3C%2FSTRONG%3EIt%20will%20require%20some%20coding%20efforts.%3C%2FP%3E%3CPRE%3E%26lt%3B%23if%20coreNode.id%20%3D%20'BoardId'%20%26amp%3B%26amp%3B%20page.name%20%3D%20'ForumPage'%20%26gt%3B%0A%20%24%7Bhttp.response.setRedirectUrl(%22Target_URL%22)%7D%0A%26lt%3B%2F%23if%26gt%3B%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent 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 🙂

1 Reply 1
Highlighted
Honored Contributor

@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