Mobile app version of vmapp.org
Login or Join
BetL925

: How do I do URL re-writes on Plesk? I am very new to URL re-writing and I am using Plesk which is window-based web server, hence I can't use Apache's mod_Rewrite. Can anyone tell me what

@BetL925

Posted in: #Htaccess #Plesk #UrlRewriting

I am very new to URL re-writing and I am using Plesk which is window-based web server, hence I can't use Apache's mod_Rewrite. Can anyone tell me what is the proper procedure for this?

10.04% popularity Vote Up Vote Down


Login to follow query

More posts by @BetL925

4 Comments

Sorted by latest first Latest Oldest Best

 

@Annie201

gist.github.com/sabbour/e49b3ac9e1438c93d5fb

Just create a web.config file on Notepad or edit the one you have on the root folder of Magento, and copy and paste this:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Remove index.php rule" stopProcessing="true">
<match url=".*" ignoreCase="false"/>
<conditions>
<add input="{URL}" pattern="^/(media|skin|js)/" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

10% popularity Vote Up Vote Down


 

@Tiffany637

You can import the .htaccess rules on Windows hosting without any problems. If you have access to to IIS manager, just enter it, go to your domain and open the section Url-rewrite rules.Then use the Import button and your rules will be automatically imported to your web.config file.

10% popularity Vote Up Vote Down


 

@Heady270

its isapirewrite.com we have to install this
This s/w will work same as mod_rewrite in windows web servers

They will charge some for s/w

10% popularity Vote Up Vote Down


 

@Cooney921

If you use Plesk there is usually a server section where you can configure which Apache modules should be activated. "rewrite" or "mod_rewrite" is the one to activate.

Then it depends on your software or scripts to make actually use of this module.

[Edit]
Do you have the url rewrite extension available or can it be installed? See www.iis.net/downloads/microsoft/url-rewrite

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme