Migrating from Able2know

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

Moderator: Moderators

Postby dcz » Mon Oct 16, 2006 2:07 pm

I agree your project can benefit from title injection, titles are of a good quality for now, just keep the level up :D

So it's very easy, as I told you, if you do as if you'd install the advanced mod from scratch, but using the mixed mod rewrite already modded files, you'll only find some of the changes already made, the advanced is only adding more steps to the one already made by the mixed mod expect for sessions.php in which you should directly overwrite the happend_sid() function.

Then, the seo_redirect function is part of the zero duplicate, so you should just use the first version I pmed you, before I acknowledged I had sent your the wrong one and PMed you the fix for the mixed mod rewrite.

Same for .htaccess, just use the one I first posted here, was for the advanced mod rewrite ;)

++
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: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Advertisement

Postby nims » Mon Oct 16, 2006 4:26 pm

Ok great :) I am doing it now.

Pls tell me
1. Will be trying mx google sitemaps today. Should mxgoogle and mx sitemaps both be done ? I have a forum that is a part of a website, but I dont have sitemap for my main website. So can submitting google sitemap just for forum would create any problem ? May be google thinks forum is the only thing I have ?

2. I am planning to install Blank Page Template MOD to add dynamic content ( info etc. ), but am not sure if it is compatible with advanced-seo. Can you please check.
nims
PR2
PR2
 
Posts: 243
Joined: Wed Oct 11, 2006 9:31 am
Location: New Delhi, India

Postby dcz » Mon Oct 16, 2006 4:36 pm

1) It better to install them both, even though mx sitemaps is at this stage a bit tricky to install, but works nice.

The mx Google sitemaps module allow you to easily add additional sitemaps which will show up in the unique sitemapIndex, but this still mean you need to build the other sitemaps.

There is a litte plug-in for now, the idea will be developed in the future.

But you can submit as many sitemap as you want at Google, even several sitemap index, it's just more convenient to track one per site.

So you can right now move the sitemap.php file to the root (look in the code you'll find commentaries where to add the proper phpBB path) so that you'll be able in the future to list additional content located outside you forum folder, or you can leave it in the forum folder for now, it won't be a big deal to move it later if needed.

2) the blank template mod is all about what you put in it, so you'll have to follow some very simple principle to enable mod rewrite for the link you'll eventually build in your added pages.

++
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: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby nims » Wed Oct 18, 2006 4:10 am

Didnt quite understand about google sitemaps. If I submit google sitemap for my forum ( I dont have any sitemap for my main website ) then will my main site pages suffer ? Will the googlebot browse my other website pages that are not in the google sitemap ?
nims
PR2
PR2
 
Posts: 243
Joined: Wed Oct 11, 2006 9:31 am
Location: New Delhi, India

Postby dcz » Wed Oct 18, 2006 6:46 am

No your web site won't suffer, the contrary is closer to truth and of course, Google, will continue to find URL the same way as before ("manually") as well.

It's just a boost to your forum indexing ;)

++
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: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby nims » Thu Oct 19, 2006 6:00 am

Ok will try google sitemaps today. Can you please provide a patch for rss 2.2.4 so that the topic links etc. show the same URL as in the forum. The one you provided earliear shows urls like /post190.html#190

Since I am now using advanced-seo which google site map MOD shud I use ... I cant find it.
nims
PR2
PR2
 
Posts: 243
Joined: Wed Oct 11, 2006 9:31 am
Location: New Delhi, India

Postby dcz » Thu Oct 19, 2006 7:13 am

There won't be any major patch for the rss feed mod as I am currently working on a real SEO RSS solution ;)
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: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby nims » Thu Oct 19, 2006 7:38 am

Ok then in that case I guess its better to wait :)
nims
PR2
PR2
 
Posts: 243
Joined: Wed Oct 11, 2006 9:31 am
Location: New Delhi, India

Postby dcz » Thu Oct 19, 2006 7:39 am

No kidding, but beta release is really close, should be this month ;)
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: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby nims » Fri Oct 27, 2006 12:09 pm

Hey buddy, so the END of month is close. Hope to get the rss MOD.

I have a problem. I am getting 404 error at /forum/topic31.html
I guess the URL was created by Able2KNow Mod rewrite. But shudnt it be redirected. I am using advanced-seo Mod rewrite.
nims
PR2
PR2
 
Posts: 243
Joined: Wed Oct 11, 2006 9:31 am
Location: New Delhi, India

Postby dcz » Fri Oct 27, 2006 5:36 pm

I have three more days until the end of the month ;)

The URL you mention is I think coming from the short period of time when you used the mixed mod rewrite I think.

You'd need to add the topic rewriterule at the end of your .htaccess to get it catched by the zero dupe.

Post your .htaccess here if your have doubts ;)

++
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: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby nims » Sat Oct 28, 2006 7:07 am

Ok here is my .htaccess

Code: Select all
#########################################################
# PHPBB SEO REWRITE RULES            #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM PROTECTION RULE
RewriteRule ^forum/.+/([^/]+\.html)$ /forum/index.php [R=301,L]
# CATEGORIES
RewriteRule ^forum/.+-vc([0-9]+)\.html$ /forum/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^forum/.+-vf([0-9]+)-([0-9]+)\.html$ /forum/viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^forum/.+-vf([0-9]+)\.html$ /forum/viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^forum/.+-vt([0-9]+)-([0-9]+)\.html$ /forum/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^forum/.+-vt([0-9]+)\.html$ /forum/viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^forum/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^forum/member([0-9]+)\.html$ /forum/profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
#####################################################

#########################################################
# MX GG_SITEMAPS REWRITE RULES            #
#########################################################
# AUTHOR : dcz http://www.phpbb-seo.com/
# STARTED : 2006/02/22
########################
########################################################
# phpBB
RewriteRule ^sitemaps.xml$ /sitemap.php [L]
RewriteRule ^forum-sitemap-([0-9]+).xml$ /sitemap.php?fid=$1 [L]
RewriteRule ^sitemap-forum.xml$ /sitemap.php?forum [L]

#####################################################
# able2know rewriterules
#we keep them to kill them ;-)
RewriteRule ^forum/forums.* /forum/index.php [L,NC]
RewriteRule ^forum/post-([0-9]*).html&highlight=([a-zA-Z0-9]*) /forum/viewtopic.php?p=$1&highlight=$2 [L,NC]
RewriteRule ^forum/post-([0-9]*).* /forum/viewtopic.php?p=$1 [L,NC]
RewriteRule ^forum/view-poll([0-9]*)-([0-9]*)-([a-zA-Z]*).* /forum/viewtopic.php?t=$1&postdays=$2&postorder=$3&vote=viewresult [L,NC]
RewriteRule ^forum/about([0-9]*).html&highlight=([a-zA-Z0-9]*) /forum/viewtopic.php?t=$1&highlight=$2 [L,NC]
RewriteRule ^forum/about([0-9]*).html&view=newest /forum/viewtopic.php?t=$1&view=newest [L,NC]
RewriteRule ^forum/about([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).* /forum/viewtopic.php?t=$1&postdays=$2&postorder=$3&start=$4 [L,NC]
RewriteRule ^forum/about([0-9]*)-([0-9]*).* /forum/viewtopic.php?t=$1&start=$2 [L,NC]
RewriteRule ^forum/about([0-9]*).* /forum/viewtopic.php?t=$1 [L,NC]
RewriteRule ^forum/about([0-9]*).html /forum/viewtopic.php?t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [L,NC]
RewriteRule ^forum/mark-forum([0-9]*).html* /forum/viewforum.php?f=$1&mark=topics [L,NC]
RewriteRule ^forum/updates-topic([0-9]*).html* /forum/viewtopic.php?t=$1&watch=topic [L,NC]
RewriteRule ^forum/stop-updates-topic([0-9]*).html* /forum/viewtopic.php?t=$1&unwatch=topic [L,NC]
RewriteRule ^forum/forum-([0-9]*).html /forum/viewforum.php?f=$1 [L,NC]
RewriteRule ^forum/forum-([0-9]*).* /forum/viewforum.php?f=$1 [L,NC]
RewriteRule ^forum/topic-([0-9]*)-([0-9]*)-([0-9]*).* /forum/viewforum.php?f=$1&topicdays=$2&start=$3 [L,NC]
RewriteRule ^forum/ptopic([0-9]*).* /forum/viewtopic.php?t=$1&view=previous [L,NC]
RewriteRule ^forum/ntopic([0-9]*).* /forum/viewtopic.php?t=$1&view=next [L,NC]

nims
PR2
PR2
 
Posts: 243
Joined: Wed Oct 11, 2006 9:31 am
Location: New Delhi, India

Postby dcz » Sun Oct 29, 2006 3:07 pm

Yes, don't forget to start the mod_rewrite module on the top of your .htaccess :

Code: Select all
Options +FollowSymlinks
RewriteEngine on
RewriteBase /


or :

Code: Select all
RewriteEngine on
RewriteBase /


++
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: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby nims » Mon Oct 30, 2006 7:35 am

That I already have above the code I pasted.
nims
PR2
PR2
 
Posts: 243
Joined: Wed Oct 11, 2006 9:31 am
Location: New Delhi, India

Postby dcz » Mon Oct 30, 2006 4:37 pm

Sorry, I forgot about the topicxx.html problem while posting :

So add this at the end of your .htaccess :
Code: Select all
# To allow the zero dupe to take care about the topicxx.html duplicates
# PAGINATED TOPIC
RewriteRule ^forum/topic([0-9]+)-([0-9]+)\.html$ /forum/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^forum/topic([0-9]+)\.html$ /forum/viewtopic.php?t=$1 [QSA,L]


;)
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: 21219
Joined: Fri Apr 28, 2006 9:03 pm

PreviousNext

Return to phpBB2 mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests