Author Topic: Nofollow at keywords-links  (Read 18028 times)

0 Members and 1 Guest are viewing this topic.

Offline flyfreak

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • Flyfreak.dk
Nofollow at keywords-links
« on: March 10, 2009, 05:16:24 PM »
Hello!

Can anyone tell me how to overwrite the "normal" link-tag whit the Nofollow-tags (i dont want any seo-value at that sites like http://flyfreak.dk/foto/search.htm?search_keywords=Malta )

Thanks a lot!

Emil
Emil
Main site: www.flyfreak.dk
4Images site: www.flyfreak.dk/foto

Offline flyfreak

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • Flyfreak.dk
Re: Nofollow at keywords-links
« Reply #1 on: March 12, 2009, 03:26:20 PM »
bump
Emil
Main site: www.flyfreak.dk
4Images site: www.flyfreak.dk/foto

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Nofollow at keywords-links
« Reply #2 on: March 12, 2009, 04:05:41 PM »
4images v1.7.6 adds nofollow tag to all links it creates in descriptions, comments, etc
If you are talking about links within your site, then...what's the point? Maybe you'd better off control seo via robots.txt instead?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline flyfreak

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • Flyfreak.dk
Re: Nofollow at keywords-links
« Reply #3 on: March 12, 2009, 04:32:29 PM »
4images v1.7.6 adds nofollow tag to all links it creates in descriptions, comments, etc
If you are talking about links within your site, then...what's the point? Maybe you'd better off control seo via robots.txt instead?

I don´t think that you understand me... i don´t mean in descriptions, comments, etc. but the keywords whit links to the search of the search with the keyword - see screenshot

If i look in the surcecode can i see this
<a href="./search.htm?search_keywords=737">737</a>

But insted, i want this

<a rel="nofollow" href="./search.htm?search_keywords=737">737</a>


Thanks a lot!
Emil
Main site: www.flyfreak.dk
4Images site: www.flyfreak.dk/foto

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Nofollow at keywords-links
« Reply #4 on: March 12, 2009, 04:51:35 PM »
so try this ...

... you can edit the keyword-link in /includes/functions.php in section "function show_image" ...
... there find the following code snipet ...
Code: [Select]
$keywords .= (($keywords != "" ) ? ", " : "")."<a href=\"".$site_sess->url(ROOT_PATH."search.php?search_keywords=".urlencode($val))."\">".format_text($val, 1, 0, 1)."</a>";
... and use this code snipet instead ...
Code: [Select]
$keywords .= (($keywords != "" ) ? ", " : "")."<a rel=\"nofollow\" href=\"".$site_sess->url(ROOT_PATH."search.php?search_keywords=".urlencode($val))."\">".format_text($val, 1, 0, 1)."</a>";
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline flyfreak

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • Flyfreak.dk
Re: Nofollow at keywords-links
« Reply #5 on: March 13, 2009, 04:31:31 PM »
so try this ...

... you can edit the keyword-link in /includes/functions.php in section "function show_image" ...
... there find the following code snipet ...
Code: [Select]
$keywords .= (($keywords != "" ) ? ", " : "")."<a href=\"".$site_sess->url(ROOT_PATH."search.php?search_keywords=".urlencode($val))."\">".format_text($val, 1, 0, 1)."</a>";
... and use this code snipet instead ...
Code: [Select]
$keywords .= (($keywords != "" ) ? ", " : "")."<a rel=\"nofollow\" href=\"".$site_sess->url(ROOT_PATH."search.php?search_keywords=".urlencode($val))."\">".format_text($val, 1, 0, 1)."</a>";

Fantastic! Thanks a lot!
Emil
Main site: www.flyfreak.dk
4Images site: www.flyfreak.dk/foto

Offline I_Want_Mods_2

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Nofollow at keywords-links
« Reply #6 on: March 13, 2009, 07:41:48 PM »
(i dont want any seo-value at that sites like http://flyfreak.dk/foto/search.htm?search_keywords=Malta )
Why you don't want seo value?
I use 4images 1.7.6

Offline flyfreak

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • Flyfreak.dk
Re: Nofollow at keywords-links
« Reply #7 on: March 14, 2009, 11:39:11 AM »
(i dont want any seo-value at that sites like http://flyfreak.dk/foto/search.htm?search_keywords=Malta )
Why you don't want seo value?

Take this example: A picture use the keywords "svæveflyvnming" and "andelsbjergene" - no other pictures use the same keywords

Because there is no other pictures using the same keyword, will the searchresults be exatly the same, just with differnt url´s.
And google think now that it is spam, when you want two identical pages indexed at google..
Emil
Main site: www.flyfreak.dk
4Images site: www.flyfreak.dk/foto

Offline I_Want_Mods_2

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Nofollow at keywords-links
« Reply #8 on: March 14, 2009, 07:12:15 PM »
(i dont want any seo-value at that sites like http://flyfreak.dk/foto/search.htm?search_keywords=Malta )
Why you don't want seo value?

Take this example: A picture use the keywords "svæveflyvnming" and "andelsbjergene" - no other pictures use the same keywords

Because there is no other pictures using the same keyword, will the searchresults be exatly the same, just with differnt url´s.
And google think now that it is spam, when you want two identical pages indexed at google..
flyfreak, you are genius!
10x mawenzi!
Now I'm using this mod.
I use 4images 1.7.6

Offline flyfreak

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • Flyfreak.dk
Re: Nofollow at keywords-links
« Reply #9 on: March 14, 2009, 11:32:36 PM »
(i dont want any seo-value at that sites like http://flyfreak.dk/foto/search.htm?search_keywords=Malta )
Why you don't want seo value?

Take this example: A picture use the keywords "svæveflyvnming" and "andelsbjergene" - no other pictures use the same keywords

Because there is no other pictures using the same keyword, will the searchresults be exatly the same, just with differnt url´s.
And google think now that it is spam, when you want two identical pages indexed at google..
flyfreak, you are genius!
10x mawenzi!
Now I'm using this mod.

It won´t boost your rank in the search energies, but prevent bad rankings after the engines has discovered the problem. Before i discovered this problem had i an pagerank at my fotosite at 2, but then google discovered the problem and now i dont have a good pagerank - now have i started to rebuild my "trust" too google.
Emil
Main site: www.flyfreak.dk
4Images site: www.flyfreak.dk/foto

Offline I_Want_Mods_2

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Nofollow at keywords-links
« Reply #10 on: March 16, 2009, 10:15:16 AM »
I use 4images 1.7.6

Offline flyfreak

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • Flyfreak.dk
Re: Nofollow at keywords-links
« Reply #11 on: March 16, 2009, 11:53:49 AM »
Emil
Main site: www.flyfreak.dk
4Images site: www.flyfreak.dk/foto

Offline I_Want_Mods_2

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Nofollow at keywords-links
« Reply #12 on: March 17, 2009, 01:56:27 PM »
another way to put noindex in site.com/search.php?search_keywords=blabla  :?:
I use 4images 1.7.6

Offline AntiNSA2

  • Hero Member
  • *****
  • Posts: 774
  • As long as I can finish my site before I die.
    • View Profile
    • http://www.thelifephotography.com
Re: Nofollow at keywords-links
« Reply #13 on: May 17, 2009, 09:01:23 PM »
So you are saying to disallow google indexing your site of all the keywords in your images/4images database? Isnt that a bad thing?

I have different images which share the same keywords.... You are saying that is a bad thing for goodle so just block all keywords?

Is it best to set no follow for this mod?

What does everyone think?
As long as I can finish my site before I die.

Offline flyfreak

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • Flyfreak.dk
Re: Nofollow at keywords-links
« Reply #14 on: May 17, 2009, 09:26:29 PM »
So you are saying to disallow google indexing your site of all the keywords in your images/4images database? Isnt that a bad thing?

Yes. Because google thinks that you are a spammer, when you have a lot of sites with the same content and just a different URL.
Example: You could have a site with a picture with the keyword "Denmark". None of your other pictures havent got that keyword. And your are running two languages on your gallery.

Now could your url both be:
/img76.htm
/img76.htm?l=English
/search.htm?search_keywords=Denmark
/search.htm?search_keywords=Denmark&l=English

How can google know witch site it should rank higest? Why should google trust you when you try to index 4 pages with the same content?

This is called dublicate content



Is it best to set no follow for this mod?


Yes!
Emil
Main site: www.flyfreak.dk
4Images site: www.flyfreak.dk/foto