recently i hv downloaded the GYM Sitemaps & RSS mod and installed it to my phpbb version 3.0.2 using manual installation as i already have some other mods installed...
Installation is good, but configuration still a BIG problem... I think it's related to mod_rewrite and htaccess
Here some of my known problems
- few RSS feed when open goes to Sitemap xml, but some others working normally
- if Google Sitemap ping to google features enable, I get errors cannot find nice_print()
- Sitemap only list my root domain, while others is sumthin like forum2.html and forum39.html, but I DO NOT have SEO URL installed
- Sitemap always think I do have SEO URL and mod_rewrite all links within them, even configuration is OFF
Ok, here are part of my htaccess, same as instructed with the readme
- Code: Select all
DirectoryIndex portal.php index.php index.html index.htm
SetEnvIfNoCase User-Agent "^libwww-perl*" block
# Supplement 01 10
SetEnvIfNoCase User-Agent "^Wget*" block1
# Supplement 01 10
order deny,allow
Deny from env=block
Deny from env=block1
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
RewriteEngine On
RewriteBase /
#####################################################
# GYM Sitemaps & RSS
# Global channels
RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?/?$ /gymrss.php?channels&$2&$4&$6 [L,NC]
# END GYM Sitemaps & RSS
#####################################################
#####################################################
# GYM Sitemaps & RSS
# Main feeds & channels
RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?(/([a-z0-9_-]+))?/([a-z0-9_]+)\.xml(\.gz)?$ /gymrss.php?$9=$8&$2&$4&$6&gzip=$10 [L,NC]
# Forum feeds
RewriteRule ^[a-z0-9_-]*-f([0-9]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ /gymrss.php?$8=$1&$3&$5&$7&gzip=$9 [L,NC]
# Module feeds without ids
RewriteRule ^([a-z0-9_-]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ /gymrss.php?nametoid=$1&$3&$5&$7&modulename=$8&gzip=$9 [L,NC]
# Google SitemapIndex
RewriteRule ^sitemapindex\.xml(\.gz)?$ /sitemap.php?gzip=$1 [L,NC]
# Forum sitemaps
RewriteRule ^[a-z0-9_-]+-f([0-9]+)\.xml(\.gz)?$ /sitemap.php?forum=$1&gzip=$2 [L,NC]
# Module sitemaps
RewriteRule ^([a-z0-9_]+)-([a-z0-9_-]+)\.xml(\.gz)?$ /sitemap.php?$1=$2&gzip=$3 [L,NC]
# END GYM Sitemaps & RSS
#####################################################
RewriteRule ^$ /portal.php [R=301,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule . /portal.php [QSA,L]
List of other mods installed: PortalXL5.0 Plain and Posting Template only

English |
French
