[Project] Developing IIS mod rewrite

Discussions and support about the different URL Rewriting techniques for phpBB2.

Moderator: Moderators

Postby dcz » Thu Nov 09, 2006 10:18 pm

Exactly, except for the advanced, it's not required, I mean, you should freely choose between the three phpBB mod rewrite, and it will work on IIS server using the isapi rewrite module.

The IIS rewriterules mentioned above are meant for the advanced one, but I can provide the other one upon request.


So to make all this safe, you should first check is isapi rewrite is available on your server.

You can find more about the isapi rewrite module here : http://www.helicontech.com/

You could as well just test the mod to find out, but it would be better to do it on a test board. To do this you'd only need to add the httpd.ini file as suggested with proper paths at the root level.

Then, you could just try a nice postxx.html url where xx is an actual post id and see if you're redirected properly. If so, it's working ;)

The php code change are not this many and they are the exact same as the regular Apache version (I'll compile both httpd.ini and .htaccess in the same mod in the update). So you just need to add them and to use the suggested httpd.ini instead of the .htaccess.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Advertisement

Postby rick74 » Thu Nov 23, 2006 9:11 pm

Hi,

Did not replayed in while be a very havymakeover of my new home, allmost ready now so....
That's right just replace the .htacces rules by the httpd.ini and you have a the IIS mod.

Mod is working verywell for me, just worried about the tonload of suplemental results i have now, about 90%.
Hoping for an update really soon now, haven't checked my stats for while now because of the rebuilding of my home, It scared the hell out of me, took a dive in visiters of about 60 -70 %
BTW why the change back to the www Dcz ??
rick74
phpBB SEO Team
phpBB SEO Team
 
Posts: 64
Joined: Sat Jul 01, 2006 8:29 pm

Postby dcz » Thu Nov 23, 2006 9:18 pm

The dive is most likely due to the fact the switch was made a little after all redirections where active (a day or two if I recall well). But I did not think it would be this much.

Anyway, since you started talking about the www come back, take a look at how fast Google updated it's cache in this case. And there was absolutely no drop of any kind.

If you like we can start a new topic to go further into analysing what's happening now.
Do you still show up on your best keywords in SERPs ?

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

404 error

Postby robot_dika » Thu Feb 21, 2008 11:09 am

Hello!

Thank's for your support.

I've istalled the phpbb seo on my windows server but I've a problem.

The httpd.ini is on the main root:

Code: Select all
[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]
RewriteRule /.+-vf([0-9]+)\.html(?:\?(.*))? /viewforum.php\?f=$1?2&$2: [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?2&$2: [I,L]
#RewriteRule /.+-vt([0-9]+)\.html$ /viewtopic.php\?t=$1 [I,L]
# FORUM PROTECTION RULE
#RewriteRule /.+/([^/]+\.html)$ / [I,O,RP,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 


I've setted the parameters below:


Activate URL rewriting: yes
URL rewriting type: advanced
Profiles ID removing: yes
SID Removing: yes
Remove small words: no
Virtual Root: no
Forum URL caching: yes
Activate The No duplictate: no

The forum is on http://forum-impresa-lavoro.impresalavoro.eu/impresa

I obtain the 404 error.... :(

Please, could you help me to fix this problem?

Thank's a lot
robot_dika
 
Posts: 11
Joined: Wed Oct 24, 2007 2:43 pm

Postby SeO » Thu Feb 21, 2008 11:21 am

Ho, but this thread is dealing with phpBB2 mod rewrite, not phpBB3.

Give searching a chance since I'm pretty sure the topic was treated, before you ask for it in the phpBB3 SEO category ;)
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Previous

Return to phpBB2 mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests