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.php sends me to /sitemaps.xml and it's not working

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



Joined: 11 Sep 2008
Posts: 3

/sitemap.php sends me to /sitemaps.xml and it's not workingPosted: Thu Sep 11, 2008 7:02 pm    Post subject: /sitemap.php sends me to /sitemaps.xml and it's not working

Hello!

When I visit http//www.myforum.com/sitemap.php, it sends me to http//www.myforum.com/sitemaps.xml, and I get this message:

Page Not Found

The page you tried to access does not exist on this server. This page may not exist due to the following reasons:

1. You are the owner of this web site and you have not uploaded (or incorrectly uploaded) your web site. For information on uploading your web site using FTP client software or web design software, click here for FTP Upload Information.

2. The URL that you have entered in your browser is incorrect. Please re-enter the URL and try again.

3. The Link that you clicked on incorrectly points to this page. Please contact the owner of this web site to inform them of this situation.


What is going on?
I have set URL rewriting, and this is my .htaccess.bak:


RewriteEngine on

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



And one last thing: Can somebody explain to me what the difference between sitemap.php and sitemaps.xml?
I'm a noob. sorry Confused

Thank you all!!


...
Back to top
archangel1982



Joined: 11 Sep 2008
Posts: 3

/sitemap.php sends me to /sitemaps.xml and it's not workingPosted: Thu Sep 11, 2008 7:07 pm    Post subject: re

Oops, and one last thing, I have phpbb2, Probably I posted this thread in the wrong forum. Confused My apologizes
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

/sitemap.php sends me to /sitemaps.xml and it's not workingPosted: Sat Sep 13, 2008 2:11 pm    Post subject: Re: /sitemap.php sends me to /sitemaps.xml and it's not work

Topic moved.

archangel1982 wrote:

I have set URL rewriting, and this is my .htaccess.bak:


First make sure you are working on .htaccess and not .htaccess.bak.

So is this .htaccess located in your domain's root (http//www.myforum.com/sitemaps.xml) ?

Just in case it is and it does not work, try adding :
Code:

RewriteBase /


after :
Code:
RewriteEngine on


and eventually to additionally get rid of all the right slashes (/rss.php and /sitemap.php goes to rss.php and sitemap.php in the RewriteRule).

++

_________________
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  » phpBB SEO TooLKit  » GYM Sitemaps
Page 1 of 1

Navigation Similar Topics

Jump to: