/sitemap.php sends me to /sitemaps.xml and it's not working

The GYM Sitemaps and RSS module and it's plug-ins.
Google Yahoo MSN Sitemaps (United 0.9).
RSS 2.0 Feeds and Yahoo! urllist.txt.

Moderator: Moderators

/sitemap.php sends me to /sitemaps.xml and it's not working

Postby archangel1982 » Thu Sep 11, 2008 7:02 pm

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

Thank you all!!


...
archangel1982
 
Posts: 3
Joined: Thu Sep 11, 2008 6:55 pm

Advertisement

re

Postby archangel1982 » Thu Sep 11, 2008 7:07 pm

Oops, and one last thing, I have phpbb2, Probably I posted this thread in the wrong forum. :? My apologizes
archangel1982
 
Posts: 3
Joined: Thu Sep 11, 2008 6:55 pm

Re: /sitemap.php sends me to /sitemaps.xml and it's not work

Postby dcz » Sat Sep 13, 2008 2:11 pm

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: Select all
RewriteBase /


after :
Code: Select all
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 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21382
Joined: Fri Apr 28, 2006 9:03 pm


Return to GYM Sitemaps phpBB2

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests