| :: |
| Author |
Message |
CoC
Joined: 14 Aug 2006 Posts: 15
|
Posted: Mon Aug 14, 2006 1:23 am Post subject: Other pages? |
|
|
Hiya, I really like the idea of this mod and hopefully it can get my forum onto the google pages instead of just my homepage -
I think I have installed it correctly, with my forums now showing "forums/other-football-vf3.html"
But I would like some of my custom pages to be displayed this way as well, is this possible?
On my home page I have links to certain things on the forum, but when I use your link checker it doesn't show them, I am thinking this is why google doesn't have any other pages than the main one.
My site is at http://www.skyblueuntrust.com
and my .htaccess is -
| Code: | Options +FollowSymlinks
RewriteEngine On
RewriteBase /
#########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM PROTECTION RULE
RewriteRule ^forums/.+/([^/]+\.html)$ /forums/index.php [R=301,L]
# CATEGORIES
RewriteRule ^forums/.+-vc([0-9]+)\.html$ /forums/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^forums/.+-vf([0-9]+)-([0-9]+)\.html$ /forums/viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^forums/.+-vf([0-9]+)\.html$ /forums/viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^forums/topic([0-9]+)-([0-9]+)\.html$ /forums/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^forums/topic([0-9]+)\.html$ /forums/viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^forums/post([0-9]+)\.html$ /forums/viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^forums/member([0-9]+)\.html$ /forums/profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
#####################################################
Options -Indexes -ExecCGI -Includes |
Is this ok?
Cheers,
Chris -  |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14814
|
Posted: Mon Aug 14, 2006 7:45 am Post subject: Re: Other pages? |
|
|
And Welcome
I confirm you installed the mixed mod rewrite well.
I saw you installed mx Google sitemaps as well, but you need to uploade the premodded file for the mixed mod rewrite. Here a post about it (it's advanced mod rewrite, but you'll figure out the trick I am sure ) This will make the mod output the correct URLs for your case : -http://www.skyblueuntrust.com/forums/sitemap.php?fid=2
Then, in the same contrib/ folder, you'll find an .htaccess with rewriterules in it.
You'll need to implement the phpBB ones in your forum's .htaccess to be able to turn mod rewrite on for mx Google sitemaps links in mx Google sitemaps ACP.
Then, talking about other pages, I am not sure to have found more than the EZportal here.
Anyway here is a piece of code to Search engine optimize the recent topic links on it's index (the code is edited and works ).
You could then think about implementing mx sitemaps as well, pretty efficient for PageRank.
++ |
_________________ 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 |
|
 |
CoC
Joined: 14 Aug 2006 Posts: 15
|
Posted: Mon Aug 14, 2006 2:33 pm Post subject: Re: Other pages? |
|
|
Hiya dcz, thank you -
I have replaced the sitemap_forum.php in forums/mx_ggsitemaps/includes with the one found in contrib\moded_4_mod_rewrites\phpBB_SEO_mod_Rewrites\Advanced_Mod_Rewrite
and added the parts to the .htaccess file,
| Code: | Options +FollowSymlinks
RewriteEngine On
RewriteBase /
#########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM PROTECTION RULE
RewriteRule ^forums/.+/([^/]+\.html)$ /forums/index.php [R=301,L]
# CATEGORIES
RewriteRule ^forums/.+-vc([0-9]+)\.html$ /forums/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^forums/.+-vf([0-9]+)-([0-9]+)\.html$ /forums/viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^forums/.+-vf([0-9]+)\.html$ /forums/viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^forums/topic([0-9]+)-([0-9]+)\.html$ /forums/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^forums/topic([0-9]+)\.html$ /forums/viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^forums/post([0-9]+)\.html$ /forums/viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^forums/member([0-9]+)\.html$ /forums/profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
# phpBB
RewriteRule ^forums/sitemaps.xml$ /forums/sitemap.php [L]
RewriteRule ^forums/forum-sitemap-([0-9]+).xml$ /forums/sitemap.php?fid=$1 [L]
RewriteRule ^forums/sitemap-forum.xml$ /forums/sitemap.php?forum [L]
#####################################################
Options -Indexes -ExecCGI -Includes |
This .htaccess file should be located in the root directory and not in /forums - is that correct?
I have changed the code in the portal page as you suggested - thank you -
Also I think I have installed mx sitemaps correctly -
Thanks again,
Chris. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14814
|
Posted: Mon Aug 14, 2006 3:37 pm Post subject: Re: Other pages? |
|
|
Nice.
You can turn the mod rewrite for mx Google sitemaps On in acp
For mx sitemaps need to implement the suggested code changes in sessions.php as well, rewriterules seems ok. Auto link add on too.
Then, you'll need this patch and this one too (don't worry it is simple, and I'll fix all those in next release )
Once done, go acp and add as many categories and link as you like in the site map index. As well, you can play with the last topic listing settings to output nice last topic lists in those. As well, you can play with the pagination parameters, allowing you for example to output 50 topic per page in the forum map view while you are using 25 in your true forums.
And as per mx Google sitemaps, do activate mod rewrite in acp
Take a look at the way I set it up here : http://www.phpbb-seo.com/sitemaps.html
To make it easier, here is how your .htaccess should be in the end :
| Code: |
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
#########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM PROTECTION RULE
RewriteCond %{REQUEST_URI} ^forums/
RewriteRule ^forums/.+/([^/]+\.html)$ /forums/index.php [R=301,L]
# CATEGORIES
RewriteRule ^forums/.+-vc([0-9]+)\.html$ /forums/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^forums/.+-vf([0-9]+)-([0-9]+)\.html$ /forums/viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^forums/.+-vf([0-9]+)\.html$ /forums/viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^forums/topic([0-9]+)-([0-9]+)\.html$ /forums/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^forums/topic([0-9]+)\.html$ /forums/viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^forums/post([0-9]+)\.html$ /forums/viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^forums/member([0-9]+)\.html$ /forums/profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
#Mx sitemaps
RewriteRule ^forums/sitemaps\.html$ /forums/sitemaps.php [QSA,L]
RewriteRule ^forums/forum-map\.html$ /forums/sitemaps.php?fim [QSA,L]
RewriteRule ^forums/.+-fmp([0-9]+)-([0-9]+)\.html$ /forums/sitemaps.php?fmp=$1&start=$2 [QSA,L]
RewriteRule ^forums/.+-fmp([0-9]+)\.html$ /forums/sitemaps.php?fmp=$1 [QSA,L]
RewriteRule ^forums/.+-sc([0-9]+)\.html$ /forums/sitemaps.php?c=$1 [QSA,L]
# mx Google sitemaps
RewriteRule ^forums/sitemaps.xml$ /forums/sitemap.php [L]
RewriteRule ^forums/forum-sitemap-([0-9]+).xml$ /forums/sitemap.php?fid=$1 [L]
RewriteRule ^forums/sitemap-forum.xml$ /forums/sitemap.php?forum [L]
#####################################################
Options -Indexes -ExecCGI -Includes |
++ |
_________________ 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 |
|
 |
CoC
Joined: 14 Aug 2006 Posts: 15
|
Posted: Mon Aug 14, 2006 4:12 pm Post subject: Re: Other pages? |
|
|
Thank you very much -
I think I have it right now, with a few links added to the sitemap page, it looks great, with a few pictures added like yours it could be substituted for the portal page -  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14814
|
|
| Back to top |
|
 |
CoC
Joined: 14 Aug 2006 Posts: 15
|
Posted: Mon Aug 14, 2006 5:31 pm Post subject: Re: Other pages? |
|
|
I have applied the prefix issue mod - If i understood it correctly, when an address is entered without www it will always add it?
The auto link add on, I hope you don't mind but I removed "<br />" from between the links so they both show on the same line.
When opening a link from the sitemap index it adds it to the footer is this correct? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14814
|
Posted: Mon Aug 14, 2006 5:54 pm Post subject: Re: Other pages? |
|
|
You can off course style and mod the phpBB SEO code as you wish
Then, the auto link is just adding two link in the footer by default and then one more when browsing a forum.
It's very efficient to have bots fell on those
You can of course post more links to your html site map, for your user to find it, but the small links will make bots spider it well and thus make the mod even more efficient.
++ |
_________________ 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 |
|
 |
CoC
Joined: 14 Aug 2006 Posts: 15
|
Posted: Tue Aug 15, 2006 6:41 am Post subject: Re: Other pages? |
|
|
Thank you dcz -
I had one small minor problem with a sub forum, that showed an incorrect name but a quick search found your fix -
I have a main page http://www.skyblueuntrust.com for my site with links to certain parts of the forum, but I had to use links like - forums/league.php
I changed them to forums/league.html ect, and added this -
| Code: | # My pages
RewriteRule ^forums/table\.html$ /forums/table.php [QSA,L]
RewriteRule ^forums/fixtures\.html$ /forums/fixtures.php [QSA,L]
RewriteRule ^forums/chat\.html$ /forums/chat.php [QSA,L]
RewriteRule ^forums/league\.html$ /forums/league.php [QSA,L]
RewriteRule ^forums/contact\.html$ /forums/contact.php [QSA,L]
RewriteRule ^forums/activity\.html$ /forums/activity.php [QSA,L]
RewriteRule ^forums/index\.html$ /forums/index.php [QSA,L]
RewriteRule ^forums/portal\.html$ /forums/portal.php [QSA,L]
RewriteRule ^forums/login\.html$ /forums/login.php [QSA,L]
RewriteRule ^forums/links\.html$ /forums/links.php [QSA,L]
RewriteRule ^forums/lwdonors\.html$ /forums/lwdonors.php [QSA,L]
RewriteRule ^forums/profile\.html$ /forums/profile.php [QSA,L] |
to the .htaccess file, and they all work -
Will this help any more for search engines to find my pages? or would it not really of mattered? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14814
|
Posted: Tue Aug 15, 2006 8:29 am Post subject: Re: Other pages? |
|
|
Well, the php extension does not matter this much as long as there are no ?variables.
What you did is perfectly fine as long as you change the links for those, as you did.
For example, I did not add the html extension to index.php just because it won't change anything but would add some process, and I want my code as light as possible. But it can be "nicer" in a way.
You miss this simple patch as well it seems.
Don't worry next version will be really easier to install and upgrade
++ |
_________________ 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 |
|
 |
CoC
Joined: 14 Aug 2006 Posts: 15
|
Posted: Sat Aug 19, 2006 6:22 pm Post subject: Re: Other pages? |
|
|
I think I may have done something wrong -
In google sitemap I have errors like -
| Code: | | http://www.skyblueuntrust.com/forums/away-kit-vt630.html In Sitemap 404 (Not found) [?] |
That post on my forum is at -
| Code: | | http://www.skyblueuntrust.com/forums/topic630.html |
None of the topics seem to start with the name of the topic like on here. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14814
|
Posted: Sat Aug 19, 2006 11:51 pm Post subject: Re: Other pages? |
|
|
Confusion confusion ...
First, I don't think the relation to this topic is this obvious
Then you installed the phpBB SEO Mixed mod Rewrite on your forum and uploaded the phpBB Advanced Mod rewrite premodded file for mx Google sitemaps.
So you have two options here, installing the phpBB SEO advanced mod Rewrite or uploading the correct premodded file over the one you are using (sitemap_forum.php).
I suggest option two, as it's just a file upload, unless you think you have interesting titles posted in your forum (eg the majority of them are well composed) and wish to go for advanced, but please read this before.
++ |
_________________ 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 |
|
 |
CoC
Joined: 14 Aug 2006 Posts: 15
|
Posted: Sat Aug 19, 2006 11:58 pm Post subject: Re: Other pages? |
|
|
I think I will go with option two.
It's a football forum for football fans.
I doubt many of them can write there own name properly, let alone a topic title -  |
|
|
| Back to top |
|
 |
CoC
Joined: 14 Aug 2006 Posts: 15
|
Posted: Sun Aug 20, 2006 12:16 am Post subject: Re: Other pages? |
|
|
Thanks for all your help again dcz, I'm sure I have it right this time -  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14814
|
|
| Back to top |
|
 |
|
|