Fördelar/Nackdelar med att ha en: SiteMap Mod?

Frågor kring MODdar (modifikationer) för phpBB 2.0.x.

Moderatorer: Supportgrupp, Moderatorgrupp

Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Fördelar/Nackdelar med att ha en: SiteMap Mod?

Inlägg av WickeD »

Hej!

Vilka fördelar och nackdelar finns det med att ha en SiteMap Mod installerad på sin sida?
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Inlägg 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?
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Användarens profilbild
Kail
Administratör
Administratör
Inlägg: 2937
Blev medlem: 2003-06-03 14:53
Svar: 0

Inlägg 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.
Jakob Persson - Grundare av phpBB Sverige - IT-konsult - http://www.jakob-persson.com
The Complete phpBB Template Design Guide (phpBB 2.x): http://archive.jakob-persson.com/articl ... index.html
Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Inlägg 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?
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Fred
Medlem
Medlem
Inlägg: 26
Blev medlem: 2005-01-18 20:09
Svar: 0

Sitemap mod

Inlägg 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...


:)
X3msport X3msportDykportal med forum, blogochlankar
Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Inlägg av WickeD »

Okej! Tack Fred! :D

Då ska jag ta å installera den :D
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Inlägg 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?
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Användarens profilbild
Holger
Support - Ledare
Support - Ledare
Inlägg: 6560
Blev medlem: 2004-06-09 09:32
Svar: 1

Inlägg av Holger »

Du kan nog lämna det som det är.
Man kan mata in eventuella andra variabler som visas i URLen.
Holger Gremminger
Ingen support via PM!
Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Inlägg 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?
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Fred
Medlem
Medlem
Inlägg: 26
Blev medlem: 2005-01-18 20:09
Svar: 0

.htaacess

Inlägg av Fred »

skappa en tom fil och dop den till det och lagg den pa din server
X3msport X3msportDykportal med forum, blogochlankar
Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Inlägg 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?
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Inlägg 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
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Användarens profilbild
Holger
Support - Ledare
Support - Ledare
Inlägg: 6560
Blev medlem: 2004-06-09 09:32
Svar: 1

Inlägg 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]
Holger Gremminger
Ingen support via PM!
Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Inlägg av WickeD »

Ska prova det och se om jag får till allt till detta nu.
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Inlägg 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?
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Skriv svar

Vilka är online

Användare som besöker denna kategori: 0 och 0 gäster