phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Migrating webmedic - phpBB SEO advanced mod Rewrite
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite
::  
Author Message
linus
PR0
PR0


Joined: 02 Jul 2006
Posts: 54

Migrating webmedic - phpBB SEO advanced mod RewritePosted: Sun Jul 02, 2006 12:38 pm    Post subject: Migrating webmedic - phpBB SEO advanced mod Rewrite

Sorry, I dont speak english very good.

I have a problem in moving the topic, here of the images :
1

2

3

4

5


...the quarter page is white...why?

I have an error on the code :
Code:
function rewrite_urls($content)


Code:
//SEO TOLKIT BEGIN
//Here replaced phpbb gzip handeling
//while (@ob_end_flush());
ob_start();


function rewrite_urls($content)
{

   function if_query($amp)
   {

      if($amp != '')
      {
         return '?';
      }

   }

   $url_in = array('/(?<!\/)viewforum.php\?f=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)\.\/viewforum.php\?f=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)viewtopic.php\?p=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)viewtopic.php\?t=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',

         '/(?<!\/)album_cat.php\?cat_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)album_thumbnail.php\?pic_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)album_pic.php\?pic_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)album_picm.php\?pic_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         //'/(?<!\/)album_showpage.php\?pic_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(<img .*?)<\/a>/e',
         '/(?<!\/)album_showpage.php\?full=&pic_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)album_showpage.php\?pic_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)album_personal.php\?user_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)dload.php\?action=category&cat_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)dload.php\?action=file&file_id=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)kb.php\?mode=cat&cat=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)kb.php\?mode=article&k=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)kb.php\?mode=stats&stats=mostpopular((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)kb.php\?mode=stats&stats=toprated((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)kb.php\?mode=stats&stats=latest((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)press.php\?mode=cat&cat=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)press.php\?mode=article&k=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)press.php\?mode=stats&stats=mostpopular((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)press.php\?mode=stats&stats=toprated((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
         '/(?<!\/)press.php\?mode=stats&stats=latest((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e');
         
   $url_out = array("make_url_friendly('\\6') . '-vf\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         "make_url_friendly('\\6') . '-vf\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         "make_url_friendly('\\6') . '-vp\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         "make_url_friendly('\\6') . '-vt\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         "make_url_friendly('\\6') . '-ac\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         "make_url_friendly('\\6') . '-at\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         "make_url_friendly('\\6') . '-apic\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         "make_url_friendly('\\6') . '-apm\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         //"'show-pic-asp\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         "'image-full-asp\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         "make_url_friendly('\\6') . '-asp\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         "make_url_friendly('\\6') . '-aper\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         "make_url_friendly('\\6') . '-dc\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         "make_url_friendly('\\6') . '-df\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         "make_url_friendly('\\6') . '-kbc\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         "make_url_friendly('\\6') . '-kba\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         "make_url_friendly('\\5') . '-kbsmp.html' . if_query('\\1') . stripslashes('\\4\\5') . '</a>'",
         "make_url_friendly('\\5') . '-kbstr.html' . if_query('\\1') . stripslashes('\\4\\5') . '</a>'",
         "make_url_friendly('\\5') . '-kbsl.html' . if_query('\\1') . stripslashes('\\4\\5') . '</a>'",
         "make_url_friendly('\\6') . '-pc\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         "make_url_friendly('\\6') . '-pa\\1.html' . if_query('\\2') . stripslashes('\\5\\6') . '</a>'",
         "make_url_friendly('\\5') . '-psmp.html' . if_query('\\1') . stripslashes('\\4\\5') . '</a>'",
         "make_url_friendly('\\5') . '-pstr.html' . if_query('\\1') . stripslashes('\\4\\5') . '</a>'",
         "make_url_friendly('\\5') . '-psl.html' . if_query('\\1') . stripslashes('\\4\\5') . '</a>'");

   $content = preg_replace($url_in, $url_out, $content);

   return $content;

}

//SEO TOLKIT END


how I can resolve?

Thank's Wink


PS: same problem on the serveur

_________________
...
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

Migrating webmedic - phpBB SEO advanced mod RewritePosted: Sun Jul 02, 2006 2:00 pm    Post subject: Re: Migrating webmedic - phpBB SEO advanced mod Rewrite

And welcome Wink

Una volta fa, parlavo l' italiano abbastanza bene anche io Wink

Pero per falta di vocabolario tecnico, dovrò continuare in inglese Very Happy

Then, it seem you are using the Good old Webmedic mod here.

I worked quite a bit on it and never had this issue, which version of the mod is it ?

Then, you should consider migrating to on of the phpBB SEO mod Rewrite, this can be done without losing anything in Search Engines, you'll get rid of all pagination duplicates and will end up using a lot faster code, a lot less likely to cause any trouble in phpBB.

The advanced will keep your actual URL standard, and if you are using the kb and pathfiledb rewriterules, I can provide code to have them rewritten using the phpBB SEO rewrite engine instead.

No more ob_start() Wink

If you wish to do so, please post a new thread in this forum to ask for migration form webmedic to the mod Rewrite you'd have chosen.

Read the mod Rewrite presentation carefully, it's worth it.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
linus
PR0
PR0


Joined: 02 Jul 2006
Posts: 54

Migrating webmedic - phpBB SEO advanced mod RewritePosted: Sun Jul 02, 2006 2:47 pm    Post subject: Re: Migrating webmedic - phpBB SEO advanced mod Rewrite

Quote:
Then, it seem you are using the Good old Webmedic mod here.


Yes Very Happy

Quote:
I worked quite a bit on it and never had this issue, which version of the mod is it ?


keyword-urls-mod_2.3.1 + mx_ggsitemaps_v1.0.0RC2

Quote:
Then, you should consider migrating to on of the phpBB SEO mod Rewrite, this can be done without losing anything in Search Engines, you'll get rid of all pagination duplicates and will end up using a lot faster code, a lot less likely to cause any trouble in phpBB.

The advanced will keep your actual URL standard, and if you are using the kb and pathfiledb rewriterules, I can provide code to have them rewritten using the phpBB SEO rewrite engine instead.

No more ob_start() Wink

If you wish to do so, please post a new thread in this forum to ask for migration form webmedic to the mod Rewrite you'd have chosen.

Read the mod Rewrite presentation carefully, it's worth it.


what I must make? Embarassed

phpBB SEO Advanced mod Rewrite V 0.0.2, it is better?

Tasks that I must replace I lie in wait for the new modification? But then it will work all?

you know what exactly I must make? heart thanks Confused

_________________
...
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

Migrating webmedic - phpBB SEO advanced mod RewritePosted: Sun Jul 02, 2006 3:09 pm    Post subject: Re: Migrating webmedic - phpBB SEO advanced mod Rewrite

linus wrote:


what I must make? Embarassed

phpBB SEO Advanced mod Rewrite V 0.0.2, it is better?

Tasks that I must replace I lie in wait for the new modification? But then it will work all?

you know what exactly I must make? heart thanks Confused


Actually it's a lot better, as said no pagination duplicates, no ob_start, faster and better code for better results. Look at the demo board Wink
But take this occasion to decide if you want to keep topic title injection or not, it all depends on the quality of your topic titles.

Again, smart HTTP 301 redirection will allow you to keep your Ranking while doing so Wink

Then, I am not sure about what could cause your problem with webmedic and modcp, never experienced this, even though I updated the mod to 2.31.

Then, it as well be something else, but if you decide to first migrate, no need to debug anything right now, actually, I never had such problems with the phpBB SEO mod Rewrites, so it's very possible that the problem disapears with webmedic's code, even though I never experienced such matter with it either. We'll see, tell me what you want to do.

There are several things to do to migrate without problems, don't worry this part was already covered in the french forums, and everything is ready, I am just thinking that if you made your choice it could be useful to start a new dedicated thread as proposed so that it will help everybody
in the same case.

No much to do, just a good occasion to write down the few required steps once and for all for the English speaking world Wink

And then, as said, we'll customize if you need the extra webmedic rewriterules Very Happy

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
linus
PR0
PR0


Joined: 02 Jul 2006
Posts: 54

Migrating webmedic - phpBB SEO advanced mod RewritePosted: Sun Jul 02, 2006 3:26 pm    Post subject: Re: Migrating webmedic - phpBB SEO advanced mod Rewrite

thanks to the backup I have installed phpBB-SEO-Advanced-mod-Rewrite_V_0.0.2 Very Happy Wink

THIS IS OK!

Now, I would want to know like eliminating SID in the URL, sometimes see it. it is possible? I must also change the sitemap. Wink


Thank's.


