| |
|
| :: |
| Author |
Message |
Rap3
Joined: 15 Aug 2008 Posts: 4 Location: Florida
|
Posted: 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
|
|
| Back to top |
|
 |
Rap3
Joined: 15 Aug 2008 Posts: 4 Location: Florida
|
Posted: 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

Joined: 15 Mar 2006 Posts: 4006
|
|
| Back to top |
|
 |
Rap3
Joined: 15 Aug 2008 Posts: 4 Location: Florida
|
Posted: 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

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
Rap3
Joined: 15 Aug 2008 Posts: 4 Location: Florida
|
Posted: 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

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|