Title: Remove &quot;wordpress&quot; from permalink?
Last modified: August 20, 2016

---

# Remove "wordpress" from permalink?

 *  [DavisDaddy](https://wordpress.org/support/users/davisdaddy/)
 * (@davisdaddy)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/remove-wordpress-from-permalink/)
 * Greetings. I’ve got WordPress 3.4.1 installed on an Ubuntu 12.04 system. The
   
   Apache document root for this system is:
 *  /var/www
 * and I’ve got my WordPress installation in:
 *  /var/www/wordpress
 * I used the Dashboard to modify the permalink structure and got the following
   .
   htaccess file:
 *  # 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] </IfModule>
 *  # END WordPress
 * This does give me nicer permalinks, but the URL’s have “wordpress” embedded in
   
   them, as:
 *  [http://my.domain/wordpress/nice-page-name/](http://my.domain/wordpress/nice-page-name/)
 * I’d like to remove the “wordpress” string, as:
 *  [http://my.domain/nice-page-name/](http://my.domain/nice-page-name/)
 * One way to do that would (probably) be just to dump all my WordPress stuff
    into
   the web server’s top level:
 *  /var/www/
 * and there’s no reason I couldn’t do that in this particular case, as I have no
   
   plans to have anything but WP running on this site. But it seems ugly.
 * I thought it might be possible to achieve the same effect by tweaking the
    .htaccess
   file. I tried just omitting “wordpress” in the file, as:
 *  # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule
   ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /index.php [L] </IfModule>
 *  # END WordPress
 * but all that got me was “page not found”.
 * Is there some way to do this, other than moving my WP stuff up one level in
    
   the directory tree?
 * Thanks.
 * — Mike

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [David Choi](https://wordpress.org/support/users/wpthemes777/)
 * (@wpthemes777)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/remove-wordpress-from-permalink/#post-2976452)
 * You don’t have to mess with .htaccess (you can delete it for now, and let WordPress
   create it automatically from the Permalinks settings).
 * You have to create a virtual host account for Apache web server:
 * [http://httpd.apache.org/docs/2.2/vhosts/examples.html](http://httpd.apache.org/docs/2.2/vhosts/examples.html)
 *  Thread Starter [DavisDaddy](https://wordpress.org/support/users/davisdaddy/)
 * (@davisdaddy)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/remove-wordpress-from-permalink/#post-2976561)
 * Thanks. That’s the information I was looking for.
 * — Mike
 *  [David Choi](https://wordpress.org/support/users/wpthemes777/)
 * (@wpthemes777)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/remove-wordpress-from-permalink/#post-2976592)
 * You are welcome! Glad that was what you were looking for, have a nice day!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Remove "wordpress" from permalink?’ is closed to new replies.

## Tags

 * [permalink](https://wordpress.org/support/topic-tag/permalink/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [David Choi](https://wordpress.org/support/users/wpthemes777/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/remove-wordpress-from-permalink/#post-2976592)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
