Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

125
Views
Cambiar URL usando htaccess para seo

Estoy tratando de hacer SEO amigable, mi URL es https://example.com/blog/single.php?blog=BLOG_TITLE&id=27 , quiero que sea https://example.com/blog/single.php/ BLOG_TITLE .

Desde la identificación en la URL, estoy obteniendo detalles del blog usando ajax de la base de datos.

código que escribí para redirigir la página

 function blogSingle(heading, id ){ if(id){ location.href = "https://example.com/blog/single.php? blog="+heading.trim().replace(/\s+/g, '-')+"&id="+id+"" } }

Por favor, ayúdame a arreglar esto.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Si tiene un archivo .htaccess, supongo que está usando Apache.

Es posible que desee utilizar el módulo mod_rewrite para realizar la reescritura de URL.

Aquí hay un ejemplo de cómo hacerlo: https://www.digitalocean.com/community/tutorials/how-to-rewrite-urls-with-mod_rewrite-for-apache-on-ubuntu-16-04

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!