Register Arama Bugünkü Mesajlar Tüm Forumu Okundu Say

Reply
 
Thread Tools
Google Friendly ISAPI Rewrite for IIS (Archive Files)
vB.Org Poster
vB.Org Poster has disabled reputation
Kayıt Tarihi: Jul 2018
Mesajlar: 298

Show Printable Version Email this Page
yazan vB.Org Poster 10 Jul 2018, 17:06

Hi Guys

I just wanted to share with you my findings on using ISAPI Rewrite on IIS to get the archive links on v3.0.7 to display google friendly.

eg:

From:
Domain.com | 404 Error | Domain.com

To:
Domain.com | 404 Error | Domain.com

Here is how its done:

Install ISAPI Rewrite from Apache compatible URL rewriting for IIS there is a 30 day trial or a free lite version.

once installed edit the httpd.ini file and add the line:
RewriteRule /forum/archive/([^/.?]+\.html) /forum/archive/index.php\?$1 [I,L]

Now edit the index.php and global.php in the ARCHIVE FOLDER.
eg: /forum/archive/

Find and replace 'index.php?' with ''
Save both files.

Thats it - browse to your archive pages:
MyDomain.com | 404 Error

And you have very friendly google links!

NOTE: Requires Windows Server and IIS (Internet Information Services) this will not work on Apache (although there is a very good mod_mime hack to do the same thing on Apache)

Regards

myMigration
Views: 48
Reply With Quote
Reply

Thread Tools

Şunları Yapabilirsin
Yeni Konu Açmak
Konuya Cevap Yazmak
Eklenti Eklemek
Düzenleme Yapabilmek

Forum Atla


LD'de Yeni misin? Yardıma mı ihtiyacın var?

All times are GMT +3. The time now is 03:53.

Tasarım Özelliği | Genişlik: Geniş Renk: Google Friendly ISAPI Rewrite for IIS (Archive Files) Google Friendly ISAPI Rewrite for IIS (Archive Files) Google Friendly ISAPI Rewrite for IIS (Archive Files) Google Friendly ISAPI Rewrite for IIS (Archive Files) Google Friendly ISAPI Rewrite for IIS (Archive Files)