Postat: 2006-01-05 08:49
Klicka på http://www.bikersite.se/sitemap.xml så får du felmeddelandet att filen inte finns.
phpBB-support, snack och diskussioner på svenska
https://phpbb.se/forum/
Kod: Markera allt
https://www.google.com/webmasters/sitemaps/
and submit the URL to sitemap.xml
Yes, I know the filename is sitemap.php, but those lines you added to your
.htaccess file make sitemap.xml load the sitemap.php file.
So, if the path to your sitemap.php file is..
http://www.yourdomain.com/sitemap.php
You submit...
http://www.yourdomain.com/sitemap.xmlKod: Markera allt
https://www.google.com/webmasters/sitemaps/
and submit the URL to sitemap.xml
Yes, I know the filename is sitemap.php, but those lines you added to your
.htaccess file make sitemap.xml load the sitemap.php file.
So, if the path to your sitemap.php file is..
http://www.yourdomain.com/sitemap.php
You submit...
http://www.yourdomain.com/sitemap.xml Okej! Tack!Fred skrev:Din php fil fungerar
det kan du se pa
http://www.bikersite.se/sitemap.php
det ar din ..htaacess fil som inte fungar
den ska ha punkt i sig
och ja lag in det du vissar testa och kolla pa
http://www.bikersite.se/sitemap.xml
nar det fungerar kan du anmala till google....
Lycka Till[/url]
Kod: Markera allt
DirectoryIndex index.html index.htm portal.php index.php
# prevent access from santy webworm a-e
RewriteCond %{QUERY_STRING} ^(.*)highlight=\%2527 [OR]
RewriteCond %{QUERY_STRING} ^(.*)rush=\%65\%63\%68 [OR]
RewriteCond %{QUERY_STRING} ^(.*)rush=echo [OR]
RewriteCond %{QUERY_STRING} ^(.*)echr(.*) [OR]
RewriteCond %{QUERY_STRING} ^(.*)esystem(.*) [OR]
RewriteCond %{QUERY_STRING} ^(.*)union(.*) [OR]
RewriteCond %{QUERY_STRING} ^(.*)UNION(.*) [OR]
RewriteCond %{QUERY_STRING} ^(.*)alert\(document(.*) [OR]
RewriteCond %{QUERY_STRING} ^(.*)SQL_INJECTION(.*) [OR]
RewriteCond %{QUERY_STRING} ^(.*)wget\%20
RewriteRule ^.*$ http://127.0.0.1/ [R,L]
# prevent pre php 4.3.10 bug
RewriteCond %{HTTP_COOKIE}% s:(.*):\%22test1\%22\%3b
RewriteRule ^.*$ http://127.0.0.1/ [R,L]
# prevent perl user agent (most often used by santy)
RewriteCond %{HTTP_USER_AGENT} ^lwp.* [NC]
RewriteRule ^.*$ http://127.0.0.1/ [R,L]
Kod: Markera allt
RewriteEngine on
RewriteRule ^sitemap.xml$ sitemap.php [L]
RewriteRule ^forum-([0-9]+).xml$ sitemap.php?fid=$1 [L]
Kod: Markera allt
DirectoryIndex index.html index.htm portal.php index.php
# prevent access from santy webworm a-e
RewriteCond %{QUERY_STRING} ^(.*)highlight=\%2527 [OR]
RewriteCond %{QUERY_STRING} ^(.*)rush=\%65\%63\%68 [OR]
RewriteCond %{QUERY_STRING} ^(.*)rush=echo [OR]
RewriteCond %{QUERY_STRING} ^(.*)echr(.*) [OR]
RewriteCond %{QUERY_STRING} ^(.*)esystem(.*) [OR]
RewriteCond %{QUERY_STRING} ^(.*)union(.*) [OR]
RewriteCond %{QUERY_STRING} ^(.*)UNION(.*) [OR]
RewriteCond %{QUERY_STRING} ^(.*)alert\(document(.*) [OR]
RewriteCond %{QUERY_STRING} ^(.*)SQL_INJECTION(.*) [OR]
RewriteCond %{QUERY_STRING} ^(.*)wget\%20
RewriteRule ^.*$ http://127.0.0.1/ [R,L]
# prevent pre php 4.3.10 bug
RewriteCond %{HTTP_COOKIE}% s:(.*):\%22test1\%22\%3b
RewriteRule ^.*$ http://127.0.0.1/ [R,L]
# prevent perl user agent (most often used by santy)
RewriteCond %{HTTP_USER_AGENT} ^lwp.* [NC]
RewriteRule ^.*$ http://127.0.0.1/ [R,L]
RewriteEngine on
RewriteRule ^sitemap.xml$ sitemap.php [L]
RewriteRule ^forum-([0-9]+).xml$ sitemap.php?fid=$1 [L]