WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

here is my wp .htaccess

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]

# END WordPress

now I want combine the below rules into my wp .htaccess. new is a new page which I created in the wp admin panel and set the hyperlink make the URL looks like http://localhost/wordpress/new

# Don't show directory listings for URLs which map to a directory.
##Options All -Indexes

# Follow symbolic links in this directory.
##Options +FollowSymLinks

# Customized error messages.
ErrorDocument 404 /new

# Various rewrite rules.
<IfModule mod_rewrite.c>
  RewriteEngine on

  # Rewrite current-style URLs of the form 'new?url=x'.
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ new?url=$1 [L,QSA]

I have easily add # Rewrite current-style URLs of the form 'new?url=x'. and RewriteRule ^(.*)$ new?url=$1 [L,QSA] in wp .htaccess, not work, even bronken all the links in wordpress. So how to do in right way?

share|improve this question

closed as off topic by toscho Jul 5 '12 at 21:10

Questions on WordPress Development Stack Exchange are expected to relate to WordPress within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.