RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
-RewriteRule ^([^/]+)/?(.*) $1.php?query=$2 [L,QSA]
+
+#if cleanurls don't work, comment option 1 (by adding # at the beginning) and uncomment option 2:
+RewriteRule ^([^/]+)/?(.*) $1.php?query=$2 [L,QSA] #option 1
+#RewriteRule ^([^/]+)/?(.*) $1.php/$2 [L] #option 2
+
</IfModule>
// Set template vars
$tplVars['rsschannels'] = array(
- array(filter($sitename .': '. $pagetitle), createURL('rss', filter($user, 'url') . $rssCat))
+ array(filter($sitename .': '. $pagetitle), createURL('rss', filter($user, 'url') . $rssCat.'?sort='.getSortOrder()))
);
$tplVars['page'] = $page;
// Header variables
$tplVars['loadjs'] = true;
$tplVars['rsschannels'] = array(
- array(sprintf(T_('%s: Recent bookmarks'), $sitename), createURL('rss'))
+ array(sprintf(T_('%s: Recent bookmarks'), $sitename), createURL('rss').'?sort='.getSortOrder())
);
if ($usecache) {
$tplVars['pagetitle'] = $pagetitle;
$tplVars['loadjs'] = true;
$tplVars['rsschannels'] = array(
- array(filter($sitename .': '. $pagetitle), createURL('rss', 'all/'. filter($cat, 'url')))
+ array(filter($sitename .': '. $pagetitle), createURL('rss', 'all/'. filter($cat, 'url')).'?sort='.getSortOrder())
);
// Pagination