topics_anywhere mod and simple rewrite mod

Discussions and support about the different URL Rewriting techniques for phpBB2.

Moderator: Moderators

topics_anywhere mod and simple rewrite mod

Postby AmirAbbas » Fri May 26, 2006 3:15 pm

topics anywhere and simple rewrite mod

i've installed topics anywhere mod in localhost
this mod is very useful but it dosn't work with simple rewrite mod
the output link is like standard URLs with .php prefix
at this time i have two different url for one topic
i think topics_anywhere.php file must be edited
can you guide me

thanks :wink:
User avatar
AmirAbbas
phpBB SEO Team
phpBB SEO Team
 
Posts: 534
Joined: Thu May 11, 2006 3:30 pm
Location: IRAN

Advertisement

Postby dcz » Fri May 26, 2006 11:51 pm

topic anywhere is really something to use with great care, because it can become very fast put huge loads on the server.

I already planned though to take a look at it, but it's not a good working solution I think.
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 » Sat May 27, 2006 8:24 am

because i need a mod for making RSS feeds
topics anywhere can do it for me.
is there any other mod (compatible with simple rewrite mod) ?
i want to make a RSS feed for each forum and i want to put it like a button under the forums defenition
some users like to subcribe a forum in a RSS reader (for example in firefox) to have the latest topics of that forum
topics anywhere can do this job but the bad things is that every person can use this script on your site and another issue is that it can only make RSS feed that linked to standard phpbb URLs

thanks
User avatar
AmirAbbas
phpBB SEO Team
phpBB SEO Team
 
Posts: 534
Joined: Thu May 11, 2006 3:30 pm
Location: IRAN

Postby dcz » Sat May 27, 2006 8:28 am

Then, this is too much for the topic anywhere mod, it's just to heavy to handle all of your forum's RSS.

I will in the future provide RSS solutions, if you like you can start playing with http://www.phpbb.com/phpBB/viewtopic.php?t=254606 instead.

We should eb able to mod it quite easy ;)

++
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 » Sat May 27, 2006 8:32 am

OK
thanks :)
User avatar
AmirAbbas
phpBB SEO Team
phpBB SEO Team
 
Posts: 534
Joined: Thu May 11, 2006 3:30 pm
Location: IRAN

Postby AmirAbbas » Sat May 27, 2006 1:16 pm

i installed this mod
very simple and clean mod
but this mod only can link to standard URLs and
its not compatible with simple rewrite mod
i will wait for your patch for this mod :wink:
User avatar
AmirAbbas
phpBB SEO Team
phpBB SEO Team
 
Posts: 534
Joined: Thu May 11, 2006 3:30 pm
Location: IRAN

Postby dcz » Sat May 27, 2006 3:36 pm

I know, I'll take a look to the code and will build up a quick patch ;) , but this is the phpbb rss mod, even though I am using a slightly different one, able to cache every single RSS output, which is better for heavy use.

And of course, feeds are mod Rewriten themselves.

I'll soon release this one too, just have to find sometime to put it all together ;)

But it will certainly be based on the one I pointed out, so you can get used to it, in the end the final SEO solution will be very similar ;)
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 dcz » Sun May 28, 2006 10:49 am

amir abbas wrote:i installed this mod
very simple and clean mod
but this mod only can link to standard URLs and
its not compatible with simple rewrite mod
i will wait for your patch for this mod :wink:


I took a quick look at the code and there is a problem, the mod only outputs post's URL, so they end up being all duplicates.

But, they are useful to your user, and it nicer to rewrite them, even if you should disallow them with your robots.txt file.

Anyway, fot the RSS Feed mod open :

Code: Select all
rss.php


Find :

Code: Select all
         'POST_URL' => $viewpost_url . '?' . POST_POST_URL . '=' . $post['post_id'] . '#' . $post['post_id'],
         'FIRST_POST_URL' => $viewpost_url . '?' . POST_POST_URL . '=' . $post['topic_first_post_id'] . '#' . $post['topic_first_post_id'],


Replace with :

Code: Select all
         'POST_URL' => append_sid($viewpost_url . '?' . POST_POST_URL . '=' . $post['post_id'] . '#' . $post['post_id']),
         'FIRST_POST_URL' => append_sid($viewpost_url . '?' . POST_POST_URL . '=' . $post['topic_first_post_id'] . '#' . $post['topic_first_post_id']),


This should mod rewrite all outputted URLs following the phpBB SEO Simple Mod Rewrite Standard.
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 » Sun May 28, 2006 11:27 am

thanks

but if i want to put RSS button under forum description, this links are visible for google :wink:
User avatar
AmirAbbas
phpBB SEO Team
phpBB SEO Team
 
Posts: 534
Joined: Thu May 11, 2006 3:30 pm
Location: IRAN

Postby dcz » Sun May 28, 2006 1:53 pm

amir abbas wrote:thanks

but if i want to put RSS button under forum description, this links are visible for google :wink:


Yes, but RSS output itself does not get any PageRank, so you don't really need them to be rewritten.

Anyway I'll take a look at it ;)

++
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 messal » Wed Jan 03, 2007 1:43 pm

dcz wrote:
Code: Select all
rss.php


Find :

Code: Select all
         'POST_URL' => $viewpost_url . '?' . POST_POST_URL . '=' . $post['post_id'] . '#' . $post['post_id'],
         'FIRST_POST_URL' => $viewpost_url . '?' . POST_POST_URL . '=' . $post['topic_first_post_id'] . '#' . $post['topic_first_post_id'],


Replace with :

Code: Select all
         'POST_URL' => append_sid($viewpost_url . '?' . POST_POST_URL . '=' . $post['post_id'] . '#' . $post['post_id']),
         'FIRST_POST_URL' => append_sid($viewpost_url . '?' . POST_POST_URL . '=' . $post['topic_first_post_id'] . '#' . $post['topic_first_post_id']),


This should mod rewrite all outputted URLs following the phpBB SEO Simple Mod Rewrite Standard.


can be this used for advenced? because i dont see any changes on output.
thanks
User avatar
messal
 
Posts: 15
Joined: Wed Dec 27, 2006 4:27 pm

Postby dcz » Wed Jan 03, 2007 1:50 pm

Topic anywhere is already patched for the mixed and advanced phpBB SEO mod rewrites : http://www.phpbb-seo.com/boards/phpbb-s ... vt157.html

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


Return to phpBB2 mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest