| :: |
| Author |
Message |
fabikus
Joined: 07 Oct 2006 Posts: 23
|
Posted: Sat Oct 07, 2006 11:16 am Post subject: Great results but... |
|
|
Hi, thank you all for theese great MODs. I had great results with your Mod Rewrite and mx Google Sitemap on http://forum.fuoriditesta.it : over than 80.000 indexed pages on Google
I want to ask you something.
First of all, is my Sitemap correct? You can find at http://forum.fuoriditesta.it/sitemaps.xml
Another question. My forum is in a subdomains (http://forum.fuoriditesta.it) but it is also on http://www.fuoriditesta.it/forum/ with the same folder. Mod rewrite and .htaccess is only configured for http://forum.fuoriditesta.it and not for the /forum/ folder. How can i do? If you try to go to http://www.fuoriditesta.it/forum/ and you try to enter in a forum, it give a 404 not found page.
Here is my .htaccess file:
| Code: |
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteRule ^.+/([^/]+\.html)$ /index.php [R=301,L]
RewriteRule ^.+-vc([0-9]+)\.html$ /index.php?c=$1 [QSA,L]
RewriteRule ^.+-vf([0-9]+)-([0-9]+)\.html$ /viewforum.php?f=$1&start=$2 [QSA,L]
RewriteRule ^.+-vf([0-9]+)\.html$ /viewforum.php?f=$1 [QSA,L]
RewriteRule ^.+-vt([0-9]+)-([0-9]+)\.html$ /viewtopic.php?t=$1&start=$2 [QSA,L]
RewriteRule ^.+-vt([0-9]+)\.html$ /viewtopic.php?t=$1 [QSA,L]
RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L]
RewriteRule ^utente([0-9]+)\.html$ /profile.php?mode=viewprofile&u=$1 [QSA,L]
RewriteRule ^sitemaps.xml$ /sitemap.php [L]
RewriteRule ^mx-sitemap.xml$ /sitemap.php?mx [L]
RewriteRule ^forum-sitemap-([0-9]+).xml$ /sitemap.php?fid=$1 [L]
RewriteRule ^kb-sitemap-([0-9]+).xml$ /sitemap.php?kbid=$1 [L]
RewriteRule ^sitemap-forum.xml$ /sitemap.php?forum [L]
RewriteRule ^sitemap-kbcat.xml$ /sitemap.php?kbcat [L]
|
Thank you very much for your support!  |
|
|
| Back to top |
|
 |
|
 |
gowap phpBB SEO Team


Joined: 07 May 2006 Posts: 1005
|
Posted: Sat Oct 07, 2006 3:02 pm Post subject: Re: Great results but... |
|
|
| fabikus wrote: | | First of all, is my Sitemap correct? You can find at -http://forum.fuoriditesta.it/sitemaps.xml |
Yes it is correct. Keep in mind this one is just the sitemap index (the table of contents) which references all you other forum-sitemaps (those who will contains lots of links, like for example -http://forum.fuoriditesta.it/forum-sitemap-58.xml )
I have the same "configuration" and i suggest you to redirect all -http://www.fuoriditesta.it/forum/* urls to -http://forum.fuoriditesta.it/* .
To achive this, use these rules : | Code: |
RewriteCond %{REQUEST_URI} forum/(.*) [NC]
RewriteRule ^(.*) http://forum.example.com/%1 [QSA,L,R=301] |
|
_________________ Gravure-News : la communauté francophone de la gravure de CD/DVD et son forum d'entraide. |
|
| Back to top |
|
 |
fabikus
Joined: 07 Oct 2006 Posts: 23
|
|
| Back to top |
|
 |
gowap phpBB SEO Team


Joined: 07 May 2006 Posts: 1005
|
Posted: Sat Oct 07, 2006 10:57 pm Post subject: Re: Great results but... |
|
|
Maybe I was not clear (the '*' may be confusing), but the above htaccess rule will redirect each individual url like -http://www.fuoriditesta.it/forum/testi-musicali-vf22.html to the correct and corresponding url, here : -http://forum.fuoriditesta.it/testi-musicali-vf22.html
It's not a generic redirection which would blindly redirect all to the forum index for example. As far as I understand your problem, the above rule is exactly what you need.
The rule appends the query string, that means parameters are preserved. For example -http://www.fuoriditesta.it/forum/testi-musicali-vf22.html?start_letter=7&sort=1&order=1 will be redirected to -http://forum.fuoriditesta.it/testi-musicali-vf22.html?start_letter=7&sort=1&order=1
and the R=301 tells robots that it's a permanent redirection, so they will update their index/cache and your google PR will be preserved. |
_________________ Gravure-News : la communauté francophone de la gravure de CD/DVD et son forum d'entraide. |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
Posted: Sun Oct 08, 2006 10:37 am Post subject: Re: Great results but... |
|
|
Gowap is right, this is the rewriterule you want to add
Looking at your site a bit more, it appears that you did not implement the best robots.txt possible and allowed rewritten profiles and post URLs to be spidered. This is slowing up a bit your indexing, but 44 000 listed URLs in Google is not too bad, there are just to many duplicates (post mainly, but not only, vanilla URLs as well).
So I think the zero duplicate would here be the final solution, no more duplicates, ever
I'll be happy to PM it to you as soon as you'll confirm where did you apply the final touch
++ |
_________________ 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 |
|
 |
fabikus
Joined: 07 Oct 2006 Posts: 23
|
Posted: Mon Oct 09, 2006 6:45 pm Post subject: Re: Great results but... |
|
|
It is okay now!
Thank you very much for your support!
For dcz: I'm really glad to give the final touch
I put the link in all pages of my forum
I'll wait your PM to have no more duplicates and some infos to optimize my robots.txt to have the best Google Optimization for my forum.  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

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