Whenever I create an .htaccess file, I get an Internal Server Error on the site at all times.
I don't really want to enable the Rewrite for the whole site (slow down), just these rss feeds to have a normal url. Isn't there a way to enable the rewrite only for these feeds but keep the site functioning the way it is supposed to normally through the index.php ?
I'm not a ReWrite pro, but as far as I understand you're not rewriting the whole site - just try and see if it slows down anything. Don't turn mod_rewrite on in your directory setting.
Comments on Another silly RSS question
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
I have
rssfeed.php?type=links&number=50&field=rating&ascdesc=ascending&thecondition=catid !=8 AND catid !=9
in my HTML. But this isn't a valid xml/rss feed url. How can I make that something like mytoplist.xml ?
Thanks
David
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
In my experience any URL works for a feed. Nonetheless you can click 'static generation' in your admin panel or make an .htaccess line.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
if using an .htaccess line, how would I format that?
Alias /rssfeed.php?type=links&number=50&field=time&ascdesc=descending&thecondition=catid=8/ /toplist.xml
OR
Alias /rssfeed.php?type=links&number=50&field=time&ascdesc=descending&thecondition=catid=8 /toplist.xml
???
Thx
David
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Alias /rssfeed.php?type=links&number=50&field=time&ascdesc=descending&thecondition=catid=8 /a.xml
That didn't work. Any thoughts? I know I am missing something very simple here, but since I don't know too much about Apache, can't figure it out.
Thx
David
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
tried a RewriteRule. didn't work either.
Forum Regular
Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Comments: 197
Try the following:
make sure RewriteBase is the path of your wsnlinks folder. Works for me.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Hmm... what am I missing here?
Whenever I create an .htaccess file, I get an Internal Server Error on the site at all times.
I don't really want to enable the Rewrite for the whole site (slow down), just these rss feeds to have a normal url. Isn't there a way to enable the rewrite only for these feeds but keep the site functioning the way it is supposed to normally through the index.php ?
Thanks
David
Forum Regular
Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Comments: 197
I'm not a ReWrite pro, but as far as I understand you're not rewriting the whole site - just try and see if it slows down anything. Don't turn mod_rewrite on in your directory setting.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
I didn't. that's why it's weird. Oh well, I'll just get a sys admin to look at this.
Thanks guys.
David