| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
AmirAbbas phpBB SEO Team


Joined: 11 May 2006 Posts: 529 Location: IRAN
|
Posted: Tue Sep 12, 2006 6:52 am Post subject: how many link in first page is allowed |
|
|
hello again
i checked my forum first page in this site
-http://www.submitexpress.com/analyzer/
in report i saw this alarm
| Code: | 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
can it cause problem for my forum ? |
_________________ چهار گوش - طراحی وب - مجله طراحی وب |
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Tue Sep 12, 2006 10:46 am Post subject: Re: how many link in first page is allowed |
|
|
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: |
if ( $row['user_allow_viewonline'] )
{
$user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . 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&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>';
$logged_hidden_online++;
} |
Replace with :
| Code: |
// 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&" . 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&" . 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 || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
AmirAbbas phpBB SEO Team


Joined: 11 May 2006 Posts: 529 Location: IRAN
|
Posted: Wed Sep 13, 2006 6:18 am Post subject: Re: how many link in first page is allowed |
|
|
thanks a lot
i changed page_header.php
it only affects on who is online part
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  |
_________________ چهار گوش - طراحی وب - مجله طراحی وب |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
AmirAbbas phpBB SEO Team


Joined: 11 May 2006 Posts: 529 Location: IRAN
|
Posted: Wed Sep 13, 2006 9:20 am Post subject: Re: how many link in first page is allowed |
|
|
very good
thank you |
_________________ چهار گوش - طراحی وب - مجله طراحی وب |
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |