Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

SEO/URL Rewrite on IIS7 Rate Topic   - - - - -

 
  • tfish
  • Junior Member
  • Members
  • Join Date: 18-Feb 10
  • 5 posts

Posted 26 May 2010 - 04:53 PM #1

I have tried searching the forum but did not find a solution that works for me.

How can I use the SEO Mod or enable URL Rewrite on IIS7/Windows Server 2008?

I have URL Rewrite already installed on IIS7 but do not know exactly how to make it work with CS-Cart.

Thanks.

 
  • TexasGuy
  • Senior Member
  • Members
  • Join Date: 18-Mar 10
  • 546 posts

Posted 26 May 2010 - 06:06 PM #2

CS-Cart was not really made for IIS. Your milage might vary as well as your security of CS-Cart.
PM me today for design/coding projects :P

 
  • tfish
  • Junior Member
  • Members
  • Join Date: 18-Feb 10
  • 5 posts

Posted 26 May 2010 - 06:15 PM #3

incorrect. there is no lack of security running it on a windows server and it actually runs faster on IIS/Windows when PHP is properly setup.

however, this does not answer my question. anyone have any experience using the iis7 URL rewrite mod with CS-Cart?

 

Posted 26 May 2010 - 06:29 PM #4

incorrect. there is no lack of security running it on a windows server and it actually runs faster on IIS/Windows when PHP is properly setup.

however, this does not answer my question. anyone have any experience using the iis7 URL rewrite mod with CS-Cart?


Not at all, doubt there are more than a handful that use IIS, yet alone Windows Servers.
I've moved on from CS-Cart to WooC******** - If you need anything I can be of little help.

 
  • pmemedia
  • Junior Member
  • Members
  • Join Date: 25-Jul 10
  • 2 posts

Posted 13 July 2011 - 02:30 AM #5

I have the same issue here. I'm using CS-Cart on Windows 2008 and IIS7. When I try to enable SEO Friendly URL, I get the following error: SEO-Friendly URLs are disabled. Check your webserver and URL manipulation engine settings. The solution presented in this forum (.HTACCESS file) does not work on IIS 7. Was anybody able to make this work ?

Thanks

 
  • bb3
  • Member
  • Members
  • Join Date: 11-Nov 10
  • 78 posts

Posted 21 October 2011 - 06:38 PM #6

To get SEO to work on windows, you just need to edit the web.config file in your root directory on your site. If it doesn't exist, you can just create it with the following (I used my rewrite rules, your may be a little different):


<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1" stopProcessing="true">
<match url="." ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="index.php?sef_rewrite=1" appendQueryString="true" />
</rule>
<rule name="Imported Rule 2">
<match url="^(.*\.(js|css))$" ignoreCase="false" />
<action type="Rewrite" url="smartoptimizer/?{R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 3">
<match url="^(.*\.(js|css|html?|xml|txt))$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" />
</conditions>
<action type="Rewrite" url="smartoptimizer/?{R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 4">
<match url="^(.*\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt|ico))$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" />
</conditions>
<action type="Rewrite" url="smartoptimizer/?{R:1}" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

 

Posted 28 November 2011 - 01:57 AM #7

To get SEO to work on windows, you just need to edit the web.config file in your root directory on your site. If it doesn't exist, you can just create it with the following (I used my rewrite rules, your may be a little different):


<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1" stopProcessing="true">
<match url="." ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="index.php?sef_rewrite=1" appendQueryString="true" />
</rule>
<rule name="Imported Rule 2">
<match url="^(.*\.(js|css))$" ignoreCase="false" />
<action type="Rewrite" url="smartoptimizer/?{R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 3">
<match url="^(.*\.(js|css|html?|xml|txt))$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" />
</conditions>
<action type="Rewrite" url="smartoptimizer/?{R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 4">
<match url="^(.*\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt|ico))$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" />
</conditions>
<action type="Rewrite" url="smartoptimizer/?{R:1}" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>



Hello there, thank you for this great tip, It helped me walkthrough out with the same problem. Thank you very much.

 
  • baoyc
  • Junior Member
  • Members
  • Join Date: 11-Nov 09
  • 28 posts

Posted 15 December 2011 - 12:15 AM #8

Hello there, thank you for this great tip, It helped me walkthrough out with the same problem. Thank you very much.

I'm windows fan too. I used IIS7 and enabled SEO add-on by installing ISAPI rewrite 3 in windows 2008, which is $99. Here's link they provide 45 days trial. http://www.heliconte...pi_rewrite3.htm

Good luck.
Always in Fantasyard

 

Posted 14 December 2012 - 02:18 PM #9

There is an import wizard in IIS 7 URL Rewrite add on. Download this and just import the .HTACCESS and it will convert it to a web.config file. Works and takes about 2 mins. More information http://www.iis.net/learn/extensions/url-rewrite-module/importing-apache-modrewrite-rules