[archive] phpBB SEO Advanced mod Rewrite V 0.0.2

phpBB2 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting categories, forums and topic titles in their URLs.

Moderator: Moderators

Postby Hannibal_King » Thu Aug 24, 2006 5:44 pm

i am using simple subforums mod and the addon for this mod that is on this site... :(
Hannibal_King
PR0
PR0
 
Posts: 78
Joined: Thu Jun 22, 2006 1:34 pm

Advertisement

Postby dcz » Thu Aug 24, 2006 9:19 pm

Ho, all right.

Have you noticed the update on the add on?

And did you installed "today at yesterday" at mod as well for sub forums ?

Because this part in not in the default install and needs minor tweak as well.

Shall we use either the yesterday at or the sub forum add on thread to go further on 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 Hannibal_King » Fri Aug 25, 2006 6:11 am

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
Hannibal_King
PR0
PR0
 
Posts: 78
Joined: Thu Jun 22, 2006 1:34 pm

Postby dcz » Fri Aug 25, 2006 9:10 am

So it is the today at yesterday add on for subforum.

Your link was a 404, so I cannot help you directly, but here are the additional code changes for this case : http://boards.phpbb-seo.com/phpbb-seo-mods/discussions-vt87-15.html#1744

++
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 Hannibal_King » Fri Aug 25, 2006 10:16 am

sorry, i forgot to write link on my viewforum :oops:

//link deleted, not needed now becuase it was fixed thanks to you dcz :)
Hannibal_King
PR0
PR0
 
Posts: 78
Joined: Thu Jun 22, 2006 1:34 pm

Postby JanoF » Sun Sep 10, 2006 1:22 pm

I am install this mod and I have got to problem.
On index.php mám this http://www.phpbb.sk/forum.php?c=1 et non this http://www.phpbb.sk/informacie-vc1.html

Why? Errors I am undo certainly nowhere...


//edit: problem is solved :) is there index.php and i have got to forum.php
User avatar
JanoF
 
Posts: 43
Joined: Tue May 30, 2006 4:01 pm

Postby Hannibal_King » Thu Sep 28, 2006 1:31 pm

Hello,

i have a strange problem now :D i can fix it :lol:

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? :?
Hannibal_King
PR0
PR0
 
Posts: 78
Joined: Thu Jun 22, 2006 1:34 pm

Postby dcz » Fri Sep 29, 2006 12:03 am

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 || 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 Hannibal_King » Fri Sep 29, 2006 1:02 pm

hmm, robots.txt is here:
http://www.firefly.pc-corner.biz/robots.txt

it is good, or no? :(
Hannibal_King
PR0
PR0
 
Posts: 78
Joined: Thu Jun 22, 2006 1:34 pm

Postby dcz » Fri Sep 29, 2006 9:08 pm

Yes Hannibal_King, it is good.
Again, try to acknowledge post's URL are to fight with if we want to end up with a decent PageRank and PageRank Transmission.


A Google Dance is currently going on as I write this post, so expect some good news ;)
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 993ti » Fri Sep 29, 2006 10:41 pm

Small addon if you are using the similar topics mod found here

Code: Select all
#####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.
993ti
 
Posts: 16
Joined: Sat Aug 26, 2006 6:25 pm

Postby dcz » Sat Sep 30, 2006 9:07 am

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: Select all
#
#-----[ 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 || 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 arch_stanton » Wed Oct 04, 2006 9:52 am

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?
arch_stanton
PR1
PR1
 
Posts: 163
Joined: Wed Oct 04, 2006 9:48 am

Postby dcz » Wed Oct 04, 2006 8:33 pm

And Welcome :D

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 || 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

Topic url not working

Postby yash » Tue Oct 24, 2006 12:44 pm

I am using your mod but its not working for topic section.

Url of the site: http://www.fashion-trendz.info/

Regards
Yash Pal
yash
 
Posts: 2
Joined: Tue Oct 24, 2006 12:40 pm

PreviousNext

Return to phpBB2 Advanced mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 3 guests