| :: |
| Author |
Message |
rick74 phpBB SEO Team

Joined: 01 Jul 2006 Posts: 64
|
Posted: Tue Sep 05, 2006 7:56 pm Post subject: [Project] Developing IIS mod rewrite |
|
|
In this topic we are trying to setup a toolkit for IIS mod rewrite, until now this was very difficult because the lack of an .htacces file on a IIS server.
The members of this forum can follow the progess of this project live on an actual IIS server. I wil post the link in few days.
With the help of a little bit of free software we are going to produce a httpd.ini file which can do the same as a .htacces, only the rewrite rules look different
The first step is installing a brand new phpbb forum in a new subfolder
Second step is installing the httpd.ini file in the same folder as the forum.
When this is ready i will post the link, then we can change code from the
phpBB SEO Advanced mod Rewrite bit by bit and try different rewrite rules.
To be continued............ |
_________________ Het bouwen en verbouwen forum
Alles over bouwen en verbouwen
Windows Hosting design en zoekmachine optimalisatie |
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Tue Sep 05, 2006 8:11 pm Post subject: Re: [Project] Developing IIS mod rewrite |
|
|
This is an excellent idea I am glad you had.
The adaptation you where already able to set up for the mx sitemaps module is good hope for a quick solution.
Actually, I am very happy to see such a project like this comes out here, and I am sure we'll be useful to many.
You're our Sir IIS so far , I'll back up you on the mod's code if needed and will as well start interesting more into IIS, as I must admit, I just never installed it so far.
++ |
_________________ 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 |
|
 |
rick74 phpBB SEO Team

Joined: 01 Jul 2006 Posts: 64
|
Posted: Thu Sep 07, 2006 5:32 pm Post subject: Re: [Project] Developing IIS mod rewrite |
|
|
So the first step is ready, testing board is up
Here's the link:
-http://forum dot bouwlink dot nl (Replace the dot for a .) because we don't want the testing board to be indexed yet.
Nest thing is replacing an old backup so there is exually something to rewrite.
There where some diffculties because php.ini allows yoou only to replace a backup not larger than 8 mb, and the old backup i have is larger. |
_________________ Het bouwen en verbouwen forum
Alles over bouwen en verbouwen
Windows Hosting design en zoekmachine optimalisatie |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Thu Sep 07, 2006 5:40 pm Post subject: Re: [Project] Developing IIS mod rewrite |
|
|
For the db, you could cut it into several parts to make it easier or, but I don't know how to deal with this on windows servers, but, there must be a way to directly import an sql dump whatever it's size, accessing the sql server directly.
Anyway, all is required for now is a bit of content to test, as you'll probably have to reinstall your db before you go online with your new domain.
Or even better, you'll just link this new phpBB install to the db being now used by the online one, assuming you'll as well use the same mods in you new forum.
I could register and start posting, two of us will have a forum with two pages of topic and a topic with more than one page in no time
++ |
_________________ 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 |
|
 |
rick74 phpBB SEO Team

Joined: 01 Jul 2006 Posts: 64
|
Posted: Mon Sep 11, 2006 7:06 pm Post subject: It's Working !!!!!!!!! |
|
|
I just installed the advanced seo mod and it's working. Just some small modifications to translate the .htacces file into isapi rewrite.
this rules are now in isapi rewrite
| Code: | [ISAPI_Rewrite]
RewriteEngine On
# CATEGORIES
RewriteRule /.+-vc([0-9]+)\.html$ /index.php\?c=$1 [I,L]
# PAGINATED FORUM
RewriteRule /.+-vf([0-9]+)-([0-9]+)\.html$ /viewforum.php\?f=$1&start=$2 [I,L]
# FORUM
RewriteRule /.+-vf([0-9]+)\.html$ /viewforum.php\?f=$1 [I,L]
# PAGINATED TOPIC
RewriteRule /.+-vt([0-9]+)-([0-9]+)\.html$ /viewtopic.php\?t=$1&start=$2 [I,L]
# TOPIC
RewriteRule /.+-vt([0-9]+)\.html$ /viewtopic.php\?t=$1 [I,L] |
Now we just have to implement the other rules and get the next mod.
Oh and i've just changed the template to one where iám going to start from to implement the forum into the website |
_________________ Het bouwen en verbouwen forum
Alles over bouwen en verbouwen
Windows Hosting design en zoekmachine optimalisatie |
|
| Back to top |
|
 |
rick74 phpBB SEO Team

Joined: 01 Jul 2006 Posts: 64
|
Posted: Tue Sep 12, 2006 6:33 pm Post subject: Re: [Project] Developing IIS mod rewrite |
|
|
Just set the last rules into isapi and they are all working except the 301.
301 redirect is completely different on a IIS server
The code is now
| Code: | [ISAPI_Rewrite]
RewriteEngine On
# CATEGORIES
RewriteRule /.+-vc([0-9]+)\.html$ /index.php\?c=$1 [I,L]
# PAGINATED FORUM
RewriteRule /.+-vf([0-9]+)-([0-9]+)\.html$ /viewforum.php\?f=$1&start=$2 [I,L]
# FORUM
RewriteRule /.+-vf([0-9]+)\.html$ /viewforum.php\?f=$1 [I,L]
# PAGINATED TOPIC
RewriteRule /.+-vt([0-9]+)-([0-9]+)\.html$ /viewtopic.php\?t=$1&start=$2 [I,L]
# TOPIC
RewriteRule /.+-vt([0-9]+)\.html$ /viewtopic.php\?t=$1 [I,L]
# FORUM PROTECTION RULE
RewriteRule /.+/([^/]+\.html)$ / [R=301,L]
# POST
RewriteRule /post([0-9]+)\.html$ /viewtopic.php\?p=$1 [I,L]
#PROFILES
RewriteRule /member([0-9]+)\.html$ /profile.php\?mode=viewprofile&u=$1 [I,L]
# END PHPBB PAGES |
|
_________________ Het bouwen en verbouwen forum
Alles over bouwen en verbouwen
Windows Hosting design en zoekmachine optimalisatie |
|
| Back to top |
|
 |
rick74 phpBB SEO Team

Joined: 01 Jul 2006 Posts: 64
|
|
| Back to top |
|
 |
rick74 phpBB SEO Team

Joined: 01 Jul 2006 Posts: 64
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
rick74 phpBB SEO Team

Joined: 01 Jul 2006 Posts: 64
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
rick74 phpBB SEO Team

Joined: 01 Jul 2006 Posts: 64
|
Posted: Sun Sep 17, 2006 12:42 pm Post subject: Re: [Project] Developing IIS mod rewrite |
|
|
Sorry in did not have any toime this last week...
The forum will be live in the new design for bouwlink.nl so i'm gonna make a new overall header and footer with the static links to the sitemaps.
The css will be new also, the only that stays is the table from viewtopic viewforum ect.......
i found two thing's that don't work right....
The jump box doesn't work with the forum categories, and the "breadcrumps" link on top link's three times to index.php |
_________________ Het bouwen en verbouwen forum
Alles over bouwen en verbouwen
Windows Hosting design en zoekmachine optimalisatie |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Sun Sep 17, 2006 2:11 pm Post subject: Re: [Project] Developing IIS mod rewrite |
|
|
Actually, jumpbox does not jump to categories by default, browse phpBB.com to see it.
About this site, don't forget the simple sub forum mod is adding some sub levels in the jump box, but they are not categories.
The forum jumps are strange in your case, but works, I don't know what could make the sid and forum id not to show up in your case, this part is left untouched by the phpBB SEO mod rewrites.
The fact the zero dupe was not activated in this case seems to tell us all vars went passe through a $_POST method, instead of the regular $_GET in this case.
I'll take a look at this and will put together something to circumvent this issue.
But you can go online as his, as long as you disallow viewforum.php in your robots.txt
++ |
_________________ 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 |
|
 |
rick74 phpBB SEO Team

Joined: 01 Jul 2006 Posts: 64
|
|
| Back to top |
|
 |
rick74 phpBB SEO Team

Joined: 01 Jul 2006 Posts: 64
|
|
| Back to top |
|
 |
|
|