Title: Using Permalinks without .htaccess
Last modified: August 20, 2016

---

# Using Permalinks without .htaccess

 *  Resolved [explorer1979](https://wordpress.org/support/users/explorer1979/)
 * (@explorer1979)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/using-permalinks-without-htaccess/)
 * Hi all,
 * I am own a server at home, it is Linux Base.
    And I do some research on Apache
   httpd, it KB said that using .htaccess file is not a good idea for heavy site
   on performance reason.
 * Now I am plan make my web site url as permalinks like most WordPress user there.
 * But I don’t want to make the .htaccess for the server. I hear that if you are
   the admin of the server, you can edit the httpd.conf or website.com.conf by <
   Directory> this way.
 * So I have some questions there not too clear and need help before I edit the 
   conf and make the httpd restart, worry something wrong will make the web site
   down.
 * Detail inform on my web site list below.
 * Root URL:
    [http://explorerhome.dyndns.org](http://explorerhome.dyndns.org) (
   This is a HTML static Home Page)
 * WordPress URL:
    [http://explorerhome.dyndns.org/blog](http://explorerhome.dyndns.org/blog)(
   This mean I install the WordPress on /blog , and it is WordPress root path)
 * Here are my website.conf file in the apache, it is named
    explorerhome.dyndns.
   org.conf
 * <VirtualHost *:80>
    ServerName explorerhome.dyndns.org DocumentRoot /www/website/
   public_html </VirtualHost>
 * Above is the URL Root that you see the [http://explorerhome.dyndns.org](http://explorerhome.dyndns.org)
   
   So the WordPress path actually is install on /www/website/public_html/blog
 * Then I am wonder, do I can add this to the ‘explorerhome.dyndns.org.conf’ this
   file to make it work like the .htaccess do?
 * <Directory “/www/website/public_html”>
    … <IfModule mod_rewrite.c> RewriteEngine
   On RewriteBase /blog/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /blog/index.php [L] </IfModule> </Directory>
 * or using this
    <Directory “/www/website/public_html/blog”> … <IfModule mod_rewrite.
   c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond%{
   REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> </Directory>
 * Which one is suit for my case?
 * Thank you very much and wish you have a nice day.

Viewing 1 replies (of 1 total)

 *  Thread Starter [explorer1979](https://wordpress.org/support/users/explorer1979/)
 * (@explorer1979)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/using-permalinks-without-htaccess/#post-2618417)
 * <Directory “/www/website/public_html”>
    <IfModule mod_rewrite.c> RewriteEngine
   On RewriteBase /blog/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /blog/index.php [L] </IfModule> </Directory>
 * I fix this by using above setting, post there for other who like me for reference.

Viewing 1 replies (of 1 total)

The topic ‘Using Permalinks without .htaccess’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [explorer1979](https://wordpress.org/support/users/explorer1979/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/using-permalinks-without-htaccess/#post-2618417)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
