This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

question about news_archive and sitemap


avatar
k2k4 12
From: -
question about news_archive and sitemap

Face with Stuck-Out Tongue It's my good luck to find this great script. I am studying with community edition.

Confused Face My problems for the moments are:

1) After "ForceType" and "Use mod_rewrite for SEO URLs" enabled, everything seems working well in terms of SEO URLs. But, later, I found that " http://mydomain.com/news_archive" does not work, only showing white screen.

2) I submitted " http://mydomain.com/sitemap/sitemap.xml" to Google Webmaster. Several minutes later, however, Google answered that it could not find "sitemap.xml" in my site. Where should I find my sitemap? In administration area, main => Build Sitemap seems working well.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: question about news_archive and sitemap
avatar
OP 12
From: -
Is the news archive working with mod_rewrite disabled? Are you using the bulletin board integration? If this is the case, which forum are you using?


Face Screaming in Fear Fantastically my news_archive problem is solved after I answer "no" to the question "Enable forum comments?" in Admin area => Articles => News => News preference.

The problem was that I answered "yes" to the same question although I did not use any forum script like V-Bulletin, PHPBB and the likes.

Now news_archive is clean and perfect. Thank you very much. Grinning Face
1 Re: question about news_archive and sitemap
avatar
Editor
0
From: -
Is the news archive working with mod_rewrite disabled? Are you using the bulletin board integration? If this is the case, which forum are you using?
1 Re: question about news_archive and sitemap
avatar
OP 12
From: -
White screen without any error message

Open contentteller.php in an editor and change:
Do you get now an error message?


I changed the error message code as instructed. But a white screen welcomes me for news-archive that is, for example,  http://mydomain.com/news_archive/200904.html. I don't see any error message in the white screen. Pouting Face
1 Re: question about news_archive and sitemap
avatar
Editor
0
From: -
Open contentteller.php in an editor and change:

error_reporting( 0 );


to

error_reporting( E_ALL );


Do you get now an error message?
1 Re: question about news_archive and sitemap
avatar
OP 12
From: -
Did you rename htaccess.txt to .htaccess and uncomment the RewriteCond/RewriteRule lines in it?


Yes, I did. the current ".htaccess" in my server reads:

<Files contentteller>
ForceType application/x-httpd-php
</Files>

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^contentteller|contentteller/|contentteller/(.+)$ contentteller.php [L,QSA]

# Uncomment the following RewriteCond/RewriteRule lines if you are using the mod_rewrite SEO option
# You may need to adjust the third RewriteCond line to exclude additional directories
# Note: Using the mod_rewrite option is only recommended for experienced users
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(cadmin|jscripts|images|sitemap)/
RewriteRule ^(.+)$ contentteller.php [L,QSA]
</IfModule>


Many thanks for the reply. Smiling Face
1 Re: question about news_archive and sitemap
avatar
Editor
0
From: -
Did you rename htaccess.txt to .htaccess and uncomment the RewriteCond/RewriteRule lines in it?
1 Re: question about news_archive and sitemap
avatar
OP 12
From: -
2) I submitted " http://mydomain.com/sitemap/sitemap.xml" to Google Webmaster. Several minutes later, however, Google answered that it could not find "sitemap.xml" in my site. Where should I find my sitemap? In administration area, main => Build Sitemap seems working well.


This one was solved in a way mysterious to me.

What I tried was:
1) Upload the original file "sitemap/sitemap.xml" to my server by menas of FTP
2) Re-submit above-said file to Google Webmaster

Hours later, Google says it's OK. Grinning Face

Now I have only one problem. Smiling Face

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.