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  
 
   
Sitemap error

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » GYM Sitemaps
::  
Author Message
ultimatehandyman
PR2
PR2


Joined: 15 Mar 2007
Posts: 205

Sitemap errorPosted: Sat May 10, 2008 11:53 am    Post subject: Sitemap error

This is not a problem with the GYM sitemap, it is a problem that has occured when my site was moved to a new server.

The sitemap was working brilliantly and is an excellent mod!

Now that the site is on a new server the sitemap is showing a 404 error

Code:
Not Found
The requested URL /forum1/sitemaps.xml was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.5 Server at www.ultimatehandyman.co.uk Port 80



There is a webmaster that helps me with the forum mods and so he might fix it when he fixes a few other problems, but if he can't does anyone know how to fix this?

Thanks

chez

_________________
DIY | DIY directory |DIY forum
Back to top
ultimatehandyman
PR2
PR2


Joined: 15 Mar 2007
Posts: 205

Sitemap errorPosted: Mon May 12, 2008 5:43 pm    Post subject: Re: Sitemap error

He was so busy fixing the other forum errors that he did not get around to this.

Does anyone know what has happened to my sitemap?

Google is linking to http://www.ultimatehandyman.co.uk/forum1/sitemaps.xml

but sitemaps.xml is not there Confused

Thanks in advance

chez

_________________
DIY | DIY directory |DIY forum
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

Sitemap errorPosted: Wed May 14, 2008 3:20 pm    Post subject: Re: Sitemap error

Should only be an .htaccess matter.

Could you post it here and tell me where it is (forum1/ or domain's root) ?

As well, the url you posted suggest that your sitemap.php (the physical file) is in forum1/, make sure about 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
ultimatehandyman
PR2
PR2


Joined: 15 Mar 2007
Posts: 205

Sitemap errorPosted: Wed May 14, 2008 8:03 pm    Post subject: Re: Sitemap error

Thanks dcz,

The sitemap.php is in the forum1 directory.

When the forum was moved I had a couple of mods installed, one of these was a mod to ignore users, this conflicted with the .htaccess file and so it was edited or else the new mod would not work.

This is the file-

Code:
# You could need to un-comment the following line
# Options +FollowSymlinks
RewriteEngine On
RewriteBase /

#########################################################
# PHPBB SEO REWRITE RULES            #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM INDEX (un-comment if used)
# RewriteRule ^forum1/index\.html$ /forum1/index.php [QSA,L,NC]
# FORUM PROTECTION RULE
# RewriteRule ^forum1/[a-z0-9_-]*/([^/]+\.html)$ /forum1/index.php [R=301,L,NC]
# CATEGORIES
RewriteRule ^forum1/[a-z0-9_-]*-c([0-9]+)\.html$ /forum1/index.php?c=$1 [QSA,L,NC]
# PAGINATED FORUM
RewriteRule ^forum1/[a-z0-9_-]*-f([0-9]+)-([0-9]+)\.html$ /forum1/viewforum.php?f=$1&start=$2 [QSA,L,NC]
# FORUM
RewriteRule ^forum1/[a-z0-9_-]*-f([0-9]+)\.html$ /forum1/viewforum.php?f=$1 [QSA,L,NC]
# PAGINATED TOPIC
RewriteRule ^forum1/[a-z0-9_-]*-t([0-9]+)-([0-9]+)\.html$ /forum1/viewtopic.php?t=$1&start=$2 [QSA,L,NC]
# TOPIC
RewriteRule ^forum1/[a-z0-9_-]*-t([0-9]+)\.html$ /forum1/viewtopic.php?t=$1 [QSA,L,NC]
# POST
RewriteRule ^forum1/post([0-9]+)\.html$ /forum1/viewtopic.php?p=$1 [QSA,L,NC]
#PROFILES
RewriteRule ^forum1/member([0-9]+)\.html$ /forum1/profile.php?mode=viewprofile&u=$1 [QSA,L,NC]
# END PHPBB PAGES
#####################################################


Thanks very much in advance Wink

_________________
DIY | DIY directory |DIY forum
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3103

Sitemap errorPosted: Thu May 15, 2008 8:55 am    Post subject: Re: Sitemap error

All right, so you miss all the GYM rewriterules.

Add this at the end of your .htaccess, should work right away :

Code:
#########################################################
# GYM SITEMAPS AND RSS REWRITE RULES         #
#########################################################
# AUTHOR : dcz http://www.phpbb-seo.com/
# STARTED : 2006/02/22
########################
# RSS main
RewriteRule ^forum1/rss-?(l|s)?-?(m)?\.(xml(\.gz)?)$ /forum1/rss.php?$1&$2 [L]
# RSS forums
RewriteRule ^forum1/forums-rss-?(l|s)?-?(m)?\.(xml(\.gz)?)$ /forum1/rss.php?forum&c&$1&$2 [L]
# RSS all
RewriteRule ^forum1/([a-zA-Z0-9_-]+)-rss([0-9]*)-?(l|s)?-?(m)?\.(xml(\.gz)?)$ /forum1/rss.php?$1=$2&$3&$4 [L]
# RSS forum topics
RewriteRule ^forum1/.+-rf([0-9]+)-?(l|s)?-?(m)?\.(xml(\.gz)?)$ /forum1/rss.php?forum=$1&$2&$3 [L]
# SitemapIndex
RewriteRule ^forum1/sitemaps\.(xml(\.gz)?)$ /forum1/sitemap.php [L]
# Sitemap modules
RewriteRule ^forum1/([a-zA-Z0-9_-]+)-sitemap\.(xml(\.gz)?)$ /forum1/sitemap.php?$1 [L]
# Forum Sitemaps
RewriteRule ^forum1/.+-gf([0-9]+)\.(xml(\.gz)?)$ /forum1/sitemap.php?forum=$1 [L]
# Yahoo! urllist.txt
RewriteRule ^forum1/urllist\.(txt(\.gz)?)$ /forum1/urllist.php [L]
#########################################################
# END GYM SITEMAPS AND RSS REWRITE RULES      #
#########################################################


Wink

_________________
Back to top
ultimatehandyman
PR2
PR2


Joined: 15 Mar 2007
Posts: 205

Sitemap errorPosted: Thu May 15, 2008 4:24 pm    Post subject: Re: Sitemap error

Thanks very much Wink

The sitemap is now back where it should be.

Thanks again Wink

_________________
DIY | DIY directory |DIY forum
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » GYM Sitemaps
Page 1 of 1

Navigation Similar Topics

Jump to: