Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

149
Vistas
Remove GET parameters from the URL that are first encoded using base64 and then urlencoded in .htaccess file

I am completely new to .htaccess and tried to implement some examples from youtube and google but nothing really worked. I have a URL like

https://anything.org/XYZ/dashboard?personid=MjAwNDAwMjU0&role=Mw%3D%3D**

and I want something like

https://anything.org/XYZ/dashboard/personid/MjAwNDAwMjU0/role/Mw%3D%3D**

I tried a couple of solutions but did not work. Currently I am using this code to remove extension of the file

       <IfModule mod_rewrite.c>
         RewriteEngine On
        
    #this will skip rewrite rules for POST requests
        RewriteCond %{REQUEST_METHOD} POST
        RewriteRule ^ - [L]
        
        
        #used to remove .html extension from the file
        RewriteCond %{THE_REQUEST} /([^.]+)\.html [NC]
        RewriteRule ^ /%1 [NC,L,R]
        
        
    RewriteCond %{REQUEST_FILENAME}.html -f
    RewriteRule ^ %{REQUEST_URI}.html [NC,L]
    
    
    
    #used to remove .php extension from the file
    RewriteCond %{THE_REQUEST} /([^.]+)\.php [NC]
    RewriteRule ^ /%1 [NC,L,R]
  RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^ %{REQUEST_URI}.php [NC,L]


</IfModule>
    
over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda