Jump to content

URL Amigavel - WHMCS


Recommended Posts

  • Administration

Ué, basta ativar no admin? Eu até personalizava, em vez de usar /knowledgebase, usava /ajuda.

'Cause he's my best friend, he's my pal. He's my homeboy, my rotten soldier. He's my sweet cheese. My good-time boy.

Link to comment
Share on other sites

Alguém já conseguiu fazer uma URL amigavel no whmcs?

 

 

Ué, basta ativar no admin? Eu até personalizava, em vez de usar /knowledgebase, usava /ajuda.

 

Além de ativar ( http://postimg.org/image/78u8ogeat/ ) no admin WHMCS você precisa renomear o arquivo htaccess.txt localizado na raiz do whmcs para .htaccess

 

Se o arquivo .txt estiver ausente crie um novo com o conteúdo abaixo:

RewriteEngine On

# Announcements
RewriteRule ^announcements/([0-9]+)/[a-z0-9_-]+\.html$ ./announcements.php?id=$1 [L,NC]
RewriteRule ^announcements$ ./announcements.php [L,NC]

# Downloads
RewriteRule ^downloads/([0-9]+)/([^/]*)$ ./downloads.php?action=displaycat&catid=$1 [L,NC]
RewriteRule ^downloads$ ./downloads.php [L,NC]

# Knowledgebase
RewriteRule ^knowledgebase/([0-9]+)/[a-z0-9_-]+\.html$ ./knowledgebase.php?action=displayarticle&id=$1 [L,NC]
RewriteRule ^knowledgebase/([0-9]+)/([^/]*)$ ./knowledgebase.php?action=displaycat&catid=$1 [L,NC]
RewriteRule ^knowledgebase$ ./knowledgebase.php [L,NC]
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Do you agree with our terms?