WordPress default .htaccess

Few days ago i decided to optimize my .htaccess file, and missed some lines so i decide to take it back the way that it was but i missed the deafault .htaccess file.after few minutes searching in google i found deafult wordpress htaccess file but in hard way.

so what is .htaccess?

htaccess file is a ascii text file which you creat in text editor.htaccess file can give you extra control of your server.you can protect folders with password,redirect users automaticly,create custom error pages,  banning users with certian IP addresses,changing your file extensions, and many more other things.

so if u lose your wordpress .htaccess file and looking for that here is,

default wordpress .htaccess file

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

About admin

Sevan Toros is Founder and chief-editor of equicktips.com(Premium Wordpress Themes & Plugins).

  • http://zaryl.com zaryl

    my default .htaccess version is much simpler.
    could I just update it with this version?

    sorry for my bad english.

  • http://www.sebuahtips.info/ Sebuah Tips

    me use wp 3.0.1 and its work! Thanks

  • Sndy

    I tried all possible options but nothing works. I have my WP installed in a subdomain. With a subdomain, is it different way of configuring htaccess?

    Any help – much appreciated

  • http://techfreakblog.com Sandeep Singh

    Thanks for the post ! this works

  • Dmitry

    Hi there,
    I didn’t use my old wordpress site for a long time. When I visited it in a year the browser showed me HTTP Error 500 Internal server. I’ve checked my .htaccess file and deleted all the options it had, than pasted default strings like there but it doesn’t still work :(

  • Dmitry

    Also I would like to know what format .htaccess must be? UTF-8, UTF-8 without BOM or ANSI ? check this out http://online.1sthost.org/ Internet Explorer shows HTTP Error 500. Other browsers (Firefox, Safari, Opera) show nothing (simply blank page). Help me guys

  • http://buildingenclosurecommissioning.com/ Lowestofthekeys

    You sir are my savior. That’s the last time I try to do 301 redirects by manually editing my htacess file :(