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  
 
   
HTTP/1.1 404 Not Found

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



Joined: 15 Aug 2008
Posts: 4
Location: Florida

HTTP/1.1 404 Not FoundPosted: Fri Aug 15, 2008 1:38 am    Post subject: HTTP/1.1 404 Not Found

Hey guys,

To start this out I want to say thank you for making this great free SEO solution for everyone. Today when I attempted to install GYM Sitemaps & RSS everything looked like it was going well. I configured everything right. But once I took a look at the RSS feed I had a HTTP/1.1 404 Not Found.

Here is a link to my RSS Feed:
http://www.ng-coding.com/forums/rss/rss.xml

Sitemap:
http://www.ng-coding.com/forums/sitemap.php

Channel RSS Feed:
http://www.ng-coding.com/forums/rss/

The line which is causing the error:
Code:

if ( empty($this->output_data['url_sofar']) ) {
            $this->gym_error(404, '', __FILE__, __LINE__, $sql);
}


I have commented it out, but when I did so no RSS Feed was outputted.

.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\.html$ index.php [QSA,L,NC]
# FORUM
RewriteRule ^[a-z0-9_-]*-f([0-9]+)/?(page([0-9]+)\.html)?$ viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^announces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^([a-z0-9_-]*)/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?forum_uri=$1&t=$2&start=$4 [QSA,L,NC]
# PROFILES ADVANCED
RewriteRule ^[a-z0-9_-]*-u([0-9]+)\.html$ memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# USER MESSAGES ADVANCED
RewriteRule ^[a-z0-9_-]*-u([0-9]+)-(topics|posts)(-([0-9]+))?\.html$ search.php?author_id=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS ADVANCED
RewriteRule ^[a-z0-9_-]*-g([0-9]+)(-([0-9]+))?\.html$ memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^post([0-9]+)\.html$ viewtopic.php?p=$1 [QSA,L,NC]
# ACTIVE TOPICS
RewriteRule ^active-topics(-([0-9]+))?\.html$ search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
# UNANSWERED TOPICS
RewriteRule ^unanswered(-([0-9]+))?\.html$ search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
# NEW POSTS
RewriteRule ^newposts(-([0-9]+))?\.html$ search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
# THE TEAM
RewriteRule ^the-team\.html$ memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

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

# 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 ^([a-z0-9_-]+)/?(page([0-9]+)\.html)?$ viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
# END PHPBB PAGES
#####################################################


I currently have PHPBB Seo installed using Advance settings which is working like a beauty but I just cant figure out what is wrong with the RSS and Sitemap.

I am also on CentOS and I am using LSWS instead of apache. But I doubt that would cause any of the problems. And I am on PHP 4.4.8. Any help would be appreciated.
Back to top
remixed



Joined: 09 May 2008
Posts: 19

HTTP/1.1 404 Not FoundPosted: Fri Aug 15, 2008 7:20 am    Post subject: Re: HTTP/1.1 404 Not Found

I have almost the same problem look at my post:
http://www.phpbb-seo.com/boards/gym-sitemaps-rss/discussions-vt3090.html

The difference is that my http://arhc.dymex.nl/gymrss.php gives a different 404 error, but the rest is the same, also the sitemap.php isn't correct.
Back to top
Rap3



Joined: 15 Aug 2008
Posts: 4
Location: Florida

HTTP/1.1 404 Not FoundPosted: Fri Aug 15, 2008 12:57 pm    Post subject: Re: HTTP/1.1 404 Not Found

Yea I just cant figure out what is wrong. I've went over and tripled check everything. I think there might be something wrong with the main class or something. Because it is not grabbing no urls. And the error is only generated if url_sofar and url_sofar_total are empty, which the variables are defined by a SQL query. So yea I don't know what to say.
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 4006

HTTP/1.1 404 Not FoundPosted: Sat Aug 16, 2008 8:51 am    Post subject: Re: HTTP/1.1 404 Not Found

It's just that you do not have any topic to list, and the mod throws a 404 in such cases to make sure that it won't be taken into account when it's not installed or activated, and in the quite special case of an empty forum too.

_________________
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
Rap3



Joined: 15 Aug 2008
Posts: 4
Location: Florida

HTTP/1.1 404 Not FoundPosted: Sat Aug 16, 2008 8:25 pm    Post subject: Re: HTTP/1.1 404 Not Found

Well I these are my stats:
Total posts 208 | Total topics 74

Its a brand new site. So it should be working because I have topics and post. Would it be problem that I have it the user isn't registered it doesn't show any of the post only a forum saying to register for certain benefits.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

HTTP/1.1 404 Not FoundPosted: Mon Aug 18, 2008 11:52 am    Post subject: Re: HTTP/1.1 404 Not Found

If you turn on the phpBB auth for RSS feeds, you'll be able to list some content in feeds (public content is default) for logged in users.

Sitemaps do only list public content in all cases, so you need some to start using it.

++

_________________
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
Rap3



Joined: 15 Aug 2008
Posts: 4
Location: Florida

HTTP/1.1 404 Not FoundPosted: Mon Aug 18, 2008 8:34 pm    Post subject: Re: HTTP/1.1 404 Not Found

Thank you for your help. I fixed all the permissions. Again thank you.

BTW: There is a problem with the Ping Back function for sitemaps. It makes the page blank. It is probably cause of my PHP Version. I just wanted to point that out to you guys.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

HTTP/1.1 404 Not FoundPosted: Sat Aug 23, 2008 7:32 am    Post subject: Re: HTTP/1.1 404 Not Found

Yes, pinging went from inactive to bugged while going from B2 to B3, we're working on it.

++

_________________
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: