Diagnóstico

🔍 DIAGNÓSTICO DO PROBLEMA


1️⃣ Configuração de Permalinks

Estrutura atual: /%postname%/
Rewrite rules ativas: SIM

2️⃣ Página "Candidatura" existe?

✅ Página encontrada!
ID: 608
Status: publish
Template: templates/template-consulta-candidato.php
URL: https://hbrh.com.br/candidatura/
URL sem barra: https://hbrh.com.br/candidatura

3️⃣ Template existe no servidor?

Caminho esperado:
/home/u804383632/domains/hbrh.com.br/public_html/wp-content/themes/unicon-child/templates/template-consulta-candidato.php

Arquivo existe? ✅ SIM
Tamanho: 8979 bytes
Permissões: 0644

4️⃣ Testar URLs

URL 1 (get_permalink): https://hbrh.com.br/candidatura/
URL 2 (sem barra): https://hbrh.com.br/candidatura
URL 3 (com ?vaga=2011): https://hbrh.com.br/candidatura?vaga=2011
URL 4 (com barra + ?vaga): https://hbrh.com.br/candidatura/?vaga=2011

5️⃣ Estrutura de Rewrite Rules

Using Permalinks: SIM
Using Index Permalinks: NÃO

Regras de rewrite (primeiras 20):
  ^wp-json/?$ => index.php?rest_route=/
  ^wp-json/(.*)? => index.php?rest_route=/$matches[1]
  ^index.php/wp-json/?$ => index.php?rest_route=/
  ^index.php/wp-json/(.*)? => index.php?rest_route=/$matches[1]
  ^wp-sitemap\.xml$ => index.php?sitemap=index
  ^wp-sitemap\.xsl$ => index.php?sitemap-stylesheet=sitemap
  ^wp-sitemap-index\.xsl$ => index.php?sitemap-stylesheet=index
  ^wp-sitemap-([a-z]+?)-([a-z\d_-]+?)-(\d+?)\.xml$ => index.php?sitemap=$matches[1]&sitemap-subtype=$matches[2]&paged=$matches[3]
  ^wp-sitemap-([a-z]+?)-(\d+?)\.xml$ => index.php?sitemap=$matches[1]&paged=$matches[2]
  category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$ => index.php?category_name=$matches[1]&feed=$matches[2]
  category/(.+?)/(feed|rdf|rss|rss2|atom)/?$ => index.php?category_name=$matches[1]&feed=$matches[2]
  category/(.+?)/embed/?$ => index.php?category_name=$matches[1]&embed=true
  category/(.+?)/page/?([0-9]{1,})/?$ => index.php?category_name=$matches[1]&paged=$matches[2]
  category/(.+?)/?$ => index.php?category_name=$matches[1]
  tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ => index.php?tag=$matches[1]&feed=$matches[2]
  tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ => index.php?tag=$matches[1]&feed=$matches[2]
  tag/([^/]+)/embed/?$ => index.php?tag=$matches[1]&embed=true
  tag/([^/]+)/page/?([0-9]{1,})/?$ => index.php?tag=$matches[1]&paged=$matches[2]
  tag/([^/]+)/?$ => index.php?tag=$matches[1]
  type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ => index.php?post_format=$matches[1]&feed=$matches[2]

6️⃣ Query Vars Permitidas

Query vars públicas registradas:
Array
(
    [0] => m
    [1] => p
    [2] => posts
    [3] => w
    [4] => cat
    [5] => withcomments
    [6] => withoutcomments
    [7] => s
    [8] => search
    [9] => exact
    [10] => sentence
    [11] => calendar
    [12] => page
    [13] => paged
    [14] => more
    [15] => tb
    [16] => pb
    [17] => author
    [18] => order
    [19] => orderby
    [20] => year
    [21] => monthnum
    [22] => day
    [23] => hour
    [24] => minute
    [25] => second
    [26] => name
    [27] => category_name
    [28] => tag
    [29] => feed
    [30] => author_name
    [31] => pagename
    [32] => page_id
    [33] => error
    [34] => attachment
    [35] => attachment_id
    [36] => subpost
    [37] => subpost_id
    [38] => preview
    [39] => robots
    [40] => favicon
    [41] => taxonomy
    [42] => term
    [43] => cpage
    [44] => post_type
    [45] => embed
    [46] => post_format
    [47] => candidatos
    [48] => vagas
    [49] => areas
    [50] => area-vaga
    [51] => tipo-vaga
    [52] => turno-vaga
    [53] => status-candidato
    [54] => rest_route
    [55] => sitemap
    [56] => sitemap-subtype
    [57] => sitemap-stylesheet
    [58] => vaga
    [59] => candidato
    [60] => vaga
)

🎯 AÇÃO RECOMENDADA:

Se a página existe mas template não foi encontrado:

  1. Verificar se arquivos .php foram enviados via FTP
  2. Verificar permissões dos arquivos (644)
  3. Reenviar templates se necessário

Se página não existe:

  1. Criar página manualmente ou via snippet
  2. Importar XML com as páginas

Se rewrite rules não estão ativas:

  1. Settings → Permalinks → Save Changes
  2. Verificar arquivo .htaccess tem permissão escrita

🧪 TESTAR AGORA:

Testar /candidatura/

Testar /candidatura?vaga=2011