PS: it would appeal to not to see more to me the sid ...

_________________
...
Back to top
Visit poster's website
linus
PR0
PR0


Joined: 02 Jul 2006
Posts: 54

Migrating webmedic - phpBB SEO advanced mod RewritePosted: Sun Jul 02, 2006 4:09 pm    Post subject: Re: Migrating webmedic - phpBB SEO advanced mod Rewrite

ok

my link : www.forum-linux-italia.com/Sitemap.php www.forum-linux-italia.com/robots.txt

there are errors? Thank's.


the problem is resolved Cool Wink

_________________
...
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

Migrating webmedic - phpBB SEO advanced mod RewritePosted: Sun Jul 02, 2006 5:10 pm    Post subject: Re: Migrating webmedic - phpBB SEO advanced mod Rewrite

Oh, but there is something to do very quick, or at least to think about.

Because webmedic's code was performing this transformation :

"It's so Cool" => its-so-cool-vtXX.html

And the the phpBB SEO advanced Mod rewrite is doing this instead :

"It's so Cool" => it-s-so-cool-vtXX.html

So this could create duplicates.

To keep the old way, please open includes/function.php and find :

Code:
function format_url($url)
-{



After add :

Code:
   $url = str_replace ("'", "", $url);


Then, no additional custom redir needed, how do you like the pagination ? Very Happy

For mx Google Sitemaps, it seem you changed the sitemap.php nam to Sitemap.php and this cause all links not to work in it (like -http://www.forum-linux-italia.com/sitemap.php?fid=8 but -http://www.forum-linux-italia.com/Sitemap.php?fid=8 works.

So if this was because you used another php script named sitemap.php, you can turn around this using mod rewrite for the Google sitemap links.

To do so you'll need to add those rewriterule (from the contrib/ folder) :

Code:
# phpBB
RewriteRule ^sitemaps.xml$ /Sitemap.php [L]
RewriteRule ^forum-sitemap-([0-9]+).xml$ /Sitemap.php?fid=$1 [L]
RewriteRule ^sitemap-forum.xml$ /Sitemap.php?forum [L]


in your forum's .htaccess.

You notice I used Sitemap.php in the rewriterules here, so it will work with the renaming Wink

And then, just turn the mod rewrite on in mx Google sitemaps ACP Very Happy

You should then be able to access your sitemapIndex @ -http://www.forum-linux-italia.com/sitemaps.xml

As well you need to upload contrib/moded_4_mod_rewrites/phpBB_SEO_mod_Rewrites/Advanced_Mod_Rewrite/sitemap_forum.php in mx_ggsitemaps/includes/ (overwrite the file) to output the correct URLs.

You can go a bit further using mx Sitemaps as well or the dynamic metas.

And, don't forget the last touch Wink

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
linus
PR0
PR0


Joined: 02 Jul 2006
Posts: 54

Migrating webmedic - phpBB SEO advanced mod RewritePosted: Sun Jul 02, 2006 6:18 pm    Post subject: Re: Migrating webmedic - phpBB SEO advanced mod Rewrite

I have made all Very Happy

My .htaccess

Code:
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
# FORUM PROTECTION RULE
RewriteRule ^.+/([^/]+\.html)$ /index.php [R=301,L]
# CATEGORIES
RewriteRule ^.+-vc([0-9]+)\.html$ /index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^.+-vf([0-9]+)-([0-9]+)\.html$ /viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^.+-vf([0-9]+)\.html$ /viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^.+-vt([0-9]+)-([0-9]+)\.html$ /viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^.+-vt([0-9]+)\.html$ /viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L]
# PROFILES
RewriteRule ^member([0-9]+)\.html$ /profile.php?mode=viewprofile&u=$1 [QSA,L]
# phpBB
RewriteRule ^sitemaps.xml$ /Sitemap.php [L]
RewriteRule ^forum-sitemap-([0-9]+).xml$ /Sitemap.php?fid=$1 [L]
RewriteRule ^sitemap-forum.xml$ /Sitemap.php?forum [L]


My sitemap : http://www.forum-linux-italia.com/sitemap.php

My robots.txt :

Code:
User-agent: *
Disallow: /admin/
Disallow: /db/
Disallow: /b963r/
Disallow: /Download/
Disallow: /images/
Disallow: /includes/
Disallow: /language/
Disallow: /templates/
Disallow: /mx_ggsitemaps/
Disallow: /viewtopic.php
Disallow: /viewforum.php
Disallow: /index.php?
Disallow: /posting.php
Disallow: /groupcp.php
Disallow: /search.php
Disallow: /login.php
Disallow: /post
Disallow: /profile.php
Disallow: /memberlist.php
Disallow: /faq.php


includes/function.php is ok.

Quote:
As well you need to upload contrib/moded_4_mod_rewrites/phpBB_SEO_mod_Rewrites/Advanced_Mod_Rewri te/sitemap_forum.php in mx_ggsitemaps/includes/ (overwrite the file) to output the correct URLs.


IT's ok Very Happy

dynamic metas " OK "

---------------->

I can make other? You it seems ok? Thanks of heart. Wink

_________________
...
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

Migrating webmedic - phpBB SEO advanced mod RewritePosted: Sun Jul 02, 2006 7:19 pm    Post subject: Re: Migrating webmedic - phpBB SEO advanced mod Rewrite

Your sitemap is outputting the correct phpBB links, but it seems you put back sitemap.php on (got rid on Sitemap.php).

Thus, for the mx Google Sitemap mod rewrite, which is not a must, more a cosmetic feature, you'll have to put those :

Code:
RewriteRule ^sitemaps.xml$ /sitemap.php [L]
RewriteRule ^forum-sitemap-([0-9]+).xml$ /sitemap.php?fid=$1 [L]
RewriteRule ^sitemap-forum.xml$ /sitemap.php?forum [L]


The original one, with the s, not the S Wink
But you can as well submit sitemap.php right now, will work the same in this case.

Your robots.txt is perfect to me.

The meta will help out as well Very Happy

And, take a look to this mod, mx Sitemaps (not mx Google Sitemaps, try the demo Wink)

I'll soon add more SEO tweaks as well, stay tuned and don't forget the final touch.

And pleas feel free to ask for more support or SEO advises Wink

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
linus
PR0
PR0


Joined: 02 Jul 2006
Posts: 54

Migrating webmedic - phpBB SEO advanced mod RewritePosted: Sun Jul 02, 2006 8:09 pm    Post subject: Re: Migrating webmedic - phpBB SEO advanced mod Rewrite

Sorry, I don't speak english very good Embarassed

My htaccess : Very Happy

Code:
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
# FORUM PROTECTION RULE
RewriteRule ^.+/([^/]+\.html)$ /index.php [R=301,L]
# CATEGORIES
RewriteRule ^.+-vc([0-9]+)\.html$ /index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^.+-vf([0-9]+)-([0-9]+)\.html$ /viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^.+-vf([0-9]+)\.html$ /viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^.+-vt([0-9]+)-([0-9]+)\.html$ /viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^.+-vt([0-9]+)\.html$ /viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L]
# PROFILES
RewriteRule ^member([0-9]+)\.html$ /profile.php?mode=viewprofile&u=$1 [QSA,L]
# phpBB
RewriteRule ^sitemaps.xml$ /sitemaps.php [L]
RewriteRule ^forum-sitemap-([0-
9]+).xml$ /sitemaps.php?fid=$1 [L]
RewriteRule ^sitemap-forum.xml$ /sitemaps.php?forum [L]


My Sitemap : http://www.forum-linux-italia.com/sitemaps.php


WOWOWOWOWOWO

OK Very Happy Very Happy Very Happy Very Happy


where I can see for the configuration? The default is ok?

how I see my pages in the sitemap_url?

Thank. Wink

_________________
...
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

Migrating webmedic - phpBB SEO advanced mod RewritePosted: Sun Jul 02, 2006 10:24 pm    Post subject: Re: Migrating webmedic - phpBB SEO advanced mod Rewrite

But why did you delete sitemap.php, the mx Google Sitemap ?

mx Google sitemaps uses sitemap.php, and mx Sitemaps uses sitemaps.php Wink

I can see you installed the mx Sitemaps, but these two are meant to work together.

The mx Google sitemaps will help Google spidering your site, the mx Sitemaps mod is a regular site map both for user and bots, very different and useful.

Then, for mx Sitemaps (note that I always use the correct name when writing so Google means Google Wink), you should set up the mod rewrite for the sitemaps links.

As well, there is an add on that adds links on your footer leading to your site map. So look at this Wink

The rewriterules are the one to use to obtain the same result as on the demo board when set on Advanced mod Rewrite.
Together with the auto link add on, mod rewrite version, it will add links for your users and bots to find the mx Sitemap site map (lol).

And in ACP, you have two additional menu under the mx Sitemaps categories. Look at the release threads, you can see ACP previews. Once you implemented the suggested rewriterules you'll be able to set the mod rewrite on for mx Sitemaps links.

Then, if you did not uninstall mx Google Sitemap, I suggest you put sitemap.php back on and submit it to Google since it was perfectly working Wink
You can as well turn mod Rewrite on for mx Google sitemaps in ACP if you change this part in your .htaccess :

Code:
# phpBB
RewriteRule ^sitemaps.xml$ /sitemaps.php [L]
RewriteRule ^forum-sitemap-([0-
9]+).xml$ /sitemaps.php?fid=$1 [L]
RewriteRule ^sitemap-forum.xml$ /sitemaps.php?forum [L]


to


Code:
# phpBB
RewriteRule ^sitemaps.xml$ /sitemaps.php [L]
RewriteRule ^forum-sitemap-([0-9]+).xml$ /sitemaps.php?fid=$1 [L]
RewriteRule ^sitemap-forum.xml$ /sitemaps.php?forum [L]


Wink

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
linus
PR0
PR0


Joined: 02 Jul 2006
Posts: 54

Migrating webmedic - phpBB SEO advanced mod RewritePosted: Mon Jul 03, 2006 10:25 am    Post subject: Re: Migrating webmedic - phpBB SEO advanced mod Rewrite

I must have two?

sitemap + sitemaps?

.htaccess?


Thank's. Wink


this evening I install the other ...

_________________
...
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

Migrating webmedic - phpBB SEO advanced mod RewritePosted: Mon Jul 03, 2006 11:48 am    Post subject: Re: Migrating webmedic - phpBB SEO advanced mod Rewrite

linus wrote:
I must have two?

sitemap + sitemaps?

.htaccess?


Thank's. Wink


this evening I install the other ...


mx Google Sitemaps is very efficient to be indexed properly by Google.

mx Sitemaps is handy and useful as well.

I said must because it seemed to me you submitted the mx Google sitemaps to Google, and if so, it will find 404 right now.

mx Sitemaps does not need any submission.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
linus
PR0
PR0


Joined: 02 Jul 2006
Posts: 54

Migrating webmedic - phpBB SEO advanced mod RewritePosted: Mon Jul 03, 2006 11:56 am    Post subject: Re: Migrating webmedic - phpBB SEO advanced mod Rewrite

dcz wrote:
linus wrote:
I must have two?

sitemap + sitemaps?

.htaccess?


Thank's. Wink


this evening I install the other ...


mx Google Sitemaps is very efficient to be indexed properly by Google.

mx Sitemaps is handy and useful as well.

I said must because it seemed to me you submitted the mx Google sitemaps to Google, and if so, it will find 404 right now.

mx Sitemaps does not need any submission.

++


I have understood all… Wink

where it is this code ? includes/page_tail.php, not there is ???

Code:
#
#-----[ OPEN ]------------------------------------------
#
includes/page_tail.php
#
#-----[ FIND ]------------------------------------------
#

   $mx_link_tmp = append_sid($root_url . 'forum-map' . $mx_forum_id . '.html');

#
#-----[ REPLACE WITH ]------------------------------------------
#

   $mx_link_tmp = append_sid($root_url . format_url($forum_row['forum_name']) . '-fmp' .$mx_forum_id .
'.html');


I have forgotten to make something?

_________________
...
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

Migrating webmedic - phpBB SEO advanced mod RewritePosted: Mon Jul 03, 2006 12:55 pm    Post subject: Re: Migrating webmedic - phpBB SEO advanced mod Rewrite

This one is my fault, I need to re organize the mx sitemaps release, you have to first install the full auto link mod rewritten version.

I don't know how I made it to make so complex where the code changes are so easy, but I want as well to offer solutions for all cases, thus many versions of the same mods.

mx sitemaps 0.0.2 will make this part easier Wink

Again, http://www.forum-linux-italia.com/sitemap.php (mx Google sitemaps) is not working. I think you should try to deal with one matter at a time, which would have been easier if you had used the release threads Wink

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite
Page 1 of 3 Goto page 1, 2, 3  Next

Navigation Similar Topics

Jump to: