phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Migrating from Able2know
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    phpBB SEO » SEO Forum  » phpBB mod Rewrite
::  
Author Message
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

Migrating from Able2knowPosted: Mon Oct 16, 2006 2:07 pm    Post subject: Re: Migrating from Able2know

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

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 Wink

++

_________________
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
Visit poster's website
nims
phpBB SEO Team
phpBB SEO Team


Joined: 11 Oct 2006
Posts: 243
Location: New Delhi, India

Migrating from Able2knowPosted: Mon Oct 16, 2006 4:26 pm    Post subject: Re: Migrating from Able2know

Ok great Smile 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.
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

Migrating from Able2knowPosted: Mon Oct 16, 2006 4:36 pm    Post subject: Re: Migrating from Able2know

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 || 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
Visit poster's website
nims
phpBB SEO Team
phpBB SEO Team


Joined: 11 Oct 2006
Posts: 243
Location: New Delhi, India

Migrating from Able2knowPosted: Wed Oct 18, 2006 4:10 am    Post subject: Re: Migrating from Able2know

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 ?
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

Migrating from Able2knowPosted: Wed Oct 18, 2006 6:46 am    Post subject: Re: Migrating from Able2know

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 Wink

++

_________________
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
Visit poster's website
nims
phpBB SEO Team
phpBB SEO Team


Joined: 11 Oct 2006
Posts: 243
Location: New Delhi, India

Migrating from Able2knowPosted: Thu Oct 19, 2006 6:00 am    Post subject: Re: Migrating from Able2know

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.
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

Migrating from Able2knowPosted: Thu Oct 19, 2006 7:13 am    Post subject: Re: Migrating from Able2know

There won't be any major patch for the rss feed mod as I am currently working on a real SEO RSS solution Wink

_________________
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
Visit poster's website
nims
phpBB SEO Team
phpBB SEO Team


Joined: 11 Oct 2006
Posts: 243
Location: New Delhi, India

Migrating from Able2knowPosted: Thu Oct 19, 2006 7:38 am    Post subject: Re: Migrating from Able2know

Ok then in that case I guess its better to wait Smile
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

Migrating from Able2knowPosted: Thu Oct 19, 2006 7:39 am    Post subject: Re: Migrating from Able2know

No kidding, but beta release is really close, should be this month Wink

_________________
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
Visit poster's website
nims
phpBB SEO Team
phpBB SEO Team


Joined: 11 Oct 2006
Posts: 243
Location: New Delhi, India

Migrating from Able2knowPosted: Fri Oct 27, 2006 12:09 pm    Post subject: Re: Migrating from Able2know

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.
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

Migrating from Able2knowPosted: Fri Oct 27, 2006 5:36 pm    Post subject: Re: Migrating from Able2know

I have three more days until the end of the month Wink

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 Wink

++

_________________
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
Visit poster's website
nims
phpBB SEO Team
phpBB SEO Team


Joined: 11 Oct 2006
Posts: 243
Location: New Delhi, India

Migrating from Able2knowPosted: Sat Oct 28, 2006 7:07 am    Post subject: Re: Migrating from Able2know

Ok here is my .htaccess

Code:
#########################################################
# 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]

Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

Migrating from Able2knowPosted: Sun Oct 29, 2006 3:07 pm    Post subject: Re: Migrating from Able2know

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

Code:
Options +FollowSymlinks
RewriteEngine on
RewriteBase /


or :

Code:
RewriteEngine on
RewriteBase /


++

_________________
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
Visit poster's website
nims
phpBB SEO Team
phpBB SEO Team


Joined: 11 Oct 2006
Posts: 243
Location: New Delhi, India

Migrating from Able2knowPosted: Mon Oct 30, 2006 7:35 am    Post subject: Re: Migrating from Able2know

That I already have above the code I pasted.
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

Migrating from Able2knowPosted: Mon Oct 30, 2006 4:37 pm    Post subject: Re: Migrating from Able2know

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

So add this at the end of your .htaccess :
Code:

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


Wink

_________________
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
Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    phpBB SEO » SEO Forum  » phpBB mod Rewrite
Page 2 of 4 Goto page Previous  1, 2, 3, 4  Next

Navigation Similar Topics

Jump to: