• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved htaccess not word

Hi,

Please, any additional detail?
Note, that .htaccess is Apache technology, but Apache isn't supported by Plesk for Windows.
 
What is the web server for plesk (windows)?

Should I use web.config instead of htaccess?

How do i rewrite url?
 
<rule name="rule 1S" stopProcessing="true">
<match url="^(.*)$" ignoreCase="true" />
<action type="Rewrite" url="/http://www.denizhansoftware.xyz/" />
</rule>
<rule name="rule 2S">
<match url="^(.*)$" />
<action type="Rewrite" url="/{R:1}.php" />
</rule>
<rule name="rule 3S" stopProcessing="true">
<match url="^sayfa-([0-9a-zA-Z-_]+)" />
<action type="Rewrite" url="/menu-detay.php?sef={R:1}" appendQueryString="true" />
</rule>
<rule name="rule 4S" stopProcessing="true">
<match url="^kategori-([0-9a-zA-Z-_]+)" />
<action type="Rewrite" url="/kategoriler.php?sef={R:1}" appendQueryString="true" />
</rule>
<rule name="rule 5S" stopProcessing="true">
<match url="^urun-([0-9a-zA-Z-_]+)-([0-9]+)$" />
<action type="Rewrite" url="/urun-detay.php?sef={R:1}&amp;urun_id={R:2}" appendQueryString="true" />
</rule>


its true?
 
Back
Top