-
Setting the target on the result links
Hi, when people click on the result links on my search results page, I need the links to use the target "_parent". Right now it seems to be going to _self.
For example I need the result links to have a target like this:
<a href="http://mysiteeeee.com" target="_parent">go to site</a>
Is there a way to do this? I'm using the "javascript platform" method and I checked the settings.js files but don't see anything for this except mabye UseLinkTarget but I am not sure what that is for?
Thanks for the help
-
You need to change the "Results linking" settings in the "Search page" configuration window. No need to look inside the JS source code.
-
Ah! If it was snake it would have bit me. Alot easier then I was thinking.
Thanks for the quick reply it works great.
-
More Tweaking
Hello,
I found this message and I need to tweak the results even more.
Example of results:
1. http://localhost:100/
Termos encontrados: 1 - Relevāncia: 15
2. http://localhost:100/Galeria.html
Termos encontrados: 1 - Relevāncia: 15
3. http://localhost:100/Solucoes.html
Termos encontrados: 1 - Relevāncia: 14
The first result I don't want to be shown because it's the index page, but my biggest issue is that when I click the link I don't want to open a new window or a new tab and it's making.
Using the Config Tool, at Search Page, I have the results linking as "Current Page" which works, so i see these results in the same webpage, now how can I make the Link Result to be also in this page?
Regards,
Pedro ( GasPower )
-
Adding this meta tag on your page will stop the index page being indexed.
<meta name="robots" content="noindex">
I don't really understand the rest of the issue. If result linking to the "current page" works, then how can it also not work?
-
Found the issue
Hello,
thank you for the reply.
I'm going to test that line.
About the issue, I was saving the file in another location, so actually I have 2 search.js files.
I found the problem and it works.
Thank you
-
"Search page" config window
I'm new at this - "You need to change the "Results linking" settings in the "Search page" configuration window."
Where is the config window you are referring to?
-
The Search Page configuration window is under the menu,
Configure / Search Page.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules