I am having serious trouble redirecting a URL in the following format:

oldsite.com/file name.htm to newsite.com/newfilename.htm

Apache server with mod\_rewrite etc enabeled - other 301s working fine (i.e. 301s redirecting urls without spaces)

I have tried numerous solutions and went through pretty much every answer on stackoverflow.

Any help is greatly appreciated - need to get this sorted out before I pull the last of my hair out!!

Thanks guys!

EDIT: This is the code I am using successfully to redirect all URLs that DO NOT have spaces.

```
Options +FollowSymlinks
RewriteEngine on
rewriterule ^somedirectory/solutions.htm(.*)$ http://www.newdomain.com/new-solutions/$1 [r=301,nc]

```