I've an problem where we're merging an internet site with Wordpress. The web site has a lot of news tales inside a "/news" directory that we have to keep. Whenever we add the Content management systems at say "/wordpress" we are able to set the bottom Hyperlink to the main from the directory then when we create a new publish within the category "news", the hyperlink for this is "/news/this-is-the-publish-title", except the actual location is "/wordpress/news/this-is-the-publish-title". So my problem is the fact that you want to keep all news tales in the "/news" URL, as well as in my mind we simply require the .htaccess to express "when the asked for URL does not appear in the /news directory, try /wordpress/news", not to mention if Wordpress does not find anything, it may 404. Hope this will make sense, thanks!

I do not completely understand the way the original news tales are held. But, if they're snapped up with PHP then you definitely should have the ability to redirect to /wordpress/news/post-title whether it does not exist.

However, when the news tales are static files you should check on their behalf with .htaccess and make certain the file is available around the server.

# Goes in the "news" directory
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /news

  # These make sure the file or directory doesn't exist
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d

  # Redirect to /wordpress/news/whatever-entered-goes-here
  RewriteRule ^(.*)$ /wordpress/news/$1 [L]

Reference: http://www.addedbytes.com/cheat-sheets/mod_rewrite-cheat-sheet/

Should you just use WordPress and static pre-existing sites and files (and never another Content management systems, alongside WordPress), you are able to most likely just stick to the directions on giving WordPress its own directory. All WordPress files visit wordpress/, just the index.php and .htaccess are replicated to the main directory. The conventional .htaccess from WordPress already has got the two RewriteCond rules that look for existing files, therefore if the request is perfect for news/happy-2010.html which file already is available, your server will just serve this and never start WordPress.