Title: .htaccess questions
Last modified: August 18, 2016

---

# .htaccess questions

 *  [brucex](https://wordpress.org/support/users/brucex/)
 * (@brucex)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/htaccess-questions/)
 * Hello. I’m an oldie newbie and Just installed wp. So far so good. when I write
   a page and then click on the link it just goes to the main Apache index of wordpress
   listing all the folders and files. I notice there is no .htaccess file in the
   root directory which is [http://localhost/wordpress/](http://localhost/wordpress/)
   How do I generate one or manually create one? I think there may be a directory
   structure fault somewhere? how do I change the chmod for the .htaccess file when
   created? (Oh Dear)
    Bruce

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

 *  Thread Starter [brucex](https://wordpress.org/support/users/brucex/)
 * (@brucex)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/htaccess-questions/#post-277672)
 *  [Kate](https://wordpress.org/support/users/katie1/)
 * (@katie1)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/htaccess-questions/#post-277738)
 * question one: how to create a .htaccess file
 * answer. [wordpress.org/support/topic/8483](http://wordpress.org/support/topic/8483)
   as well as… [wordpress.org/support/topic/10747](http://wordpress.org/support/topic/10747).
   Everything you need to know is there, until someone else provides a more update
   answer…
 * question two: how to change the chmod for .htaccess?
 * answer. You’ll need a FTP program to change ANY file re-write abilities. I use
   [Smart FTP](http://www.smartftp.com/) it’s free otherwise, Codex lists a group
   of them at: [codex.wordpress.org/WordPress_Backups](http://codex.wordpress.org/WordPress_Backups)
 * If you have a FTP program running, just highlight the selected file you want 
   to change, right click and a drop down list is generated. In that drop down list
   is properties/CHMOD. Click. Then you are offered variables for re-write rules.
   If you read the support links above, there is information on the different permissions
   you can use.
 * Hope this helps.
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/htaccess-questions/#post-277739)
 * Bruce, you’re running this on a locally installed server, right? Apache…. on 
   windows xp? on Mac OSX? on linux?
 * Right now, I have XAMPP from apachefriends.org installed locally. I have mod_rewrite
   module activated through httpd.conf. In my root wp folders I have .htaccess, 
   with the same stuff in the file that’s in the “matching” online install.
 * If you’re on windows, you don’t chmod. If you’re on Mac, I haven’t a clue (others
   here will know). If you’re on linux, I’m not sure how you’d chmod locally, because
   even though I’ve a linux drive as well, I haven’t got round to setting this sort
   of stuff up on it yet.
 *  Thread Starter [brucex](https://wordpress.org/support/users/brucex/)
 * (@brucex)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/htaccess-questions/#post-277759)
 * Thanks Katie1 and vkaryl I’ve just got up and sitting here in dressing gown. 
   Ok vkaryl I’m on Apache 2 on windows fat32 so all I need to do is find my httd.
   config and activate the mod_rewrite module (which comes with Apache?) I don’t
   have .htaccess anywhere (Isearched the whole disc) So I create that as per instructions
   from the link given by Katie1 and put that in the root wp folder without having
   to chmod it? yes
    Thanks Bruce
 *  Thread Starter [brucex](https://wordpress.org/support/users/brucex/)
 * (@brucex)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/htaccess-questions/#post-277774)
 * OK now I’ve got the .htaccess file and can edit it in the files editor. what 
   do I edit? 2: when I click on the page, say-try again- it just goes to an error
   saying requested URL /wordpress/try-again/ was not found on this server. whats
   going wrong here then? please someone help. I’ve got the wp folder in htdocs 
   of apache and whenever I access wordpress/index.php thats ok but somehow I keep
   getting the main index of wordpress folders and files and have to access the 
   the relevant index.php from there.

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

The topic ‘.htaccess questions’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [brucex](https://wordpress.org/support/users/brucex/)
 * Last activity: [20 years, 6 months ago](https://wordpress.org/support/topic/htaccess-questions/#post-277774)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
