Page 1 of 1

CMS made simple SEO on windows hosting with ISAPI rewrite

Posted: Tue Sep 11, 2007 7:10 pm
by hadion
Hello all,

I received several private messages about the solution to make CMS made simple SEO working with ISAPI rewrite.

Here is my httpd.ini file:

Code: Select all

[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]

# Block external access to the Helper ISAPI Extension
RewriteRule .*\.isrwhlp / [F,I,O]

# Defend your computer from some worm attacks
RewriteRule .*(?:global.asa|default\.ida|root\.exe|\.\.).* . [F,I,O]

#RewriteCond Host: (.*)
#RewriteRule ([^.?]+[^.?/]) http\://$1$2/ [I,R]

RewriteRule ^/([^/]+)\.html /index.php\?page=$1 [I]
RewriteRule ^/([^/]+)/([^/]+)\.html /index.php\?page=$1/$2 [I]
RewriteRule ^/([^/]+)/([^/]+)([0-9]*)\.html /index.php\?page=$1/$2$3 [I]
RewriteRule ^/([^/]+)/([0-9]*)/([0-9]*)\.html /index.php\?page=$1/$2/$3 [I]
#RewriteRule ^/(.+)$ /index.php\?page=$1 [I,L]
The last rules are for multi level pages and news items.

Renember to put SEO on in the configuration file of CMS made simple

Good luck,

Hadion

Re: CMS made simple SEO on windows hosting with ISAPI rewrite

Posted: Sat Nov 03, 2007 11:24 am
by vinodpatidar
Hi

    I will try this ini file but result remain same

    please tell me how to configuratin mod rewrite on IIS
without .htaccess



thanks

Vinod Patidar
Infocrats

Re: CMS made simple SEO on windows hosting with ISAPI rewrite

Posted: Sat Nov 03, 2007 2:05 pm
by hadion
make a httpd.ini file contain the above. (my topic )

Re: CMS made simple SEO on windows hosting with ISAPI rewrite

Posted: Mon Nov 05, 2007 7:12 am
by vinodpatidar
Hello All,

    I have create httpd.ini and save to root folder but i can't use [ISAPI_Rewrite].
      then without [ISAPI_Rewrite] they are working or not and with out using  [ISAPI_Rewrite] we are change URL posible or  not,
      any other way to change URl in CMSMADESIMPLE.


Thanks for replay,

Vinod Patidar
Infocrats   

Re: CMS made simple SEO on windows hosting with ISAPI rewrite

Posted: Mon Nov 05, 2007 10:46 am
by ritesh
Hello All,

      mod rewrite on IIS without thirty party control are posible or not ?


Thanks

Ritesh

Re: CMS made simple SEO on windows hosting with ISAPI rewrite

Posted: Tue Nov 27, 2007 4:22 pm
by Champollion
hello all,

your solution is working until 3 level of hierarchy, can you write me the code for one more level please ?

I have pages like 2.3.4.5

Thanks in advance !

Thierry from Belgium.

Re: CMS made simple SEO on windows hosting with ISAPI rewrite

Posted: Wed Dec 19, 2007 4:33 pm
by Champollion
Can anyone give me the lines needed for using four or more subcategories ?

Thanks in advance !

Thierry.

Re: CMS made simple SEO on windows hosting with ISAPI rewrite

Posted: Mon Jun 30, 2008 12:18 pm
by dave.webb
Hi all.

I'm trying to get this working with CMSMS 1.2.5 on Windows 2003 Web edition and ISAPI_Rewrite 3.  I've tried creating a file called httpd.ini in the root folder of the site but when I enable Pretty_URLs and try to click some links only the home page is displayed each time.  Do I need to anything else, like add a .htaccess file?

Has anyone else got this working?  I can't seem to find a step by step guide explaing how to use ISAPI_Rewrite from start to finish (I've never used it before).

Thanks in advance,
Dave