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  
 
   
Problems installing

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 SEO TooLKit  » GYM Sitemaps & RSS
::  
Author Message
remixed



Joined: 09 May 2008
Posts: 19

Problems installingPosted: Thu Aug 14, 2008 10:06 pm    Post subject: Problems installing

Hello,

I installed this GYM Sitemap & RSS Mod for phpbb3 already on a other site of me (a month ago). I wanted to install it on a other site: arhc.dymex.nl/(forum)
but i can't get it working.

MY .htaccess file:
Code:


    # Lines That should already be in your .htacess
    <Files "config.php">
    Order Allow,Deny
    Deny from All
    </Files>
    <Files "common.php">
    Order Allow,Deny
    Deny from All
    </Files>

    # You may need to un-comment the following line
    # Options +FollowSymlinks
    # REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
    RewriteEngine On
    # REWRITE BASE
    RewriteBase /
    # HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION

    #####################################################
    # PHPBB SEO REWRITE RULES - ADVANCED
    #####################################################
    # AUTHOR : dcz www.phpbb-seo.com
    # STARTED : 01/2006
    #################################
    # FORUMS PAGES
    ###############
    # FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX
    # RewriteRule ^forum/forum\.html$ /forum/index.php [QSA,L,NC]
    # FORUM
    RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)/?(pagina([0-9]+)\.html)?$ /forum/viewforum.php?f=$1&start=$3 [QSA,L,NC]
    # TOPIC WITH VIRTUAL FOLDER
    RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
    # GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
    RewriteRule ^forum/aankondegingen/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
    # TOPIC WITHOUT FORUM ID & DELIM
    RewriteRule ^forum/([a-z0-9_-]*)/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?forum_uri=$1&t=$2&start=$4 [QSA,L,NC]
    # PROFILES THROUGH USERNAME
    RewriteRule ^forum/member/([^/]+)/?$ /forum/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
    # USER MESSAGES THROUGH USERNAME
    RewriteRule ^forum/member/([^/]+)/(topics|posts)/?(pagina([0-9]+)\.html)?$ /forum/search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
    # GROUPS ADVANCED
    RewriteRule ^forum/[a-z0-9_-]*-g([0-9]+)(-([0-9]+))?\.html$ /forum/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
    # POST
    RewriteRule ^forum/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L,NC]
    # ACTIVE TOPICS
    RewriteRule ^forum/actieve-topics(-([0-9]+))?\.html$ /forum/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
    # UNANSWERED TOPICS
    RewriteRule ^forum/onbeantwoord(-([0-9]+))?\.html$ /forum/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
    # NEW POSTS
    RewriteRule ^forum/nieuwe-berichten(-([0-9]+))?\.html$ /forum/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
    # THE TEAM
    RewriteRule ^forum/het-team\.html$ /forum/memberlist.php?mode=leaders [QSA,L,NC]
    # HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

    #####################################################
    # NOTE : THIS REWRITERULE IS LEFT COMMENTED BECAUSE IT MUST
    # BE IMPLEMENTED IN THE DOMAIN’S ROOT .HTACCESS
    # WITH PROPER SLASHES AND PATHS
    # GYM Sitemaps & RSS
    # Global channels
    # RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?/?$ /gymrss.php?channels&$2&$4&$6 [L,NC]
    # END GYM Sitemaps & RSS
    #####################################################

    # FORUM WITHOUT ID & DELIM
    # THESE THREE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^forum/([a-z0-9_-]+)/?(pagina([0-9]+)\.html)?$ /forum/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
    # END PHPBB PAGES
    #####################################################

    #####################################################
    # NOTE : THESE THREE REWRITERULE ARE LEFT COMMENTED BECAUSE THEY MUST
    # BE IMPLEMENTED IN THE DOMAIN’S ROOT .HTACCESS
    # WITH PROPER SLASHES AND PATHS
    # 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]
    #####################################################
    # NOTE : THESE THREE REWRITERULE ARE LEFT COMMENTED BECAUSE THEY MUST
    # BE IMPLEMENTED IN THE DOMAIN’S ROOT .HTACCESS
    # WITH PROPER SLASHES AND PATHS
    # Google SitemapIndex
    # RewriteRule ^sitemap\.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
    #####################################################


(I can delete this part, but it doesn't make a difference)
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress


The forum is in a subfolder of my domain and the forum works OK with the url rewrite. I have put the sitemap.php and the gymrss.php in de domain home folder and have put changed the $phpbb_root_path = './forum/'; part in the 2 files.

The problem:
http://arhc.dymex.nl/sitemap.xml (404 error)
http://arhc.dymex.nl/sitemap.php (ok, but doesn't include the topic in the forum and the last mod time is strange..)
http://arhc.dymex.nl/gymrss.php (different 404 error)
http://arhc.dymex.nl/gymrss.php?channels (ok, but doesn't include the topic in the forum)

I can't figure out what the problem is.. maby someone else can help me?


Mitch
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 4006

Problems installingPosted: Sat Aug 16, 2008 8:47 am    Post subject: Re: Problems installing

Quote:
Code:
    # NOTE : THESE THREE REWRITERULE ARE LEFT COMMENTED BECAUSE THEY MUST
    # BE IMPLEMENTED IN THE DOMAIN’S ROOT .HTACCESS
    # WITH PROPER SLASHES AND PATHS


If your .htaccess really is implemented at the domain's root level, you just need to uncomment (eg remove the # before every occurrences of "RewriteRule" in the GYM RewriteRules.) and it will work Wink

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
remixed



Joined: 09 May 2008
Posts: 19

Problems installingPosted: Sat Aug 16, 2008 9:02 am    Post subject: Re: Problems installing

much better now, stil i get the 404 error at:
http://arhc.dymex.nl/gymrss.php

EDIT:
It works, i saw that you had to make a topic (atleast 1).
Back to top
pss



Joined: 27 Aug 2008
Posts: 2

Problems installingPosted: Wed Aug 27, 2008 5:21 am    Post subject: Re: Problems installing

remixed wrote:

It works, i saw that you had to make a topic (atleast 1).


Same problem.RSS display error when no topics listed on forum.

--
pss
http://openbravoforum.co.cc
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

Problems installingPosted: Thu Aug 28, 2008 7:18 am    Post subject: Re: Problems installing

Well, it's not really a problem, there is no real point to output empty rss feeds 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   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 SEO TooLKit  » GYM Sitemaps & RSS
Page 1 of 1

Navigation Similar Topics

Jump to: