Topic: Rewrite module
Hi Support team,
How to install rewrite module ? What is the good files to install it ?
Regards.
Dear CuteNews Users! Please feel free to contact us via our new Feedback Form and please send information about bugs to our bug tracker.
You are not logged in. Please login or register.
CutePHP Forums → Problem Solving / Help & Support → Rewrite module
Hi Support team,
How to install rewrite module ? What is the good files to install it ?
Regards.
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.
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...
CutePHP Forums → Problem Solving / Help & Support → Rewrite module
Powered by PunBB, supported by Informer Technologies, Inc.
The pun_antispam official extension is installed. Copyright © 2003–2009 PunBB.