Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Problem with friendly URLs
Dabullet
Posted on 28 Jul 2009, 14:47:31

Access: Member
Total Posts: 3
Joined: 2009-07-28

hello all! Im new here and I like this Newsscript :happy:
but I have a little problem. My testing site -> http://davenco.kilu.de/ so... if I use the setting with the friendly URLs and click on comments a new blank site is openend... without the red testing navi and blue header.
But if I dont use the friendly urls, the script is including perfekt into the site. with red navi and blue header.

I hope someone can help me.

thx
#700
Chris
Posted on 28 Jul 2009, 16:15:05

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Hi Dabullet,

Try moving the .htaccess file in the news directory to your main directory above it.
#701
Last edited by Chris at 2009-07-28 16:26:43 Reason:
Dabullet
Posted on 28 Jul 2009, 19:24:51

Access: Member
Total Posts: 3
Joined: 2009-07-28

Thanks Chris, but it´s not working.
Well I give u some info.

My index.php (testing site where the news were includes, with the red navi and blue header :happy: ) is in the root directory.
The news script is in directory /news/.
The settings in the system configuration "Friendly URLs" is...

enable friendly urls : yes
file extension : .html
prefix : /news/
directory filename : index.html

the .htaccess is in the root directory with:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /news/index.php [L]
what did I do wrong...?

thx
#702
Chris
Posted on 28 Jul 2009, 19:34:48

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

For your .htaccess file try using this

Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /index.php [L]

#703
Dabullet
Posted on 28 Jul 2009, 19:42:41

Access: Member
Total Posts: 3
Joined: 2009-07-28

Thank you Chris! It finally works!

thx a lot!!!!!!!!!!!!!!!!!!! :happy:

#704
Chris
Posted on 28 Jul 2009, 19:43:11

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

:happy:
#705
Network-13.com © 2013