[Archive] mx Google Sitemaps 1.0.1

The GYM Sitemaps and RSS module and it's plug-ins.
Google Yahoo MSN Sitemaps (United 0.9).
RSS 2.0 Feeds and Yahoo! urllist.txt.

Moderator: Moderators

Postby dcz » Mon Oct 16, 2006 10:43 am

hmm, weird.
Anyway, it's ok to run it from phpBB for now, the update is a total rewriting of the module, fully OO, so there should not be any more of these issues.

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

Advertisement

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

Hi dcz,

I just read in one of the posts over here that you are working on the new version. So when can we expect the new version to be out.
nims
PR2
PR2
 
Posts: 243
Joined: Wed Oct 11, 2006 9:31 am
Location: New Delhi, India

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

Before phpbb3 :lol:
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 nims » Thu Oct 19, 2006 7:40 am

So I guess I will not install this mx google sitemap and wait for your new release, otherwise I will have to do everything again and thats a real pain.
nims
PR2
PR2
 
Posts: 243
Joined: Wed Oct 11, 2006 9:31 am
Location: New Delhi, India

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

well, it's a module, no phpBB code editing ;)

Updating will be overwriting files.

++
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 nims » Thu Oct 19, 2006 9:46 am

OK installed !!!
Have few doubts.
How do I test if my sitemaps are ok before submiting to google.

In ACP Google Sitemap Settings its written
Sort Order
All outputed links are sorted in the same way topics are sorted by default in phpbb (last activity DESC).
You can set this to DESC for example if you whish to make it easyer for Google to find again links to archeological or locked threads (eg inactive for a looong time).

I guess one of the DESC shud be ASC. ???
Secondly it says
Mod Rewrite Sitemaps
If activated, the sitemap's url will be rewrited.
CAUTION : you MUST run Apache server with mod rewrite activated and set up the .htaccess located in this release's contrib/ folder properly.

What does that mean ? There is no mention of doing anything to .htaccess file in install instructions. I am using phpbb-advanced-seo mod rewrite.
nims
PR2
PR2
 
Posts: 243
Joined: Wed Oct 11, 2006 9:31 am
Location: New Delhi, India

S

Postby dcz » Fri Oct 20, 2006 10:04 am

You're right, the second one should be ASC.

And you'll find the correct phpBB rewriterules in the contrib/ folder's .htaccess, you need them with proper path in your phpBB's .htaccess in order to have the rewritten Google sitemap links working.

As well, you'll need to use the sitemap_.forum.php premodded file corresponding to the mod rewrite you're using (still to be find in the contrib/ folder) in order to output the correct URLs (eg the same as your forum).
You'll just need to overwrite the sitemap_forum.php file located in mx_ggsitemaps/includes/ on your ftp.

++
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 nims » Fri Oct 20, 2006 11:22 am

I have submitted sitemap.php file already. Now should I change .htaccess file and switch ON mod rewrite for google sitemaps and resubmit my site map to google ?
Will this harm my ranking etc. ? Is it OK to do so from SEO point of view ?

In https://www.google.com/webmasters/sitemaps/ its showing me URLs submitted 92
Are these 92 sitemaps for forums or 92 pages in all that google will index ?
Before submiting this sitemap I had 1420 indexed pages in google. Its still the same. When can I expect to see the rise in indexed pages ?
nims
PR2
PR2
 
Posts: 243
Joined: Wed Oct 11, 2006 9:31 am
Location: New Delhi, India

Postby dcz » Fri Oct 20, 2006 11:48 am

Well, you can safely resubmit your sitemap with no trouble, especially if it's recent and if it was outputting the correct URLs from the beginning.

Then talking about the number of URLs, it depends on how many duplicates where listed before. Because here, there won't be any, so it's possible you'll end up with less pages indexed in the end.

To find out how many URLs you should expect to be listed, you can make this rough calculus : number of topics / post per pages + number of forum / topic per 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: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Problems with rewrite

Postby bbbandit » Fri Oct 20, 2006 12:48 pm

Hi

First of all i want to thanks every one that helps this forum grow and specially dcz.

I have a problem with rewrite my sitemaps.xml, i install the mod with sucess, but cant put working, i allready went to ACP, and put rewrite "on"

The rewrite mod i use for my forum, is [url=http://www.phpbb.com/phpBB/viewtopic.php?t=407141&highlight=google+seo][BETA]SEO Urls V2
[/url], so i dont if my procedure is correct, i copy the files at the folder:
    \mx_ggsitemaps_v1.0.0RC2\contrib\moded_4_mod_rewrites\phpBB_SEO_mod_Rewrites\Advanced_Mod_Rewrite


and my my .htaccess is the below:

Code: Select all
<Files config.php>
Deny from all
</Files>


# $Id: .htaccess,v 1.2 2003/09/24 13:57:00 wilt Exp $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
#   AllowOverride Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)

# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers

<IfModule mod_setenvif.c>
  <IfDefine SSL>
    SetEnvIf User-Agent ".*MSIE.*" \
             nokeepalive ssl-unclean-shutdown \
             downgrade-1.0 force-response-1.0
  </IfDefine>
</IfModule>

# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)

<IfModule mod_php4.c>
  php_value session.use_trans_sid 0
  php_value register_globals 1
  php_flag display_errors On
  php_flag track_errors On
</IfModule>


Options +FollowSymLinks
RewriteEngine On
RewriteBase /

RewriteRule ^sitemaps.xml$ /forum/sitemap.php [L]
RewriteRule ^mx-sitemap.xml$ /forum/sitemap.php?mx [L]
RewriteRule ^forum-sitemap-([0-9]+).xml$ /forum/sitemap.php?fid=$1 [L]
RewriteRule ^kb-sitemap-([0-9]+).xml$ /forum/sitemap.php?kbid=$1 [L]
RewriteRule ^sitemap-forum.xml$ /forum/sitemap.php?forum [L]
RewriteRule ^sitemap-kbcat.xml$ /forum/sitemap.php?kbcat [L]

RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING}
RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING}

# SEO URL [mgutt]
RewriteRule !\.html$ - [L]
RewriteRule ^forum/[a-z0-9-]+-([pt])([0-9]+)\.html$ /forum/viewtopic.php?$1=$2 [L]
RewriteRule ^forum/[a-z0-9-]+-f([0-9]+)\.html$ /forum/viewforum.php?f=$1 [L]
RewriteRule ^forum/[a-z0-9-]+-c([0-9]+)\.html$ /forum/index.php?c=$1 [L]
RewriteRule ^forum/[a-z0-9-]+-u([0-9]+)\.html$ /forum/profile.php?mode=viewprofile&u=$1 [L]
RewriteRule ^forum/([a-zA-Z0-9_]+),([^/,]+),([^/,]*)([^/]*\.html)$ forum/$1$4?$2=$3 [QSA,N]
RewriteRule ^forum/[a-z0-9-]+-([pt])([0-9]+),([^/,]+),([^/,]*)([^/]*\.html)$ forum/viewtopic$5?$1=$2&$3=$4 [QSA,N]
RewriteRule ^forum/[a-z0-9-]+-f([0-9]+),([^/,]+),([^/,]*)([^/]*\.html)$ forum/viewforum$4?f=$1&$2=$3 [QSA,N]
RewriteRule ^forum/([a-zA-Z0-9_]+)\.html$ /forum/$1.php [L]

#CRE_SEO Begin

#cre SEO check for images and skip all the other rules for performance reasons only
RewriteRule ^.*\.gif|\.jpg|\.png|\.css|\.php$ - [L]

# cre SEO reformats for product_info.html pages
RewriteRule ^m([0-9]+_?[0-9]*)/?(.*)/p([0-9]+_?[0-9]*)/(.*)/product_info\.html$ product_info.php?manufacturers_id=$1&products_id=$3 [QSA,L]
RewriteRule ^p([0-9]+_?[0-9]*)/(.*)/product_info\.html$ product_info.php?products_id=$1 [QSA,L]
RewriteRule ^(.*)/c([^/]*)/p([0-9]+_?[0-9]*)/(.*)/product_info\.html$ product_info.php?cPath=$2&products_id=$3 [QSA,L]

# cre SEO reformat for index.html pages
RewriteRule ^m([0-9]+_?[0-9]*)/?(.*)/p([0-9]+_?[0-9]*)/(.*)/index\.html$ index.php?manufacturers_id=$1&products_id=$3 [QSA,L]
RewriteRule ^m([0-9]+_?[0-9]*)/(.*)/index\.html$ index.php?manufacturers_id=$1 [QSA,L]
RewriteRule ^(.*)/c([^/]*)/p([0-9]+_?[0-9]*)/(.*)/index\.html$ index.php?cPath=$2&products_id=$3 [QSA,L]
RewriteRule ^(.*)/c([^/]*)/index\.html$ index.php?cPath=$2 [QSA,L]

# cre SEO reformat for information.html pages
RewriteRule ^i([0-9]+_?[0-9]*)/(.*)/information\.html$ information.php?info_id=$1 [QSA,L]

# cre SEO reformat for pages.html pages
RewriteRule ^p([0-9]+_?[0-9]*)/(.*)/pages\.html$ pages.php?pID=$1 [QSA,L]
RewriteRule ^(.*)/c([^/]*)/p([0-9]+_?[0-9]*)/(.*)/pages\.html$ pages.php?cID=$2&pID=$3 [QSA,L]
RewriteRule ^(.*)/c([^/]*)/pages\.html$ pages.php?cID=$2 [QSA,L]

# cre SEO reformat for articles.html pages
RewriteRule ^(.*)/t([^/]*)/a([0-9]+_?[0-9]*)/(.*)/articles\.html$ articles.php?tPath=$2&articles_id=$3 [QSA,L]
RewriteRule ^(.*)/t([^/]*)/articles\.html$ articles.php?tPath=$2 [QSA,L]

# cre SEO reformat for article_info.html pages
RewriteRule ^a([0-9]+_?[0-9]*)/(.*)/article_info\.html$ article_info.php?articles_id=$1 [QSA,L]
RewriteRule ^(.*)/t([^/]*)/article_info\.html$ article_info.php?tPath=$2 [QSA,L]

# cre SEO reformats for product_reviews.html pages
RewriteRule ^p([0-9]+_?[0-9]*)/(.*)/product_reviews\.html$ product_reviews.php?products_id=$1 [QSA,L]
RewriteRule ^(.*)/c([^/]*)/p([0-9]+_?[0-9]*)/(.*)/product_reviews\.html$ product_reviews.php?products_id=$3 [QSA,L]

# cre SEO reformats for product_reviews_info.html pages
RewriteRule ^p([0-9]+_?[0-9]*)/(.*)/review([0-9]+_?[0-9]*)/product_reviews_info\.html$ product_reviews_info.php?products_id=$1&reviews_id=$3 [QSA,L]

#cre SEO catch all in case other rules did not match
RewriteRule ^(product_info|index|information|pages|articles|article_info|product_reviews|product_reviews_info)\.html$ $1.php [QSA,L]

#CRE_SEO Install End


I dont know what im doing wrong, can you give me a hint on the right direction? Thanks very much for your time
bbbandit
 
Posts: 7
Joined: Fri Oct 20, 2006 12:35 pm

Sorry

Postby bbbandit » Fri Oct 20, 2006 3:24 pm

:oops: Sorry for you trouble

I resolve the problem, i had 2 issues, the rewrite like it is in .htacess file go to the root, not in the forum directorie, so i add this:

Code: Select all
forum/


and i put the original files, that came with the mod, dont use the ones that were in contrib folders.

Thanks for you great mod :lol:
bbbandit
 
Posts: 7
Joined: Fri Oct 20, 2006 12:35 pm

Postby dcz » Fri Oct 20, 2006 6:08 pm

And welcome :D

And thanks ;)

Make sure to follow some links in the sitemap index to make sure you're outputting the rewritten URLs, just in case.

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

links

Postby bbbandit » Sat Oct 21, 2006 7:58 pm

Hi again :)

Make sure to follow some links in the sitemap index to make sure you're outputting the rewritten URLs, just in case.



One thing i dont understand, i follow the links that my sitemaps gives to google, but they are like this:

-http://www.mydomain.com/forum/viewtopic.php?t=88

Google dont going to follow this because i had disallow the viewtopic.php at robots.txt, for google only get the html vs, the url of sitemaps supost to be like this:

-http://www.mydomain.com/forum/viewtopic-t88.html

Can you tell if this is ok or is something missing here that i dont know what is?

Thanks for your attention
bbbandit
 
Posts: 7
Joined: Fri Oct 20, 2006 12:35 pm

Postby dcz » Sun Oct 22, 2006 11:27 am

You'll find the premodded sitemap_forum.php file for SEO URL v2 in contrib/moded_4_mod_rewrites/Other_mod_Rewrites/SEO_URL_V2/, you just need to upload it in mx_ggsitemaps/includes/ ;)

++
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 bbbandit » Mon Oct 23, 2006 7:47 am

Hi

I only find this ones in contrib/moded_4_mod_rewrites/Other_mod_Rewrites/:
    Able2know_standard
    GoogleBB_Link_standard
    SO_Called_Dr_DLP_standard
    webmedic_standard


Wich one it is?
bbbandit
 
Posts: 7
Joined: Fri Oct 20, 2006 12:35 pm

PreviousNext

Return to GYM Sitemaps phpBB2

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest