Sida 1 av 3
Fördelar/Nackdelar med att ha en: SiteMap Mod?
Postat: 2006-01-02 10:29
av WickeD
Hej!
Vilka fördelar och nackdelar finns det med att ha en SiteMap Mod installerad på sin sida?
Postat: 2006-01-02 10:34
av WickeD
Någon som vet om denna Mod är till någon nytta?
http://www.phpbbhacks.com/download/5380
Och vad den gör för något?
Postat: 2006-01-02 14:37
av Kail
Den bygger en XML-fil før Google att indexera som sitemap. Førenklar før folk som søker på din sajt med Google. Du kan också enkelt hænvisa dem till Google's sitemap før din sajt eftersom den ser ganska trevlig ut och ær helt dynamisk.
Postat: 2006-01-02 15:20
av WickeD
Kail skrev:Førenklar før folk som søker på din sajt med Google.
Menar inte du,
söker EFTER min site med Google?
Så man kan säga att man får fler träffar av personer från Google?
Sitemap mod
Postat: 2006-01-02 17:13
av Fred
Denna mod gör det änklare för google att indexera alla dina sidor och där med ökar chansen att folk hittar dig i den sökmotorn på olika sökningar och du kan på så sätt få fler medlemar...

Postat: 2006-01-02 23:59
av WickeD
Okej! Tack Fred!
Då ska jag ta å installera den

Postat: 2006-01-03 10:32
av WickeD
Jag ska till och installera denna Mod:
phpBB Google Sitemap Generator v1.0.1
Jag förstår inte vad jag ska skriva in på dessa rader som man ska fylla i för att få den att fungera.
Är det någon som kan hjälpa mig med detta?
Kod: Markera allt
define('FORUM_URL_PREFIX', 'viewforum.php?f='); // What comes up before the forum ID?
define('FORUM_URL_SUFFIX', ''); // What comes up after the forum ID?
define('THREAD_URL_PREFIX', 'viewtopic.php?t='); // What comes up before the thread ID?
define('THREAD_URL_SUFFIX', ''); // What comes up after the thread ID?
Postat: 2006-01-04 10:48
av Holger
Du kan nog lämna det som det är.
Man kan mata in eventuella andra variabler som visas i URLen.
Postat: 2006-01-04 11:52
av WickeD
I install står det:
Kod: Markera allt
Now, all you have to do is upload sitemap.php to your forum's root directory,
and add the contents of htaccess.txt to your .htaccess file
You may have to modify the entries in the .htaccess file depending on what may
exist in that file already, and the forum's root directory location in relation
to the .htaccess file's permanent residence.
Men jag har ingen
.htaccess fil, vad ska jag göra då?
det jag ska lägga in i den filen är detta:
Kod: Markera allt
RewriteEngine on
RewriteRule ^sitemap.xml$ sitemap.php [L]
RewriteRule ^forum-([0-9]+).xml$ sitemap.php?fid=$1 [L]
Någon ide?
.htaacess
Postat: 2006-01-04 11:54
av Fred
skappa en tom fil och dop den till det och lagg den pa din server
Postat: 2006-01-04 22:23
av WickeD
Hej!
Jag undrar om filen jag ska göra och lägga in ska heta:
.htaccess eller
htaccess
Jag menar om punkten ska vara med före namnet?
Och vad ska jag lägga in i den filen?
Bara detta eller?
Kod: Markera allt
RewriteEngine on
RewriteRule ^sitemap.xml$ sitemap.php [L]
RewriteRule ^forum-([0-9]+).xml$ sitemap.php?fid=$1 [L]
Ska jag göra några förändringar i det jag ska lägga in?
Vad ska jag ställa
CHMOD på när jag har laddat upp den?
Postat: 2006-01-04 23:00
av WickeD
Sedan i denna install txt så pratar dom om en .xml fil, vart hittar jag den?
Install txt:
Kod: Markera allt
// ==========================================================================
// phpBB Google Sitemap Generator v1.0.1
// http://www.gotaxe.com/phpbb-sitemap.php
// ==========================================================================
// Script created by John Brookes
// Copyright John Brookes ©2005
// http://www.gotaxe.com
// ==========================================================================
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
// ==========================================================================
// ==========================================================================
// Installation (about 3 minutes)
// ==========================================================================
Installation is extremely easy and takes about 3 minutes.
First you have a few configuration options in the sitemap.php file, so load
it up into your favourite text editor.
define('FORUM_DOMAIN_ROOT', 'http://www.yourdomain.com/'); // Full URL with trailing slash!
This is the default URL of your forum. If your forum exists at...
http://www.yourdomain.com/forum/
then use the line
define('FORUM_DOMAIN_ROOT', 'http://www.yourdomain.com/forum/'); // Full URL with trailing slash!
Yes, the trailing slash IS IMPORTANT!!!
Now, the next 4 are all related, so I'll describe the first two, and you should
be able to get the idea for the other two.
define('FORUM_URL_PREFIX', 'viewforum.php?f='); // What comes up before the forum ID?
define('FORUM_URL_SUFFIX', ''); // What comes up after the forum ID?
Why define something like this? All forums are the same aren't they? Well, no.
You may have implemented some form of mod_rewrite work to offer .html URLs to
facilitate spidering & SEO in the past. It makes sense, then, that your
sitemap would also be best using these URLs.
The phpBB default is simply viewforum.php?f=#, where # is the ID of the forum.
However, your site might load this page up as forum-#.html (again, where # is
the ID of the forum). In this example, you would modify the two lines above as
follows...
define('FORUM_URL_PREFIX', 'forum-'); // What comes up before the forum ID?
define('FORUM_URL_SUFFIX', '.html'); // What comes up after the forum ID?
The other two lines are exactly the same, but they relate to the URL that is
accessed in order to view a particular thread.
Now, all you have to do is upload sitemap.php to your forum's root directory,
and add the contents of htaccess.txt to your .htaccess file
You may have to modify the entries in the .htaccess file depending on what may
exist in that file already, and the forum's root directory location in relation
to the .htaccess file's permanent residence.
// ==========================================================================
// All done, well almost. Now what?
// ==========================================================================
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.
// ==========================================================================
// What's to come in the future?
// ==========================================================================
Well, a few more configuration options possibly, for category pages, and ways
to add other custom pages to the sitemap files. Remember though, Google will
still crawl your site, even if it has a sitemap (apparently), so don't worry
if not all of your custom URLs are included in the XML files.
One thing about the current script is that on the listings showing all the
threads in a particular forum, it only links to the first page of that
thread. In future versions, I may add the ability to produce all URLs relating
to threads that span multiple pages.
Other than that, there isn't really much that can be added.
Thanks & Greets
Everybody @ www.Photosapien.com
ATNO/TW @ www.BoastingRights.com
BigWeb and all the mods @ www.Ozzu.com
Postat: 2006-01-05 08:24
av Holger
WickeD skrev:Hej!
Jag undrar om filen jag ska göra och lägga in ska heta:
.htaccess eller
htaccess
Jag menar om punkten ska vara med före namnet?
Och vad ska jag lägga in i den filen?
Bara detta eller?
Kod: Markera allt
RewriteEngine on
RewriteRule ^sitemap.xml$ sitemap.php [L]
RewriteRule ^forum-([0-9]+).xml$ sitemap.php?fid=$1 [L]
Ska jag göra några förändringar i det jag ska lägga in?
Vad ska jag ställa
CHMOD på när jag har laddat upp den?
Du laddar upp den som
htaccess och ändrar sedan namnet till
.htaccess när den ligger på servern.
Lägg bara in detta:
Kod: Markera allt
RewriteEngine on
RewriteRule ^sitemap.xml$ sitemap.php [L]
RewriteRule ^forum-([0-9]+).xml$ sitemap.php?fid=$1 [L]
Postat: 2006-01-05 08:41
av WickeD
Ska prova det och se om jag får till allt till detta nu.
Postat: 2006-01-05 08:47
av WickeD
Då körde jag fast på denna del:
Kod: Markera allt
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.
Det står att jag ska gå in här:
https://www.google.com/webmasters/sitemaps/
Och det har jag gjort.
Sedan står det att jag ska skriva in denna url i fältet hos Google:
http://www.bikersite.se/sitemap.xml
Och det har jag gjort, men då fick jag ett felmeddelande av Google:
We couldn't find the Sitemap at the location you provided. Please make sure the Sitemap URL is correct and resubmit your Sitemap.
Vad gör jag för fel?