Create .htaccess file to clean URL's

已完成 已发布的 Nov 12, 2008 货到付款
已完成 货到付款

I need an htaccess file created. (I assume that's the best way on a shared server) Basically I need to clean my URL's for a page. Here's some example translations below. The key to the translation would be parameter "N_webcat_id=n". It should ignore the other parameters. Here's an example I found.

RewriteCond %{REQUEST_FILENAME} !^/$

RewriteCond %{REQUEST_FILENAME} !^/(files|misc|uploads)(/.*)?

RewriteCond %{REQUEST_FILENAME} !.(php|ico|png|jpg|gif|css|js|html?)(W.*)?

RewriteRule ^(.*)$ /[login to view URL]$1 [L,QSA]

Original URL, check the N_webcat_id=7

[login to view URL];N_menu_id=10

translate to

[login to view URL]

2nd example, check the N_webcat_id=10

[login to view URL];N_menu_id=52

translate to

[login to view URL]

3rd example, check the N_webcat_id=15

[login to view URL];N_news_id=17

translate to

[login to view URL]

Linux 系统管理 翻译

项目ID: #342605

关于项目

2个方案 远程项目 活跃的Nov 12, 2008

授予:

SourceBurner

Easy job. Please provide me with details over PMB. Regards

$30 USD 在0天内
(4条评论)
2.3

有2名威客正在参与此工作的竞标,均价$40/小时

mrajeshku

Ready to work

$50 USD 在2天内
(0条评论)
0.0