[solved] Pretty URLs - error 404
[solved] Pretty URLs - error 404
My site is: netkey.pl
Pretty url's looks ok, fe http://netkey.pl/zzzzz.html. When i click any link i see "error 404". WHat'ś wrong?
$config['root_path'] = '/home/myuser/domains/netkey.pl/public_html';
Pretty url's looks ok, fe http://netkey.pl/zzzzz.html. When i click any link i see "error 404". WHat'ś wrong?
$config['root_path'] = '/home/myuser/domains/netkey.pl/public_html';
Last edited by PL_Twist on Wed Nov 03, 2010 10:16 am, edited 1 time in total.
Re: Pretty URLs - error 404
Are you running on an Apache server with mod-rewrite turned on, with the appropriate .htaccess file in place?
Re: Pretty URLs - error 404
mod-rewrite is turned on,
htaccess is here /home/myuser/domains/netkey.pl/doc/.htaccess
htaccess is here /home/myuser/domains/netkey.pl/doc/.htaccess
Re: Pretty URLs - error 404
You might want to post the content of your .htaccess file. I'm no expert, but someone else might be able to help.
Re: Pretty URLs - error 404
.htaccess need to be in your root folder.
Re: Pretty URLs - error 404
Good point.. Why is it in your doc folder?
Re: Pretty URLs - error 404
The .htaccess in the doc folder is just for that folder, in the same folder you will find htaccess.txt, move that to root and rename .htaccess...
The .htaccess in doc folder just has...
# To deny PHPs
order deny,allow
deny from all
Which if you move it to the root may just shut the whole site down...
The .htaccess in doc folder just has...
# To deny PHPs
order deny,allow
deny from all
Which if you move it to the root may just shut the whole site down...

Re: Pretty URLs - error 404
How can you tell what's in his .htaccess? I get a "403 forbidden", as expected.
Re: Pretty URLs - error 404
The .htaccess in his doc folder, cuz I have one in an unpacked 1.8.2 on my comp. and that's what it says, and yes you should get 403 Forbidden as that is what it's supposed to do...
Re: Pretty URLs - error 404
Makes sense.. The only reason I was wondering is that he specifically mentioned that one, almost like he put it there.
Re: Pretty URLs - error 404
In the install it is named htaccess.txt. It needs to be rename (which he did) and then move to the root directory.
Re: [solved] Pretty URLs - error 404
Thank guys, I moved .htaccess to root dir.
Re: [solved] Pretty URLs - error 404
The new template looks nice too!