CMS made simple SEO on windows hosting with ISAPI rewrite

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
hadion
Forum Members
Forum Members
Posts: 17
Joined: Thu Apr 26, 2007 10:02 am

CMS made simple SEO on windows hosting with ISAPI rewrite

Post 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
vinodpatidar

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

Post 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
hadion
Forum Members
Forum Members
Posts: 17
Joined: Thu Apr 26, 2007 10:02 am

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

Post by hadion »

make a httpd.ini file contain the above. (my topic )
vinodpatidar

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

Post 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   
ritesh

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

Post by ritesh »

Hello All,

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


Thanks

Ritesh
Champollion
New Member
New Member
Posts: 7
Joined: Tue Nov 27, 2007 4:20 pm

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

Post 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.
Champollion
New Member
New Member
Posts: 7
Joined: Tue Nov 27, 2007 4:20 pm

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

Post by Champollion »

Can anyone give me the lines needed for using four or more subcategories ?

Thanks in advance !

Thierry.
dave.webb
Forum Members
Forum Members
Posts: 18
Joined: Mon Jun 30, 2008 12:13 pm

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

Post 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
--
Dave Webb
Windows 2008 Forums
Post Reply

Return to “CMSMS Core”