In Progress

538440 htaccess rewrite rule

I need to use .htacces to rewrite an url:

http://sd0008/test/[url removed, login to view]

Should become:

[url removed, login to view]

I myself had the following:

Options +FollowSymlinks

RewriteEngine on

RewriteCond %{HTTP_HOST} ![url removed, login to view]

RewriteRule ^ [url removed, login to view]%{REQUEST_URI} [L,R=301]

However, i don't want to have 'sd0008' hard coded.

Skills: Anything Goes, Article Rewriting, PHP

See more: Wewe, fa, rewrite rule, url rewrite rule, php rewriteengine, htaccess rewriteengine, htaccess 301, php htaccess rewriteengine, php url rewriting, rewriteengine, php htaccess, url rewrite 301, htaccess rule, php url rewrite htaccess, rewriterule htaccess, skorpija71, hard coded php, htaccess url rewrite php, hard coded url, url rewriting htaccess, php url rewrite, htaccess url rewrite, htaccess rewrite, htacces, rewritecond request_uri http

About the Employer:
( 8 reviews ) Vleuten, Netherlands

Project ID: #2284381