Find Jobs
Hire Freelancers

Wordpress Advanced Redirect with htaccess

$10-30 USD

En curso
Publicado hace más de 10 años

$10-30 USD

Pagado a la entrega
A previous programmer helped me with this, but all URLs are reading as 404 even though I can see them in the browser. I THINK the solution for the rewriting of the URLS must be exclusively in the htaccess file. Example using this URL: [login to view URL] If you use Firebug, you'll see that this page give the error: "NetworkError: 404 Not Found - [login to view URL]" I believe this is do to the rewriting taking place inside the function file rather than in the htaccess file. The function reads like this: function my_page_template_redirect() { //is_page('') if(is_404()){ $p = preg_match('/\/clinical-trials\/(.*)-t-(.*)$/',$_SERVER['REQUEST_URI'],$matches); /*echo '123456'; print_r($p); print_r($matches);*/ if($p!== false && isset($matches[2])){ $_GET['id'] = $matches[2]; echo file_get_contents(home_url().'/clinical-trials/study-detail/?id='.$matches[2]); exit; } } } add_action( 'template_redirect', 'my_page_template_redirect' ); I've attached the [login to view URL] page which is the template used when going to /clinical-trials/study-detail/ Please help me clear the 404 error, because search engines aren't picking up my pages. THANK YOU!!!
ID del proyecto: 5273174

Información sobre el proyecto

6 propuestas
Proyecto remoto
Activo hace 10 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
6 freelancers están ofertando un promedio de $27 USD por este trabajo
Avatar del usuario
Dear Hiring Manager, Greetings I have gone through your project requirements and we have highly skilled and qualified team who own all the right credentials to execute this job in a very proficient manner as per your exact requirement. I am sincerely interested to discuss this Project with you, however to move forward I request you to please initiate to discussion so that I can reach you efficiently and can discuss the Project in more detailed manner. As I am having some doubts which I want to discuss with you .
$33 USD en 3 días
4,8 (32 comentarios)
5,7
5,7
Avatar del usuario
am an experienced CMS Developer and would like to be considered for your next job or project. I have been working as a Website developer for most of my career spanning many years and have worked for employers around the world. I have also worked as a CSS Programmer and a Graphic Design Designer. I also have experience and skills working with HTML and Joomla,Wordpress. If given a chance to work as an employee in your project I will produce positive results.
$25 USD en 3 días
5,0 (3 comentarios)
0,9
0,9
Avatar del usuario
Hello, I am a PHP developer with 10 years of experience. I have all required expertize for your project. I can do this project and assure you with quality results and on-time delivery. Before giving any firm quotation, I have few queries which I would like to discuss with you in detail. Let me know your availability for the same. Looking forward for your reply and hoping to have a long-term working relations with you. thank-you
$25 USD en 2 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED ARAB EMIRATES
Dubai, United Arab Emirates
5,0
89
Miembro desde dic 16, 2009

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.