Hello Everyone Below code I used in .htaccess to make all directories index. This code also makes my all pages as home page. # directory browsing Options All -Indexes Is there any code which only makes specific folders as indexes? Like I want to make wp-admin wp-include wp-content as indexes. Can anybody help me out?
This may work: Put the "Options -Indexes" in the root .htaccess. Then create a separate .htaccess in wp-admin/wp-include and put "Options +Indexes" in it. All indexing should be off except for those specified directories.
You can get a lot of help in the official wordpress forum. There's plenty of wordpress codex over there.