Topic: Rewrite module

Hi Support team,

How to install rewrite module ? What is the good files to install it ?

Regards.

Re: Rewrite module

If you use a github version (1.5.4) Rewrite plugin can be loaded here https://cutephp.com/cutenews/plugins.php. If you use 1.5.3 it's embedded in the code.

Best regards,
CN Support team

Re: Rewrite module

Hello Support Team,

In CN 1.5.3, when i click on the url rewrited, i've a white page...

Here the code of .htaccess :

RewriteEngine ON
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ cn_friendly_url.php?rew=$1&%{QUERY_STRING}[L]

And the code of file conf_rw.php :
<?php
$conf_rw_htaccess = "/homez.504/nomdesite/www/test/.htaccess";
$conf_rw_readmore = "/test/view/%id/%title";
$conf_rw_readmore_layout = "/test.php?subaction=showfull";
$conf_rw_archread = "/news/archive/%archive";
$conf_rw_archread_layout = "/example2.php?subaction=list-archive";
$conf_rw_readcomm = "/news/read/%id/%title/comment";
$conf_rw_readcomm_layout = "/example2.php?subaction=showcomments";
$conf_rw_newspage = "/news/read/%start_from";
$conf_rw_newspage_layout = "/example2.php";
$conf_rw_commpage = "/news/read/%id/%title/comment/%comm_start_from";
$conf_rw_commpage_layout = "/example2.php?subaction=showcomments";
$conf_rw_archreadmore = "/news/archive/%archive/%id/%title";
$conf_rw_archreadmore_layout = "/example2.php?subaction=showfull";
$conf_rw_archreadcomm = "/news/archive/%archive/%id/%title/comment";
$conf_rw_archreadcomm_layout = "/example2.php?subaction=showcomments";
$conf_rw_archcommpage = "/news/archive/%archive/%id/%title/comment/%comm_start_from";
$conf_rw_archcommpage_layout = "/example2.php?subaction=showcomments";

Thanks you for your help, I've made many tests, it doesn't work for me...