27
disky
I try it tonight in order to change
from:
http://www.mysite.com/modules/contact/
to:
http://www.mysite.com/contact
by
RewriteEngine On
RewriteBase /
RewriteRule ^contact /modules/contact [L]
in .htaccess file
and change 1 line in include/common.php
from:
$xoopsRequestUri=$_SERVER['REQUEST_URI'] ;
to:
$xoopsRequestUri=$_SERVER['SCRIPT_NAME'];
Then each time when I go to mysite.com/contact, it can redirectly to mysite.com/modules/contact . When I tick the 'contact' on the 'main menu', I still see
http://mysite.com/modules/contact on url .
But what I want is only see mysite.com/contact appearing on my site.
How can do that?
Thanks in advance!