Find Jobs
Hire Freelancers

Wordpress Advanced Redirect with htaccess

$10-30 USD

Käynnissä
Julkaistu yli 10 vuotta sitten

$10-30 USD

Maksettu toimituksen yhteydessä
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!!!
Projektin tunnus (ID): 5273174

Tietoa projektista

6 ehdotukset
Etäprojekti
Aktiivinen 10 vuotta sitten

Haluatko ansaita rahaa?

Freelancerin tarjouskilpailun edut

Aseta budjettisi ja aikataulu
Saa maksu työstäsi
Kuvaile ehdotustasi
Rekisteröinti ja töihin tarjoaminen on ilmaista
6 freelancerit tarjoavat keskimäärin $27 USD tätä projektia
Käyttäjän avatar
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 3 päivässä
4,8 (32 arvostelua)
5,7
5,7
Käyttäjän avatar
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 3 päivässä
5,0 (3 arvostelua)
0,9
0,9
Käyttäjän avatar
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 2 päivässä
0,0 (0 arvostelua)
0,0
0,0

Tietoja asiakkaasta

Maan UNITED ARAB EMIRATES lippu
Dubai, United Arab Emirates
5,0
89
Liittynyt jouluk. 16, 2009

Asiakkaan vahvistus

Kiitos! Olemme lähettäneet sinulle sähköpostitse linkin, jolla voit lunastaa ilmaisen krediittisi.
Jotain meni pieleen lähetettäessä sähköpostiasi. Yritä uudelleen.
Rekisteröitynyttä käyttäjää Ilmoitettua työtä yhteensä
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ladataan esikatselua
Lupa myönnetty Geolocation.
Kirjautumisistuntosi on vanhentunut ja sinut on kirjattu ulos. Kirjaudu uudelleen sisään.