Store
Community Documentation

v3 Knowledgebase

Shorten url's

I know this is all over the forums somewhere, but has become hard to find for some newcomers. So I will put it in its proper place.

Short or long urls.

Most hosting companies today support Mod Re-Write. This makes it possible to have an ugly and SEO unfriendly URL looking like http://www.yoursite.com/index.php?do=/blog/Ӕ and making it into the better easy for your members to remember http://www.yoursite.com/blog/Ӕ These instructions are of course included with your PhpFox 2 download.

1.First, using your ftp program find your htaccess.txt file. Rename it to .htaccess

2.Find the file /include/setting/server.sett.php. Open with an editor and find the line

$_CONF['core.url_rewrite'] = '2';

and change the '2' to a '1'.

$_CONF['core.url_rewrite'] = '1';

Save and re upload.
Note: From my exsperience I had to chmod the file to 777 before downloading and editing. When finished I chmod file back to 555. just thought I would let you know in case you run into a problem where the edit does not take place.