4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: flyfreak 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
-
bump
-
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?
-
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!
-
so try this ...
... you can edit the keyword-link in /includes/functions.php in section "function show_image" ...
... there find the following code snipet ...
$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 ...
$keywords .= (($keywords != "" ) ? ", " : "")."<a rel=\"nofollow\" href=\"".$site_sess->url(ROOT_PATH."search.php?search_keywords=".urlencode($val))."\">".format_text($val, 1, 0, 1)."</a>";
-
so try this ...
... you can edit the keyword-link in /includes/functions.php in section "function show_image" ...
... there find the following code snipet ...
$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 ...
$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!
-
(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 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..
-
(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 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.
-
How to put noindex in http://site.com/search.php?search_keywords=blabla ?
-
How to put noindex in http://site.com/search.php?search_keywords=blabla ?
Eather control it so there is no links to http://site.com/search.php?search_keywords=blabla, or use robots.txt on search.php
-
another way to put noindex in site.com/search.php?search_keywords=blabla :?:
-
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?
-
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!
-
I am starting to understand...
Question:
If you put no follow into the link, that will keep google from adding the keyword links to the search index, however will google index the keywords for the picture being viewed?
for example if you have a picture of a black cat, and the keywords are "Black" and "Cat", you want your search to come when people search for black cat...
But does no follow keep google from associating Black and cat keywords with your image?
I use the image keywords in the meta tags without link, but I also no that google doesnt care about keywords..... Can some one answer these questions?
And why not add the conditional taggs and treat bots as a user mod? WOuldnt that be better? THen you dont even have to show them the link,>>??