redirect .htaccess from folder to domain with parameters -


i need redirect folder parameter new domain, example:

from

www.domain.it/en/page/2/products 

to

www.domain.com/page/2/products 

how it?

i tried not working pourpose:

rewritecond $1 !/$ rewritecond %{request_filename}/en/ -d rewriterule (.+) http://www.domain.com/$1/ [r=301,l] 

you can use following mod-alias based solution

redirect /en/ http://domain.com/ 

Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -