Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - AntiNSA2

Pages: 1 2 3 [4] 5 6 7 8 ... 23
46
Here is the script I am talking about:

http://search.cpan.org/~jasonk/Search-Sitemap-2.07/lib/Search/Sitemap/Ping.pm

and here is the online tool I am using .... http://tools.pingates.com/sitemap/

But I think it would be good for 4images to be integrated

47
I can say the above mod most recently posted for 1.7.7 does not work. Going back to the first page to see if it will work for 1.7.6.

48
i mean the random image cat thumbnail listed next to each categories name. when changing the cat order there is no red x as far as i remember. im using phone now so i cant check very well. i might have modded those files ... but i need all the mods made...sorry its not much helpful information..

49
Im replting by phone now, so i cant give links... but there are some seo sites and even a script that will allow you to enter the address of your sitemap and will ping all the search engines to tell them your sitemap has been updated. very useful i think. if you remove a category and google tries to crawl it based on information found in a sitenap created before the cat was removed, then you will get errors. i like to notify them instead of waiting for them to find out themselves.

50
It would be nice if we could ping all the major search engines from one click in the control panel to let them know of updated sitemap....

What do you think?

51
for some reason it said I already posted and I can not attach the files through modifying the post so I am sorry to have to post this just to add an attachment

52
I dont recall modifying those things... but maybe.. I dont have admin/functions.php but I do have admin_functions.php ... here is my admin/categories.php
and admin_functions.php   

I would love to get this working correctly.. I guess these files are to big to post inline so I have to attach them.

If I try to place the newest categories at the beginning, everything works except the thumbnail is no longer shown. However, if I Place them at the end the thumbnail works fine.

Eventually I would like to request a mod to randomise the category order, but  until then It would be great to get this working.

53
I have just notices that if I create a category and place it at the beginning, all the random category thumbnails dissappear....

Does anyone know why?

54
You can do a search for dynamic head title... not meta tags but similiar... search the forum for the keyword dynamic...

55
ok things I thought were ok with sitemap are now producing a different problem...

Google is looking for this:

http://thelifephotography.com/cat-show%20me%20the%20money-7.html

even though my sitemap says this at www.thelifephotography.com/googlex.php :
http://thelifephotography.com/cat-show_me_the_money-7.htm

so I am guessing google and not accept underscore _ as a character in an address. My questin is what to replace the underscore with to make replace a <space> in an address in the special characters?

ANd why is google looking for html files even though my sitemap says to look for htm files? :?

Ok, I got it working...
with this:
Code: [Select]
  $imgname = strtr($image['image_name'], ", éèêàëâúóíìáàABCDEFGHIJKLMNOPQRSTUVWXYZ","--eeeaeauoiiaaabcdefghijklmnopqrstuvwxyz");


and this for cats
Code: [Select]
  $imgname = strtr($image['image_name'], ", éèêàëâúóíìáàABCDEFGHIJKLMNOPQRSTUVWXYZ","--eeeaeauoiiaaabcdefghijklmnopqrstuvwxyz");
Code: [Select]
$img_url = $gallery_url.'img-'.$imgname.'-'.$imgid.'.html';
and this
Code: [Select]
$cat_url = $gallery_url.'cat-'.$catname.'-'.$catid.'.html';
The I replaced <spaces> with - and .htm with html....


But I have just came to a cold hard realization...

Somehow rewrite is not working...

I have placed my .htaccess @
Code: [Select]
/htdocs/.htaccesswhich is the same directory as 4images.

it looks like this
Code: [Select]
RewriteEngine On
RewriteRule ^sitemap.xml$ googlez.php
#RewriteBase /
RewriteRule ^cat-(.*)-([0-9]+)\.htm$ categories.php?cat_id=$2&%{QUERY_STRING}
RewriteRule ^cat\.htm$ categories.php?%{QUERY_STRING}
#Mod_bmollet : Image name in URL
RewriteRule ^img-(.*)-([0-9]+)\.htm$ details.php?image_id=$2&%{QUERY_STRING}
RewriteRule ^img([0-9]+)\.search.htm$ details.php?image_id=$1&%{QUERY_STRING}
RewriteRule ^img([0-9]+)\.lightbox.htm$ details.php?image_id=$1&%{QUERY_STRING}
RewriteRule ^sitemap.xml$ googlez.php
#Mod_bmollet : This is to make search function work  ( redirect links from search results )
RewriteRule ^search\.htm$ search.php?%{QUERY_STRING}
RewriteRule ^search\.([0-9]+)\.htm$ search.php?page=$1&%{QUERY_STRING}
RewriteRule ^lightbox\.htm$ lightbox.php?%{QUERY_STRING}
RewriteRule ^lightbox\.([0-9]+)\.htm$ lightbox.php?page=$1&%{QUERY_STRING}
RewriteRule ^sitemap.xml$ googlez.php

