how many link in first page is allowed

Discussions about SEO principles. Learn how to get better indexed.

Moderator: Moderators

how many link in first page is allowed

Postby AmirAbbas » Tue Sep 12, 2006 6:52 am

hello again

i checked my forum first page in this site

-http://www.submitexpress.com/analyzer/

in report i saw this alarm

Code: Select all
This page contains too many URLs.
This tag contains 115 urls. Some Search Engines have problems with more than 100 urls on a page.


i have 28 link to users profile in first page :cry:

can it cause problem for my forum ?
User avatar
AmirAbbas
phpBB SEO Team
phpBB SEO Team
 
Posts: 534
Joined: Thu May 11, 2006 3:30 pm
Location: IRAN

Advertisement

Postby dcz » Tue Sep 12, 2006 10:46 am

Well, the limit of one hundred is not an absolute limit, you should not go too far over 100 links per html page, whatever it is.

The profile links can only be shown to logged user to lower the number.

This will be part of the final zero dupe, but it's quite easy to do :

Open includes/page_header.php

Find:
Code: Select all
            if ( $row['user_allow_viewonline'] )
            {
               $user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>';
               $logged_visible_online++;
            }
            else
            {
               $user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>';
               $logged_hidden_online++;
            }

Replace with :

Code: Select all
            // www.phpBB-SEO.com SEO TOOLKIT BEGIN
            if ( $row['user_allow_viewonline'] )
            {
               $user_online_link = ($userdata['session_logged_in']) ? '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>' : '<span ' . $style_color . '>' . $row['username'] . '</span>';
               $logged_visible_online++;
            }
            else
            {
               $user_online_link = ($userdata['session_logged_in']) ? '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>' : '<span ' . $style_color . '>' . $row['username'] . '</span>';
               $logged_hidden_online++;
            }
            // www.phpBB-SEO.com SEO TOOLKIT END


This will do the same as per this site, User name will have the same custom color as they should, but the link will only be build for online users in the user online list of index.php.

I'll put together a mod to do the same for all profiles links as it's done here.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Postby AmirAbbas » Wed Sep 13, 2006 6:18 am

thanks a lot

i changed page_header.php

it only affects on who is online part :roll:

all the profile links in "last post" section are active
all the moderator profile link under each forum is active
and the link of the last registered person is active too


maximum number of link in my first page is 150 link
if i remove users profile in in lat post section , 33 link will remove from index page. if i remove last post image , 26 link will remove
and if i remove moderators profile link , 6 link will remove

150 -33 -26 -6 = 85 :roll:
User avatar
AmirAbbas
phpBB SEO Team
phpBB SEO Team
 
Posts: 534
Joined: Thu May 11, 2006 3:30 pm
Location: IRAN

Postby dcz » Wed Sep 13, 2006 8:19 am

As per this site :)

I'll publish very soon the full code changes for this ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Postby AmirAbbas » Wed Sep 13, 2006 9:20 am

very good :D
thank you
User avatar
AmirAbbas
phpBB SEO Team
phpBB SEO Team
 
Posts: 534
Joined: Thu May 11, 2006 3:30 pm
Location: IRAN


Return to SEO Principles

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 5 guests