Skip to forum content
CutePHP Forums
Dear CuteNews Users! Please feel free to contact us via our new Feedback Form and please send information about bugs to our bug tracker.
CutePHP Forums
You are not logged in. Please login or register.
Active topics Unanswered topics
Search options
EDIT: FIGURED IT OUT...
Just using $Start_where or whatever it was called
A new question... Can I build the site completly on XAMPP then uploud it to the web host and it all will work? Or what kind of changes do I have to do to make it work?
Yes, I build in XAMPP all the time.
You just need to change the path for Cutenews when you upload it.
I recently set up
https://cutephp.com/forum/index.php?showtopic=2116
but realized that when you click through the articles, it jumps categories and displays items not intended to be seen in full-story mode.
Is there any way I can limit the category? E.g. only display posts in category "2"?
Thank you.
I cannot seem to figure out how to get the Mod Rewrite to work. I either get a 500 Internal Service Error, or a 404 page (usually when I delete RewriteBase from the htaccess file).
Does it work with $PHP_SELF or am I out of luck?
Thank you!
Edit: I am using UTF-8
This is what my .htaccess file looks like:
Just checked, my host allows rewrite as long as it is noted correctly in the htaccess.
RewriteEngine On
RewriteBase
RewriteRule ^post/(.*)/(.*)-(.*).html(.*)$ ?subaction=showfull&id=$3&url=$2$4 [L,NC]
RewriteRule ^postpage/(.*).html(.*)$ ?start_from=$1$2 [L,NC]
RewriteRule ^comments/(.*)/(.*)-(.*).html(.*)$ ?subaction=showcomments&id=$3&url=$2$4 [L,NC]
RewriteRule ^commentspage/(.*)/(.*)/(.*)-(.*).html(.*)$ ?comm_start_from=$1&subaction=showcomments&id=$4&url=$3$5 [L,NC]
RewriteRule ^archiveindex/(.*).html(.*)$ ?archive=$1&subaction=list-archive$2 [L,NC]
RewriteRule ^archive/(.*).html(.*)$ ?subaction=showfull&url=$1$2 [L,NC]
RewriteRule ^archivepage/(.*)/(.*).html(.*)$ ?start_from=$2&archive=$1&subaction=list-archive$3 [L,NC]
Posts found: 3