sitemap ---
Moderator: Thorsten
sitemap ---
In some recent phpmyfaq version a 'sitemap' menuitem was introduced.
I don't understand it. It has no effect. Our (general webserver) .htacces redirects to the web index page.
Is it simply the idea I should myself 'build on' this?
I don't understand it. It has no effect. Our (general webserver) .htacces redirects to the web index page.
Is it simply the idea I should myself 'build on' this?
Hi,
you you have a sitemap.php and sitemap.tpl file in your FAQ?
bye
Thorsten
you you have a sitemap.php and sitemap.tpl file in your FAQ?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
is it possible that there's an error in your .htaccess file? If you call the sitemap like that http://webyog.com/faq/index.php?action=sitemap it works.
bye
Thorsten
is it possible that there's an error in your .htaccess file? If you call the sitemap like that http://webyog.com/faq/index.php?action=sitemap it works.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
.htaccess
well it does not work here I think! Have one more look at it! It opens but does not look right.
It displays only A as a header and the links return to web index page. the .htaccess
It displays only A as a header and the links return to web index page. the .htaccess
Code: Select all
##
# phpMyFAQ 1.5 .htaccess file
#
# @author Thorsten Rinne <thorsten@phpmyfaq.de>
# @author Patrick Preuster <sica@php-q.net>
# @since 2004-11-13
# @copyright (c) 2004-2006 phpMyFAQ Team
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.1 (the "License"); you may not use this file except in
# compliance with the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS"
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
# License for the specific language governing rights and limitations
# under the License.
#
# if you want to use mod_rewrite, set this 'On'
RewriteEngine On
# the path to your phpMyFAQ installation
RewriteBase /phpmyfaq/
# show all categories
RewriteCond %{REQUEST_URI} showcat\.html$ [NC]
RewriteRule ^(.*)$ index.php?action=show [L,QSA]
# the search page
RewriteCond %{REQUEST_URI} search\.html$ [NC]
RewriteRule ^(.*)$ index.php?action=search [L,QSA]
# the add content page
RewriteCond %{REQUEST_URI} addcontent\.html$ [NC]
RewriteRule ^(.*)$ index.php?action=add [L,QSA]
# the ask question page
RewriteCond %{REQUEST_URI} ask\.html$ [NC]
RewriteRule ^(.*)$ index.php?action=ask [L,QSA]
# the open questions page
RewriteCond %{REQUEST_URI} open\.html$ [NC]
RewriteRule ^(.*)$ index.php?action=open [L,QSA]
# the help page
RewriteCond %{REQUEST_URI} help\.html$ [NC]
RewriteRule ^(.*)$ index.php?action=help [L,QSA]
# the contact page
RewriteCond %{REQUEST_URI} contact\.html$ [NC]
RewriteRule ^(.*)$ index.php?action=contact [L,QSA]
# a page with a record
RewriteCond %{REQUEST_URI} ([0-9]+)_([0-9]+)_([a-z]+)\.html$ [NC]
RewriteRule ^(.*)_(.*)_(.*)\.html$ index.php?action=artikel&cat=$1&id=$2&artlang=$3 [L,QSA]
# a category page
RewriteCond %{REQUEST_URI} category([0-9]+)\.html$ [NC]
RewriteRule ^category(.*)\.html$ index.php?action=show&cat=$1 [L,QSA]
# a category page with page count
RewriteCond %{REQUEST_URI} category([0-9]+)_([0-9]+)\.html$ [NC]
RewriteRule ^category(.*)_(.*)\.html$ index.php?action=show&cat=$1&seite=$2 [L,QSA]
# start page
RewriteRule index.html$ index.php [PT]
# sitemap
RewriteCond %{REQUEST_URI} sitemap-([a-zA-Z0-9äöüÄÖÜß]*)_([a-z]+)\.html$ [NC]
RewriteRule ^sitemap-(.*)_(.*)\.html$ index.php?action=sitemap&letter=$1&lang=$2 [L,QSA]
Last edited by jazcyk on Sun Jan 29, 2006 2:34 pm, edited 1 time in total.
more ...
This link:
http://webyog.com/faq/sitemap-B_en.html
.. does not resolve for instance.
Some general webserver settings or a global .htaccess that causes this?
http://webyog.com/faq/sitemap-B_en.html
.. does not resolve for instance.
Some general webserver settings or a global .htaccess that causes this?
Re: more ...
Hi,
bye
Thorsten
do you have a 404 rule in a .htaccess file?jazcyk wrote:Some general webserver settings or a global .htaccess that causes this?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
rule 404
I really don't know! I'll have to ask. Webserver is not my business!
But any request to a non-existing page on the domain redirects to web index page. I don't know how it is made. But could be something like that! Error 404 is normally 'page not found'. But a .htaccess in /faq should override it, I think. Right?
We have just started the release cycle (code merge proces .. etc) for the next major version of the program, so it could take a week or so before anyone gets the time to research into it. I believe the web design was originally 'out-sourced', so maybe no-one at our office in Bangalore knows either exactly how it is done!
But any request to a non-existing page on the domain redirects to web index page. I don't know how it is made. But could be something like that! Error 404 is normally 'page not found'. But a .htaccess in /faq should override it, I think. Right?
We have just started the release cycle (code merge proces .. etc) for the next major version of the program, so it could take a week or so before anyone gets the time to research into it. I believe the web design was originally 'out-sourced', so maybe no-one at our office in Bangalore knows either exactly how it is done!
Sorry.
Sorry. My fault!
I was never aware that the .htaccess was updated. So the #sitemap was not there in .htaccess. It was the (irrelevant) _.htaccess I pasted in.
It is there now: http://webyog.com/faq/sitemap-A_en.html
But is is a cosmetical flaw I think that it displays sitemap-A_en.html when A is empty!
By the way:
this character range: [a-zA-Z0-9äöüÄÖÜß]*)_([a-z]+)
.. does it support all the languages that phpmyfaq is translated to? Such as Danish æøåÆØÅ? Czech 'haczek' characters. Spanish ñ etc etc ?
I was never aware that the .htaccess was updated. So the #sitemap was not there in .htaccess. It was the (irrelevant) _.htaccess I pasted in.
It is there now: http://webyog.com/faq/sitemap-A_en.html
But is is a cosmetical flaw I think that it displays sitemap-A_en.html when A is empty!
By the way:
this character range: [a-zA-Z0-9äöüÄÖÜß]*)_([a-z]+)
.. does it support all the languages that phpmyfaq is translated to? Such as Danish æøåÆØÅ? Czech 'haczek' characters. Spanish ñ etc etc ?
Re: Sorry.
Hi,
bye
Thorsten
right and that's the reason why we have no support for extended URLs with mod_rewrite including the title in the file name... I didn't find a solution yet.jazcyk wrote:By the way:
this character range: [a-zA-Z0-9äöüÄÖÜß]*)_([a-z]+)
.. does it support all the languages that phpmyfaq is translated to? Such as Danish æøåÆØÅ? Czech 'haczek' characters. Spanish ñ etc etc ?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist