Pages: [1]
Author Topic: Making /docs/?.html into .com/?  (Read 3660 times)
Fernando Gomez
Guest


Email
on: Aug 09, 08, 09:31 PM

How can i make the custom page links just www.help.com/"PageName" instead of docs/help.html?
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #1 on: Aug 10, 08, 10:20 AM

in 2 words, you should add a line in the end of your main .htaccess file... something like this:
Code:
RewriteRule ^([a-zA-Z0-9_\-]+)$ docs/doc.php?page=$1 [QSA,L]
But please note, this code is not tested, so I can't guarantee its functionality.
Logged
Fernando Gomez
Guest


Email
Reply #2 on: Aug 10, 08, 12:59 PM

I worked, but how to make it NOT case sensitive so any way you type "chat" etc. will work?
Logged
fernando gomez
Guest


Email
Reply #3 on: Aug 25, 08, 11:58 AM

Bump? & Can you send me the header wide/normal PDF ^^
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #4 on: Aug 26, 08, 07:30 AM

email sent
Logged
fernando
Guest


Email
Reply #5 on: Aug 26, 08, 01:52 PM

How can I make the links non case-sensitive? so /chat ChaT CHAT works aswell, it only takes the name of the html page.
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #6 on: Aug 26, 08, 10:52 PM

you can't... due to the current script's architecture
Logged
Pages: [1]
 
Jump to: