奇妙な問題があります。昨日まですべてが正常に機能していて、突然この問題に気づきました。
webisteはここにあります:http: //www.famtripsandinspectionvisits.com/all_trips
上記のページにアクセスして「india-kerala」リンクをクリックすると、次のページに移動します。
http://www.famtripsandinspectionvisits.com/trips/old_trips/india_kerala
ただし、ブラウザは次のページにリダイレクトします。http: //www.famtripsandinspectionvisits.com/all_trips/old_trips/india_kerala?/trips/old_trips/india_kerala これは、次の部分が追加されたことを示しています。all_trips / old_trips / india_kerala?
.htaaccessを確認し、デフォルトにリセットしましたが、それでも影響はありません。cofnig.phpでベースURLを確認しましたが、すべて以前と同じです。誰かが助けてくれるなら、私は感謝します。
私の.htaccessファイル
# Use PHP5 Single php.ini as default
AddHandler application/x-httpd-php5s .php
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
Redirect 301 /invest.php http://www.famtripsandinspectionvisits.com/investment_opportunity
Redirect 301 /buyers.php http://www.famtripsandinspectionvisits.com/buyers
Redirect 301 /trips.php http://www.famtripsandinspectionvisits.com/all_trips
Redirect 301 /sellers.php http://www.famtripsandinspectionvisits.com/sellers
Redirect 301 /contact.php http://www.famtripsandinspectionvisits.com/contact_us
Redirect 301 /about.php http://www.famtripsandinspectionvisits.com/about_us
Redirect 301 /login.php http://www.famtripsandinspectionvisits.com/login
Redirect 301 /trip-kerala.php http://www.famtripsandinspectionvisits.com/trips/old_trips/india_kerala
Redirect 301 /trip-burundi.php http://www.famtripsandinspectionvisits.com/trips/up_coming_trips/burundi_africa
Redirect 301 /register.php http://www.famtripsandinspectionvisits.com/register
Redirect 301 /trips http://www.famtripsandinspectionvisits.com/all_trips
私のroutes.php
$route['default_controller'] = "site";
$route['404_override'] = '';
$route['fam_admin'] = "fam_admin/login";
/* End of file routes.php */
/* Location: ./application/config/routes.php */
敬具