I know i did this three times.... Becuse 1 time didnt work.
my googlez.php creates the xml and looks like this:
Code: [Select]
<?
# Create Google Sitemap for 4images
# Created by Mai Minh (minh@maingo.com http://www.vna2z.com)
# Modified by Oliver van der Werf (info@flash-webdesign.de http://www.flash-webdesign.de)
# Date: 28/11/2006 | 02.01.2007
# You can send ping to Google with this request: http://www.google.com/webmasters/sitemaps/ping?sitemap=URL_TO_YOUR_SITEMAP
#---------------------------------

require("config.php");

$link=mysql_connect("$db_host","$db_user","$db_password");
mysql_select_db("$db_name") or die ("Cannot connect database!");

# 4images top page (with trailing slash)
$gallery_url = 'http://thelifephotography.com/';

# Priotity
//select between 0.0 and 1.0
//0.0 identifies the lowest priority page(s) on your website
//1.0 identifies the highest priority page(s) on your website
$prio_img = 0.5;
$prio_cat = 0.8;
$prio_profile = 0.1;

# Frequency
//"always", "hourly", "daily", "weekly", "monthly", "yearly" or "never"
$freq_img = 'daily';
$freq_cat = 'daily';
$freq_profile = 'daily';

# Use Short URLs
$shortURL = 1; // 0 or 1

# Print XML header
xml_head();

# Print URLs
$categories = mysql_query('SELECT cat_id, cat_name FROM ' . $table_prefix . 'categories');
while ($category = mysql_fetch_array($categories))
{
$catid = $category['cat_id'];
$catname = strtr($category['cat_name'], " éèêàëâúóíìáàABCDEFGHIJKLMNOPQRSTUVWXYZ","_eeeaeauoiiaaabcdefghijklmnopqrstuvwxyz");
if ($shortURL == 1) {
$cat_url = $gallery_url.'cat-'.$catname.'-'.$catid.'.html';
}else {
$cat_url = $gallery_url.'categories.php?cat_id='.$catid;
}

print_xml($cat_url,$prio_cat,$lastmod,$freq_cat);
}

$images = mysql_query('SELECT image_id,image_name,image_active,image_date FROM ' . $table_prefix . 'images');
while ($image = mysql_fetch_array($images))
{
if ($image['image_active'] == 1) {
$imgid = $image['image_id'];
           $imgname = strtr($image['image_name'], ", éèêàëâúóíìáàABCDEFGHIJKLMNOPQRSTUVWXYZ","--eeeaeauoiiaaabcdefghijklmnopqrstuvwxyz");
$date = $image['image_date'];
$lastmod = date("Y-m-d",$date)."T".date("H:i:s",$date)."+00:00";
if ($shortURL == 1) {
$img_url = $gallery_url.'img-'.$imgname.'-'.$imgid.'.html';
}else{
$img_url = $gallery_url.'details.php?image_id='.$imgid;
}
print_xml($img_url,$prio_img,$lastmod,$freq_img);
}
}

$profiles = mysql_query('SELECT user_id, user_lastaction FROM ' . $table_prefix . 'users WHERE user_id >= "1"');
while ($profile = mysql_fetch_array($profiles))
{

$profileid = $profile['user_id'];
$date = $profile['user_lastaction'];
$date = date("Y-m-d",$date)."T".date("H:i:s",$date)."+00:00";
$profile_url = $gallery_url.'member.php?action=showprofile&amp;user_id='.$profileid;
print_xml($profile_url,$prio_profile,$date,$freq_profile);
}

# Print XML footer
xml_foot();

function xml_head() {
$freq = 'daily';
$priority = '1.0';
$mod = date("Y-m-d")."T".date("H:i:s")."+00:00";
echo "<?xml version='1.0' encoding='UTF-8'?>
<urlset xmlns=\"http://www.google.com/schemas/sitemap/0.84\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
xsi:schemaLocation=\"http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd\">";
}

#-----------------------------------------------
# xml_foot
#-----------------------------------------------
function xml_foot() {
echo "
</urlset>";
}

#-----------------------------------------------
# print_xml
#-----------------------------------------------
function print_xml($url,$priority,$lastmod,$changefreq) {
$temp = "<url>
<loc>$url</loc>";
$temp .= "  <priority>$priority</priority>";
if ($lastmod != '') {
$temp .="  <lastmod>$lastmod</lastmod>";
}
$temp .= "  <changefreq>$changefreq</changefreq>
</url>";
echo $temp;
}
?>

Things are getting indexed like this
Code: [Select]
  http://thelifephotography.com/img-the-chinese-lower-class-struggle-for-work-daily-as-global-economic-crises-widens-as-unemployment-increopeases--23.html which I hope will prevent the %20 stuff...

But the problem is when you go to my site the actual url is still
Code: [Select]
http://thelifephotography.com/img-these_workers_too_but_on_a_smile_for_the_camera..._people_like_them_who_are_at_the_greatest_immediate_risk_if_you_come_early_all-142.htm Is there supposed to be some kind of rewrite to reversly convert all addresses to match the characters replaced in the character map?


THanks for any help.

OK!!!!! I found out why!!!

God I dont know why it takes my brain so long to work!!!!

If you are using the Google BEST SEO mod you  must edit your sessions.php to make the special characthers match the special characters in your google.php file!!!!!


56
I think the easiest way is through rss and using magpie to display rss feed

57
Discussion & Troubleshooting / Re: Googlebot is indexing sessionid
« on: May 19, 2009, 06:51:59 AM »
@Lucifix

... and you use also [MOD] Treat bots as users with less rights ... ?
... both modifications (by martrix and v@no) works perfect together for hiding session IDs for google bots ... !

I am trying to understand... wouldnt this
Code: [Select]
I stubled upon an article about the robots.txt file accepting wildcards (or more exact the bots that read robots.txt) I haveŽnt seen any forumpost so...

To keep bots from indexing urls containing sessionind i have added the following to my robots.txt

User-Agent: *
Allow: /
Disallow: /*?sessionid=

I have tested this against the Google bot via Google sitemaps and it is OK by the tool used.

I am no expert on this and i have just implemented it so the impact on indexing is a bit unclear but for me worth a try...

To read more:

http://www.smart-it-consulting.com/article.htm?node=140&page=46
http://www.ysearchblog.com/archives/000372.html
http://www.webmasterstalks.com/seo-4-smf/robots-txt-t1040.0.html

If you dont know what robots.txt is, start here: http://www.robotstxt.org/
be better? if not , why?

58
Can all the super experts post their robots.txt here?  I am trying to look at the best way to ad seo to 4images and this would be a great insight to see how your logic on the subject works. I hope it is not too much to ask and appreciate it.

I have created this robots.txt... can someone tell me if it is ok?
Code: [Select]
User-Agent: *
Allow: /
Disallow: /*?sessionid=
Disallow: /*?l=english
Disallow: /*?l=vietnam
Disallow: /*?l=russian
Disallow: /*?l=nederlands
Disallow: /*?l=swedish
Disallow: /*?l=korean
Disallow: /*?l=french
Disallow: /*?l=indonesian
Disallow: /*?l=portuguese
Disallow: /*?l=greek
Disallow: /*?l=kurdish
Disallow: /*?l=Taiwan
Disallow: /*?l=magyar
Disallow: /*?l=chinese
Disallow: /*?l=polish
Disallow: /*?l=spanish
Disallow: /*?l=hebrew
Disallow: /*?l=farsi
Disallow: /*?l=turkey
Disallow: /*?l=bulgarian
Disallow: /*?l=Arabic
Disallow: /*?l=brazilian
Disallow: /*?l=slovensko
Disallow: /*?l=italian
Disallow: /*?l=srpski
Disallow: /*?l=deutsch
Disallow: /*&mode=search(&|$)
Disallow: /search.php
Disallow: /temp/       # Die Dateien sind sehr kurzlebig
Disallow: /logfiles/   # Die ändern sich jeden Tag
Disallow: /cgi-bin/    # CGI Ausgaben nicht indexieren
Disallow: /member.php
Disallow: /*.search.htm

59
Im getting ready to do this on 1.7.6... can you tell me will it have any affec ton the sitemap and does it also have any positive effect on SEO or is it only eye candy for the site user?

for 1.7.6 do we do the 1.7.1 or the 1.7.0 version? SOmeone earlier said the 1.7.0 version until it tells you too stop.. can this be true?

60
why not ad a robot.txt nofollow to not allow google to access lightbox.php?

Pages: 1 2 3 [4] 5 6 7 8 ... 23