【发布时间】:2011-07-21 19:45:44
【问题描述】:
Google 正在创建损坏的链接,报告说: 2011 年 7 月 19 日
404(未找到)
我不确定是 htaces 文件还是 codeigniter 控制器搞砸了
在我们使用的 codeigniter 路由文件中:
$route['default_controller'] = "content_pages";
$route['scaffolding_trigger'] = "";
//include_once BASEPATH . "cache/routes.php";
//$routes['listings/permanent-therapy-jobs'] = "jobs/job_listings/3//";
$route['physical-occupational-speech/therapist-licensure-information.html'] = "content_pages/therapist_licensure_information";
$route['physical-occupational-speech/mission.html'] = "content_pages/mission";
$route['physical-occupational-speech/therapy-state-associations.html'] = "content_pages/therapy_state_associations";
$route['physical-occupational-speech/candidate-registration.html'] = "registration/candidate_registration";
$route['physical-occupational-speech/facility-registration.html'] = "registration/facility_registration";
$route['physical-occupational-speech/therapist-referral-program.html'] = "content_pages/therapist_referral_program";
$route['physical-occupational-speech/occupational-therapist-job-description.html'] = "content_pages/occupational_therapist_job_description";
$route['therapy-schools.html'] = "content_pages/schools";
$route['physical-occupational-speech/frequently-asked-questions-faq.html'] = "content_pages/frequently_asked_questions";
$route['physical-occupational-speech/([a-z-]+).html'] = "content_pages/$1";
$route['apply-job/([0-9]+).html'] = "jobs/apply/$1";
$route['openings/([0-9]+)/([0-9]+)/([0-9]+)/([a-z-]+)-jobs-in-([a-z-]+)/([a-z-]+)-therapy-jobs/([0-9]+).html'] = "jobs/job_details/$6";
//$route['listings/therapy-jobs'] = "jobs/job_listings///"; //All Jobs
$route['listings/therapy-jobs'] = "jobs/job_listings////0"; //All Jobs
$route['listings/therapy-jobs/([0-9]+)'] = "jobs/job_listings////$1"; //All Jobs
$route['([a-z]+)-therapy-schools-in-([a-zA-z-]+)'] = "content_pages/schools_state/$1/$2";
【问题讨论】:
-
我很困惑......谷歌在哪里适合这个?
-
谷歌网站管理员工具正在寻找这些链接
标签: php .htaccess codeigniter