0
我想要的網址從.htaccess文件中沒有CodeIgniter的工作版本改爲2.1.1
http://www.mydomain.com/b2b/testarab
要
http://www.mydomain.com/b2b/index.php/business/show/testarab
我還設置
後重定向我的.htaccess文件是RewriteEngine on
php_value max_file_uploads 30
RewriteBase /b2b
RewriteCond %{REQUEST_URI} \s
RewriteRule ^(home.*|buyers.*|sellers.*|companies.*|mall.*|category.*|product_details.*|contact_now.*|join.*|login.*|myprofile.*|dashboard.*|buy_sell_items.*|trade.*|media.*|myadvertise.*|mycontacts.*|myemail.*|myhotel.*|mymedia.*|payment.*|tradeshows.*|tradeshow_details.*|search_tradeshows.*|business.*)$ index.php/$1 [NC,L,QSA]
RewriteRule ^([a-zA-Z0-9._-\s]+)$ index.php/business/show/$1 [NC,L,QSA]
在該文件中的第一重寫規則正在.. 第二個是不工作..
嗨艾哈邁德·薩米。 .. 感謝現在工作好我把PATH_NFO ..請告訴我,它會影響其他網頁..在此先感謝.. – Raja
它不應該影響任何網頁 –