Senin, 13 Februari 2012

To to change the URLs of v3 to pretty URLs

HEre's a simple trick on how to change the URL of your phpfox v3 URL from
something like


MySite.com/index.php?do=/blog/  
to

MySite.com//blog/  


1. Change Edit the file ~//include/setting/server.sett.php

2. Change the line :
$_CONF['core.url_rewrite'] = '2';

to

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

3. Save the file.

4. Make sure that the
 .htaccess
is configured accordingly (otherwise , copy the default
htaccess.txt
to
.htaccess
(not the dot before htaccess ! )

5. Refresh your web page. Better yet, navigate to MySite.com and try to access the sub menus.
If everything was set up correctly , you should be able to visit pages in the format :
MySite.com/blog
,
MySite.com/pages
..etc

Remember to +rep

Tidak ada komentar:

Posting Komentar

Tags

Blog Archive