Jump to content

Remoção de extensão de arquivos URL whmcs


Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Olá pessoal vocês sabem se é possível e como remover extensão de arquivos nas urls do whmcs? Além disso, é também possível e como (uma direção) modificar o nome das urls? Ex: https://areadoc

Faça assim no seu .htacess e depois ative na administração do whmcs

<IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteRule ^areadocliente/?$ /clientarea.php [NC,L]
    RewriteRule ^revenda-de-hospedagem/?$ /reseller-hosting.php [NC,L]
    RewriteRule ^hospedagem-de-sites/?$ /website-hosting.php [NC,L]
    RewriteRule ^hospedagem-wordpress/?$ /website-hosting-wordpress.php [NC,L]
    RewriteRule ^hospedagem-de-sites-wordpress/?$ /website-hosting.php [NC,L]
    RewriteRule ^servidores-vps/?$ /virtual-private-servers.php [NC,L]
    RewriteRule ^porque-nos-escolher/?$ /about-us.php [NC,L]
    RewriteRule ^sobre-nos/?$ /about-us.php [NC,L]
    RewriteRule ^suas-duvidas/?$ /faqs.php [NC,L]
    RewriteRule ^nossas-promocoes/?$ /promotions.php [NC,L]
    RewriteRule ^licenca-e-sevircos-whmcs/?$ /service-price-list.php [NC,L]
    RewriteRule ^certificados-ssl/?$ /ssl-certificates.php [NC,L]
    RewriteRule ^desenvolvimento-web/?$ /website-design.php [NC,L]
    RewriteRule ^registro-de-dominios/?$ /domain-names.php [NC,L]
    RewriteRule ^termos-de-servicos/?$ /terms-of-service.php [NC,L]
    RewriteRule ^politica-de-privacidade/?$ /privacy-policy.php [NC,L]
    RewriteRule ^sair/?$ /logout.php [NC,L]
    RewriteRule ^anuncios/?$ /announcements.php [NC,L]
    RewriteRule ^base-de-conhecimento/?$ /knowledgebase.php [NC,L]
    RewriteRule ^status-do-servidor/?$ /serverstatus.php [NC,L]
    RewriteRule ^afiliados/?$ /affiliates.php [NC,L]
    RewriteRule ^fale-conosco/?$ /contact.php [NC,L]
    RewriteRule ^registro/?$ /register.php [NC,L]
    RewriteRule ^recuperar-senha/?$ /pwreset.php [NC,L]
    RewriteRule ^areadocliente/meusprodutos/?$ /clientarea.php?action=products [NC,L]
    RewriteRule ^carrinho/?$ /cart.php [NC,L]
    RewriteRule ^vercarrinho/?$ /cart.php?a=view [NC,L]
    RewriteRule ^carrinho/adicionais/?$ /cart.php?gid=addons [NC,L]
    RewriteRule ^areadocliente/meusdominios/?$ /clientarea.php?action=domains [NC,L]
    RewriteRule ^carrinho/renovardominios/?$ /cart.php?gid=renewals [NC,L]
    RewriteRule ^carrinho/registrardominio/?$ /cart.php?a=add&domain=register [NC,L]
    RewriteRule ^carrinho/transferirdominios/?$ /cart.php?a=add&domain=transfer [NC,L]
    RewriteRule ^checardominio/?$ /domainchecker.php [NC,L]
    RewriteRule ^areadocliente/faturas/?$ /clientarea.php?action=invoices [NC,L]
    RewriteRule ^areadocliente/cotacoes/?$ /clientarea.php?action=quotes [NC,L]
    RewriteRule ^areadocliente/detalhes/?$ /clientarea.php?action=details [NC,L]
    RewriteRule ^areadocliente/contatos/?$ /clientarea.php?action=contacts [NC,L]
    RewriteRule ^areadocliente/emails/?$ /clientarea.php?action=emails [NC,L]
    RewriteRule ^areadocliente/alterarsenha/?$ /clientarea.php?action=changepw [NC,L]
    RewriteRule ^areadocliente/pagamentoemmassa/?$ /clientarea.php?action=masspay&all=true [NC,L]
    RewriteRule ^ticketsdesuporte/?$ /supporttickets.php [NC,L]
    RewriteRule ^downloads/?$ /downloads.php [NC,L]
    RewriteRule ^verticket/?$ /viewticket.php [NC,L]
    RewriteRule ^verfatura/?$ /viewinvoice.php [NC,L]
    RewriteRule ^enviarticket/?$ /submitticket.php [NC,L]
</IfModule>

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

Chat

Chat

    You don't have permission to chat.
    ×
    ×
    • Create New...