RSS 2.0
Browse posts:
Unanswered |
Mark all read
| Author | Message |
|---|---|
|
ieatflamingos Nucleus Newbie Joined: 04 Dec 2005 Posts: 17 |
hey so i have been trying to get this to work for a while and everytime i complete all the steps i get an error saying that the file can't be found 404 error, anyone know what could be going on.... i am all very new to all this. thanks in advance |
|
|
|
|
vadim Nucleus Newbie Joined: 10 Jan 2006 Posts: 8 |
folks, i have been playing with this setup and got it to work, except i'm having problem with getting "today" to work (.../blog/1) if i turn off fancyurls, the link is .../?blogid=1 and it works from all pages. if i turn on fancy mode, it doesn't resolve (i get 404). any help, leads would be much appreciated. http://blog.imperfectknowledge.com |
|
|
|
|
Legolas Nucleus Guru ![]() Joined: 31 Jan 2004 Posts: 813 Location: Woerden, Nederland |
it looks like something is wrong in the htacces file? |
|
|
|
|
vadim Nucleus Newbie Joined: 10 Jan 2006 Posts: 8 |
here it is, i just copied-pasted it: RewriteEngine On RewriteRule ^member/(.*) index.php?arr=member/$1 RewriteRule ^item/(.*) index.php?arr=item/$1 RewriteRule ^category/(.*) index.php?arr=category/$1 RewriteRule ^blog/(.*) index.php?arr=blog/$1 RewriteRule ^archive/(.*) index.php?arr=archive/$1 RewriteRule ^archives/(.*) index.php?arr=archives/$1 |
|
|
|
|
Legolas Nucleus Guru ![]() Joined: 31 Jan 2004 Posts: 813 Location: Woerden, Nederland |
This is weird, /blog/ works for example, but with a number it doesn't but with text behind it the htacces works =S |
|
|
|
|
vadim Nucleus Newbie Joined: 10 Jan 2006 Posts: 8 |
maybe something is wrong with my templates/skins? i'm relatively new to nucleus/php, only played with it for a few days, but this one is driving me nuts |
|
|
|
|
Legolas Nucleus Guru ![]() Joined: 31 Jan 2004 Posts: 813 Location: Woerden, Nederland |
Just noticed you've got the standard fancyurl files still on your domain root, does it work if you rename the file "blog"? |
|
|
|
|
vadim Nucleus Newbie Joined: 10 Jan 2006 Posts: 8 |
don't get it. there is a separate blog file with the following content: <?php include('./fancyurls.config.php'); include('./config.php'); // default to default implementation (/blog/1234) // if blogid was not filled out by plugins if ($blogid == 0) { $data = explode("/",serverVar('PATH_INFO')); if (count($data) > 1) { $blogid = intval($data[1]); } } selector(); ?> ...and a fancyurls.config.php with the following: <?php $CONF['Self'] = 'http://blog.imperfectknowledge.com'; $CONF['ItemKey'] = 'item'; $CONF['ArchiveKey'] = 'archive'; $CONF['ArchivesKey'] = 'archives'; $CONF['MemberKey'] = 'member'; $CONF['BlogKey'] = 'blog'; $CONF['CategoryKey'] = 'category'; ?> ...and my .htaccess has: RewriteEngine On RewriteRule ^member/(.*) index.php?arr=member/$1 RewriteRule ^item/(.*) index.php?arr=item/$1 RewriteRule ^category/(.*) index.php?arr=category/$1 RewriteRule ^blog/(.*) index.php?arr=blog/$1 RewriteRule ^archive/(.*) index.php?arr=archive/$1 RewriteRule ^archives/(.*) index.php?arr=archives/$1 |
|
|
|
|
Legolas Nucleus Guru ![]() Joined: 31 Jan 2004 Posts: 813 Location: Woerden, Nederland |
those files from the extra dir aren't needed for my solution and it's the best to keep them away |
|
|
|
|
vadim Nucleus Newbie Joined: 10 Jan 2006 Posts: 8 |
removed all, just left .htaccess - nothing changed you were saying before: >>Just noticed you've got the standard fancyurl files still on your domain root, does it work if you rename the file "blog"? what do you mean? should i leave file 'blog' and rename it to something? sorry for silly questions... |
|
|
|
|
All times are GMT + 1 Hour
You cannot post new topics in this forum |
|