| :: |
| Author |
Message |
Hannibal_King PR0

Joined: 22 Jun 2006 Posts: 78
|
Posted: Thu Aug 24, 2006 5:44 pm Post subject: Re: [archive] phpBB SEO Advanced mod Rewrite V 0.0.2 |
|
|
i am using simple subforums mod and the addon for this mod that is on this site...  |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
|
| Back to top |
|
 |
Hannibal_King PR0

Joined: 22 Jun 2006 Posts: 78
|
Posted: Fri Aug 25, 2006 6:11 am Post subject: Re: [archive] phpBB SEO Advanced mod Rewrite V 0.0.2 |
|
|
yes, i have noticed the update of the addon, i have installed it again and i think this is the problem, in viewforum.php
if you want to see the viewforum, it is right here -http://www.pc-corner.biz/viewforum.php
and the addon i have installed to integrate today/yesterday mod with Simple Subforums mod
http://www.phpbbstyles.com/viewtopic.php?p=51653#51653 |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
|
| Back to top |
|
 |
Hannibal_King PR0

Joined: 22 Jun 2006 Posts: 78
|
Posted: Fri Aug 25, 2006 10:16 am Post subject: Re: [archive] phpBB SEO Advanced mod Rewrite V 0.0.2 |
|
|
sorry, i forgot to write link on my viewforum
//link deleted, not needed now becuase it was fixed thanks to you dcz  |
|
|
| Back to top |
|
 |
JanoF

Joined: 30 May 2006 Posts: 43
|
|
| Back to top |
|
 |
Hannibal_King PR0

Joined: 22 Jun 2006 Posts: 78
|
Posted: Thu Sep 28, 2006 1:31 pm Post subject: Re: [archive] phpBB SEO Advanced mod Rewrite V 0.0.2 |
|
|
Hello,
i have a strange problem now i can fix it
on my forum pc-corner.biz in google i have some indexed posts, that is OK, but on the other forum - firefly.pc-corner.biz there are no indexed posts by google and i dont know why where could be the problem plase?  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
Posted: Fri Sep 29, 2006 12:03 am Post subject: Re: [archive] phpBB SEO Advanced mod Rewrite V 0.0.2 |
|
|
I bet pc-corner.biz is older than firefly.pc-corner.biz.
I bet the first one did not use a proper robots.txt before you installed the phpBB SEO mod rewrite, thus post went spidered back then and did not vanished yet.
I bet the second domain, being newer and installed from (almost) the beginning with a proper robots.txt, thus not allowing post url to be cached, because they are duplicates
++ |
_________________ 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 |
|
 |
Hannibal_King PR0

Joined: 22 Jun 2006 Posts: 78
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
|
| Back to top |
|
 |
993ti
Joined: 26 Aug 2006 Posts: 16
|
Posted: Fri Sep 29, 2006 10:41 pm Post subject: Re: [archive] phpBB SEO Advanced mod Rewrite V 0.0.2 |
|
|
Small addon if you are using the similar topics mod found here
| Code: |
#####OPEN####
viewtopic.php
######FIND#####
$title = (strlen($similar['topic_title']) > 40) ? (substr($similar['topic_title'], 0, 37) . '...') : $similar['topic_title'];
######AFTER, ADD#####
$seo_topic_name = $similar['topic_title'];
######FIND#######
$topic_url = '<a href="'. append_sid("viewtopic.$phpEx?". POST_TOPIC_URL .'='. $similar['topic_id']) .'">'. $title . '</a>';
#####AFTER, ADD#####
$seo_forum_name = $similar['forum_name'];
|
There might be some more things to do like links to profiles but i stripped those out. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
Posted: Sat Sep 30, 2006 9:07 am Post subject: Re: [archive] phpBB SEO Advanced mod Rewrite V 0.0.2 |
|
|
Nice work, you're doing well with the phpBB SEO mod Rewrite grammar
This mod needs to check for censored words in topic titles though, and to take care about the forum name if you keep them in the mod.
The full story is :
| Code: | #
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
// Similar Topics
$sql = "SELECT topic_id
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_forum_name_save = $seo_forum_name;
// www.phpBB-SEO.com SEO TOOLKIT END
#
#-----[ FIND ]------------------------------------------
#
$title = (strlen($similar['topic_title']) > 40) ? (substr($similar['topic_title'], 0, 37) . '...') : $similar['topic_title'];
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
// Restore Censor on topic titles
$similar['topic_title'] = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $similar['topic_title']) : $similar['topic_title'];
$seo_forum_name = $similar['forum_name'];
$seo_topic_name =$similar['topic_title'];
// www.phpBB-SEO.com SEO TOOLKIT END
#
#-----[ FIND ]------------------------------------------
#
} // while
} // for $i
} // if ( $count_similar > 0 )
#
#-----[ AFTER, ADD ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_forum_name = $seo_forum_name_save;
// www.phpBB-SEO.com SEO TOOLKIT END
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM |
The update I am working on will standardise a lot better the way we grab vars for additional link rewriting.
++ |
_________________ 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 |
|
 |
arch stanton PR1

Joined: 04 Oct 2006 Posts: 117
|
Posted: Wed Oct 04, 2006 9:52 am Post subject: Re: [archive] phpBB SEO Advanced mod Rewrite V 0.0.2 |
|
|
Hi, I have tried to install this mod using EasyMod on my test board (a vanilla phpbb 2.0.21 installation, CyberAlien guest session id removal mod installed).
But I get the following critical error message from EasyMod:
"FIND FAILED: In file [search.php] could not find:
for($i = 0; $i < count($searchset); $i++)
{
MOD script line #386 :: FAQ :: Report"
Where am I going wrong? Do I need to install manually? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
Posted: Wed Oct 04, 2006 8:33 pm Post subject: Re: [archive] phpBB SEO Advanced mod Rewrite V 0.0.2 |
|
|
And Welcome
Well, this piece of code is findable in search.php 2.0.21, but I never tested this mod with eazyMod so far.
There are not too many code changes, so you could do it by hand, at least for search.php.
Send us a download link of zip of the file (search.php is very long to post) if you do not find it.
Could be a mod or just some extra spaces tricking Eazymod.
There is one thing though you won't be able to do with easymod is the .htaccess. That's why it is advised to first test locally just to be sure to set the proper paths in it (nothing difficult, but it's a rather on/off thing).
Pretty much all cases have been covered so far, hit the search link.
++ |
_________________ 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 |
|
 |
yash
Joined: 24 Oct 2006 Posts: 2
|
Posted: Tue Oct 24, 2006 12:44 pm Post subject: Topic url not working |
|
|
I am using your mod but its not working for topic section.
Url of the site: http://www.fashion-trendz.info/
Regards
Yash Pal |
|
|
| Back to top |
|
 |
|
|