| |
|
| :: |
| Author |
Message |
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 |
|
 |
JanoF

Joined: 30 May 2006 Posts: 43
|
Posted: Sat Oct 14, 2006 10:29 am Post subject: Re: [Project] Developing IIS mod rewrite |
|
|
Shall I herewith small problem, IF su addresses without SID like this forum operate no problems, but as soon as oneself to address add round too SID like this forum slinging error 404.....
httpd.ini I am made use of this
| 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 |
|
_________________ www.pcforum.sk | www.pcforum.cz | jan.fecik.sk |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
JanoF

Joined: 30 May 2006 Posts: 43
|
Posted: Sat Oct 14, 2006 8:25 pm Post subject: Re: [Project] Developing IIS mod rewrite |
|
|
| dcz wrote: | Yes, there is a trick to build up an equivalent to QSA Apache flag.
I plan to end the last few changes in the httpd.ini tomorrow, I'll keep you updated
++ | thx.....  |
_________________ www.pcforum.sk | www.pcforum.cz | jan.fecik.sk |
|
| Back to top |
|
 |
KeusssiX PR0

Joined: 27 Oct 2006 Posts: 67 Location: Lille, 59 France
|
Posted: Fri Oct 27, 2006 4:50 pm Post subject: lack of some rules |
|
|
hi,
thx for the great work , impossible to find the answer except here
i wanted to install phpbb-keywords-urls-2.3.1 & dynamic-keywords-metatags. what a surprise for me to see that my server is under ISAPI rewrite...
i'm a newbie in program... and without your help, i'd have to forget definitvely these important tools...
but i've still some problem : on the main page of the forum (initial subsilver), there is a block on the right for unanswered message & new messages since last visit. the links doesn't work. (because there is an ? with datas ?in the url following the url rewrited)
idem, after you post a message in the forum, you have during several seconds a page with
"your message has been sent
view your message
go to index"
the link for the message doesn't work too
it seems that all is coming from a problem in the url rewrite, but because i know nothing about isapi rewrite, i'm definitively lost
so if someone can help me, it would be great.
history of mod installed :
-cyber alien guest session mod
-phpbb-keywords-urls-2.3.1
-phpbb-dynamic-keywords-metatags
-then the httpd.ini described upside |
|
|
| Back to top |
|
 |
KeusssiX PR0

Joined: 27 Oct 2006 Posts: 67 Location: Lille, 59 France
|
Posted: Fri Oct 27, 2006 4:59 pm Post subject: Re: [Project] Developing IIS mod rewrite |
|
|
i forget to say, i've installed research-search 2.4.0 MOD.
i don't know if it's important...
PS for moderators. if it's possible to move this topic in french section. i didn't found it. (the forum for request a translate is closed) |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Fri Oct 27, 2006 5:53 pm Post subject: Re: [Project] Developing IIS mod rewrite |
|
|
Oops, I forgot about this one for a while.
So here is the httpd.ini for the phpBB SEO advanced mod rewrite :
1) Start Isapi rewrite.
2) Optional, HTTP 301 redirect http://www.example.com/phpBB/index.php to http://www.example.com/phpBB/
| Code: | | RewriteRule /index.php http://www.example.com/phpBB/ [I,O,RP,L] |
3) The phpBB SEO Advanced rewriterules :
| Code: | # 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 |
4) If applicable : mx Sitemaps rewriterules (phpBB SEO advanced mod rewrite version)
| Code: | #mx Sitemaps
RewriteRule /sitemaps\.html$ /sitemaps.php [I,L]
RewriteRule /forum-map\.html$ /sitemaps.php\?fim [I,L]
RewriteRule /.+-fmp([0-9]+)-([0-9]+)\.html$ /sitemaps.php\?fmp=$1&start=$2 [I,L]
RewriteRule /.+-fmp([0-9]+)\.html$ /sitemaps.php\?fmp=$1 [I,L]
RewriteRule /.+-sc([0-9]+)\.html$ /sitemaps.php\?c=$1 [I,L] |
5) If applicable : mx Google Sitemaps rewriterules :
| Code: | # mx Google sitemaps
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] |
Then, KeusssiX, you feel free to start a new topic about IIS in the french forum if you need help, most of the work is done, we only need to release it.
I think you should first think about migrating to the phpBB SEO advanced mod rewrite instead of using the good old webmedic mod, it's faster and will not output any pagination duplicate
Beside you'll keep the same URLs, try searching a bit, there are some topic already covering many migration cases.
++ |
_________________ 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 |
|
 |
KeusssiX PR0

