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 Friendly URLs
Alexshort
Posted on 03 Jun 2010, 15:29:37

Access: Member
Total Posts: 1
Joined: 2010-06-03


Is 'prefix :' same as script location off public-html ?
Is 'directory filename' same as the page in which news story is published ?
Is there a help page for setting up Friendly URLs ?
What do you do if you already have an index.php in public html ?
#2367
Chris
Posted on 03 Jun 2010, 15:35:01

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

The friendly URL settings can be absolutely anything, it doesn't matter what you set them too.

The only thing you need to do is edit the .htaccess file. (might be called htaccess.htaccess, if so rename it to .htaccess)

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


Change the /news/index.php to the page where you're including your news into, so for example it might be

Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /index.php [L]
#2368
Network-13.com © 2013