Create .htaccess file to clean URL's
$30-250 USD
Paid on delivery
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]
Project ID: #342605