Joined: 27 Oct 2006 Posts: 67 Location: Lille, 59 France
|
Posted: Mon Oct 30, 2006 10:26 am Post subject: Re: [Project] Developing IIS mod rewrite |
|
|
THX A LOT !!
everything seems ok now (for unanswered message & new messages since last visit, it's ok, for message sent i'll see
i'll post evrything in the french forum, sure it'll help, like it did for me
what about migrating ?
i didn't installed the good mod !!??!!
-first, can you write me the good links (sorry to annoy you again, but i don't want to make same mistake)
-& if i installed an old one, why can't i delete it, then rewrite the good one ? the database is rewrited too ? because, after installing the mod, it has worked instantly. i thought that the links to database were in fact the same... i don't understand what a migrating is and what for.
can't the mod rebuild-search 2.4.0 work for this ?
or am I totally out ? & if so, can you explain me simply what i don't understand (what is the purpose of the migrating) ? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Mon Oct 30, 2006 4:34 pm Post subject: Re: [Project] Developing IIS mod rewrite |
|
|
You're welcome
I am not sure to understand everything perfectly about your migration problem.
This .htaccess is meant for the phpBB SEO Advanced mod rewrite (other versions will soon be available), so it it's working for you, I guess you are using it.
Do you want to migrate to another of the three phpBB SEO mod rewrites ?
And to make it clear, there is no data base usage beside what phpBB is already doing, so URL are not stored, they are build on the fly, like phpBB vanilla does, but in a different way obviously.
So the purpose for migrating is only to enjoy the zero duplicate experience for phpBB, which is in itself a major reason to do so if not already done.
As well, it will be easier to make all modules working together with the official mod rewrite, even though I'll continue to provide support for other standards as for now.
And I don't understand at all what you're trying to say here :
| Quote: | | -first, can you write me the good links (sorry to annoy you again, but i don't want to make same mistake) |
++ |
_________________ 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 |
|
 |
KeusssiX PR0

Joined: 27 Oct 2006 Posts: 67 Location: Lille, 59 France
|
Posted: Thu Nov 02, 2006 6:00 pm Post subject: Re: [Project] Developing IIS mod rewrite |
|
|
| Quote: | And I don't understand at all what you're trying to say here :
Citation:
| Quote: | | -first, can you write me the good links (sorry to annoy you again, but i don't want to make same mistake) |
|
you did , by writing links for the three phpBB SEO mod rewrites
so, now i've migated for the advanced.
i created a post in french forum for these IIS rewrite. (SEO toolkit pour IIS (ISAPI rewrite))
everything looks to be ok now (except minor questions posted in the new topic created).
THX dcz. |
|
|
| Back to top |
|
 |
pakpoint
Joined: 09 Nov 2006 Posts: 4
|
Posted: Thu Nov 09, 2006 10:37 am Post subject: Re: [Project] Developing IIS mod rewrite |
|
|
I am very new to php and phpbb,
I have tried different rewrite modes but were unable to get good results ad .htaccess is not support on my IIS hosting.
Please tell me what to do and how to? Is there any zip file or text file avilbe for download? which I can install in root of my phpbb to get URL Re-Write? |
|
|
| Back to top |
|
 |
KeusssiX PR0

Joined: 27 Oct 2006 Posts: 67 Location: Lille, 59 France
|
Posted: Thu Nov 09, 2006 12:42 pm Post subject: Re: [Project] Developing IIS mod rewrite |
|
|
don't worry, it's not so difficult (i'm still new with phpbb & php/sql, and i succeed to do it)
so, follow the mod (opening the files, modifying like explained)
install the files, if needed (i don't remember if there was some for rewriting mod)
then, because like me, you can't have a .htaccess, you have to create a file httpd.ini located at the same place : root
what you have to write inside is quite the same and is written upside by dcz (4 posts upside )
then, everything should work
if you have any problem, post here your questions, dcz (or somebody else) will answer you very very quickly (if he's logged ), but i'm thinking dcz never sleep nor doing anything else except helping us  |
|
|
| Back to top |
|
 |
pakpoint
Joined: 09 Nov 2006 Posts: 4
|
Posted: Thu Nov 09, 2006 1:25 pm Post subject: Re: [Project] Developing IIS mod rewrite |
|
|
what I understand??
1. First I have to make *.ini file as mentioned by you and to place it in the root folder/forum folder
2. I should install the mod advance seo?
3. I should install IIS mod
i am right or not?
Where from i can download latest *.ini file alternatative to .htaccess file and where from IIS mode file where all instruction for the modifications are written
Can I do this with easy MOD installed? |
|
|
| Back to top |
|
 |
KeusssiX PR0

Joined: 27 Oct 2006 Posts: 67 Location: Lille, 59 France
|
Posted: Thu Nov 09, 2006 5:53 pm Post subject: Re: [Project] Developing IIS mod rewrite |
|
|
2. go there, choose and install & modify all, except the .htaccess. dcz (author of the mod) recommend at least the advanced, because the easy don't do lots of rewriting.
go there : the three phpBB SEO mod rewrites
1. yes, put it in your root folder. not in the forum folder, if you put it in a subfolder. but in this case you have to add forum_folder_name/ before the links. for instance :
before
| Code: | | RewriteRule /.+-vc([0-9]+)\.html$ /index.php\?c=$1 [I,L] |
after
| Code: | | RewriteRule forum_folder_name/.+-vc([0-9]+)\.html$ forum_folder_name/index.php\?c=$1 [I,L] |
and sometimes ./forum_folder_name/ or /forum_folder_name/ i think it depends of your server, so try it till it works
3. i don't know this mod (write the link to this mod). is it a phpbb SEO mod ? but, you don't need it to make work the seo mod (i think, for me it works)
and for easy mod, i don't know. dcz often write in his mod "should work with easy mod"
but, it's not really diificult to open the files & modifying it. nothing is changed in database. so you can easily come back, by rewriting well old lines, if it don't works. or better, saves the original files.
and don't forget to post here your questions if something's wrong. but if you're under IIS i think it should work (if ISAPI) is on the server. to know this, look help section or ask directly your server. i'm not very experienced in stuffs like that, but i suppose, isapi rewrite is activated on your server if you can't have a .htaccess |
|
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|