Holger skrev:Hm, medföljer den inte med modden?
EDIT!
Såg just detta:
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.xml
Jag har det lite konstigt för mig här som stämmer inte helt
mellan sitemap.php och sitemap.xml.
Hur får man fram sitemap.xml ??
I readmy filen står så här :
Now you have to head on over to Google's website and create an account. If
you already have a GMail account, then simply use that username & password. If
you don't have a GMail account, then get with the times! There's plenty of
people out there with invites to spare!
If you have a valid Google username & password, simply go to this URL..
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
You can load the .xml URL in your browser to check your .htaccess directives
are working.
Jag har skickat till root på server :
-sitemap.php
-.htaccess
Sen gick till google :
https://www.google.com/webmasters/sitemaps/
och försökte att registrera sitemap.xml men det gick inte direkt (eftersom att sån fil finns inte på server).
Jag försökte med att registrera sitemap.php och det gick men om jag gör nu som det står i readmy filen :
http://www.yourdomain.com/sitemap.php
You submit...
http://www.yourdomain.com/sitemap.xml
Alltså jag går under :
http://www.yourdomain.com/sitemap.xml
Då får jag en hel del fel meddelande :
Warning: include() [function.include]: Unable to access ./extension.inc in /customers/bosnjastvo.com/bosnjastvo.com/httpd.www/sitemap.php on line 40
Warning: include(./extension.inc) [function.include]: failed to open stream: No such file or directory in /customers/bosnjastvo.com/bosnjastvo.com/httpd.www/sitemap.php on line 40
Warning: include() [function.include]: Failed opening './extension.inc' for inclusion (include_path='.:') in /customers/bosnjastvo.com/bosnjastvo.com/httpd.www/sitemap.php on line 40
Warning: include() [function.include]: Unable to access ./common. in /customers/bosnjastvo.com/bosnjastvo.com/httpd.www/sitemap.php on line 41
Warning: include(./common.) [function.include]: failed to open stream: No such file or directory in /customers/bosnjastvo.com/bosnjastvo.com/httpd.www/sitemap.php on line 41
Warning: include() [function.include]: Failed opening './common.' for inclusion (include_path='.:') in /customers/bosnjastvo.com/bosnjastvo.com/httpd.www/sitemap.php on line 41
http://www.bosnjastvo.com/forum/forum-65535.xml monthly
Warning: mysql_query() [function.mysql-query]: Access denied for user: 'bosnjastvo.com@localhost' (Using password: NO) in /customers/bosnjastvo.com/bosnjastvo.com/httpd.www/sitemap.php on line 96
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /customers/bosnjastvo.com/bosnjastvo.com/httpd.www/sitemap.php on line 96
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /customers/bosnjastvo.com/bosnjastvo.com/httpd.www/sitemap.php on line 97
Vad har jag gjort för fel ?
Perfekt!
Nu fungerar det fint!
Tackar så mycket för hjälpen!
Och du som tycker om att fråga efter hjälp och sen får det i ordning kan du inte svara till dem andra när det inte går eller du bryr bara om dig själv ?
