I don't know i am just newbie to the world of web developmen tand i have account on Directadmin server.
I am trying to create .htaccess on my folder "forum" but it disappears and i can't find it on file manger in directadmin control.
I just want to write Rewriteengine code in .htaccess and put it in "forum" folder
Rite now user in the forum can view each other their stats by typing
So CID="20" is unique and assign to each user. Different user have different CID.
I want it so if somebody types http://forums.mydomain.com/20.php they would be redirected to http://forums.mydomain.com/index.php?act=Aracade&CODE=12&CID=20 so they can view stats. And I want this so everytime somebody else creates a new game report he would its url as http://forums.mydomain.com/21.php and would redirected http://forums.mydomain.com/index.php?act=A...&CODE=12&CID=21.
The program already create ID i just need so they don't have type long url. Is thier anyother way than .htaccess
sorry newbie my problem is i can't seem seem to find .htaccess in file manager.
thanks
I am trying to create .htaccess on my folder "forum" but it disappears and i can't find it on file manger in directadmin control.
I just want to write Rewriteengine code in .htaccess and put it in "forum" folder
PHP:
RewriteEngine on
RewriteRule ^content-cat-([1-9][0-9]*).html /index.php?act=Aracade&CODE=12&CID=$1
Rite now user in the forum can view each other their stats by typing
PHP:
http://forums.mydomain.com/index.php?act=Aracade&CODE=12&CID=20
I want it so if somebody types http://forums.mydomain.com/20.php they would be redirected to http://forums.mydomain.com/index.php?act=Aracade&CODE=12&CID=20 so they can view stats. And I want this so everytime somebody else creates a new game report he would its url as http://forums.mydomain.com/21.php and would redirected http://forums.mydomain.com/index.php?act=A...&CODE=12&CID=21.
The program already create ID i just need so they don't have type long url. Is thier anyother way than .htaccess
sorry newbie my problem is i can't seem seem to find .htaccess in file manager.
thanks