Title: Problem with Permalinks
Last modified: August 31, 2016

---

# Problem with Permalinks

 *  [danyru](https://wordpress.org/support/users/danyru/)
 * (@danyru)
 * [10 years ago](https://wordpress.org/support/topic/problem-with-permalinks-44/)
 * Hi,
 * Right now I’m really stuck. I’ve successfully installed locally wordpress and
   a theme from themeforest and I’ve added some new pages and portfolios. Website
   is almost completed except, I just can’t get the permalinks to work. I’ve saved
   to default then resaved back to postname but it won’t work…
 * My set up is Mac OSX Yosemite 10.10.5 with MAMP 3.4
 * I read somewhere in the forum that it is necessary to modify the .htaccess file,
   but I can’t find it nowhere O.o I know it may sound extremely stupid, but I am
   new at this and I am going crazy….
 * Any help would be very much appreciated.
    Thanks, Dany

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

 *  [Josh Robbs](https://wordpress.org/support/users/jwrobbs/)
 * (@jwrobbs)
 * [10 years ago](https://wordpress.org/support/topic/problem-with-permalinks-44/#post-7361412)
 * The .htaccess file will be in the root folder of your website. It is hidden by
   default.
 * [http://www.macworld.co.uk/how-to/mac-software/how-show-hidden-files-in-mac-os-x-finder-funter-3520878/](http://www.macworld.co.uk/how-to/mac-software/how-show-hidden-files-in-mac-os-x-finder-funter-3520878/)
 *  [jackjohn52](https://wordpress.org/support/users/jackjohn52/)
 * (@jackjohn52)
 * [10 years ago](https://wordpress.org/support/topic/problem-with-permalinks-44/#post-7361426)
 * Do you have any plugins installed? tried disabling them? .htacess is hidden so
   make sure you have activated “show hidden folders icon” on your machine.
 *  Thread Starter [danyru](https://wordpress.org/support/users/danyru/)
 * (@danyru)
 * [10 years ago](https://wordpress.org/support/topic/problem-with-permalinks-44/#post-7361430)
 * Hi! Thanks for your answers 🙂
    I tried to disable and re-activate the plugins,
   but with unsuccessfully. Nothing has changed… I’ve found the .htaccess thanks
   to Josh’s link. The content is:
 * # 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
 * which is similar to what expected according to the WP documentation that I found
   here: [https://codex.wordpress.org/Using_Permalinks](https://codex.wordpress.org/Using_Permalinks)
   
   I suppose the difference between the expected file and mine, depend on the fact
   that I have this path: MAMP\htdocs\wordpress
 * # 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
 * Any idea?
    Thanks again for your help… Dany
 * _[ [No bumping please](http://codex.wordpress.org/Forum_Welcome#No_Bumping). ]_
 *  [Josh Robbs](https://wordpress.org/support/users/jwrobbs/)
 * (@jwrobbs)
 * [10 years ago](https://wordpress.org/support/topic/problem-with-permalinks-44/#post-7361525)
 * What is happening?
 * You can get to the home page but get 404 errors when you go to other pages?
 * Have you tried renaming it and letting WP recreate it?
 *  Thread Starter [danyru](https://wordpress.org/support/users/danyru/)
 * (@danyru)
 * [10 years ago](https://wordpress.org/support/topic/problem-with-permalinks-44/#post-7361530)
 * yes, I can get to the home page but get 404 errors when I go to other pages except
   portfolio items, that are visible. I get 404 errors even clicking on preview 
   button from backend.
 * And yes, I tried to rename the page, duplicate the page and add a new page, but
   I always get 404 error page.
 * Until now, I have checked the htaccess file and it seems ok to me.
    I have also
   changed “AllowOverride None” to “AllowOverride All” in httppd.conf, but nothing
   changed. I have checked if the line “LoadModule rewrite_module modules/mod_rewrite.
   so” was ok and I suppose it is, and then tried to uncomment all of the required
   lines but honestly I didn’t really know what I was doing. So I abandoned this
   idea and now I was thinking of uninstalling wordpress and mamp and try to do 
   a fresh installation…I cannot understand where I am going wrong. ::shock::
 *  Thread Starter [danyru](https://wordpress.org/support/users/danyru/)
 * (@danyru)
 * [10 years ago](https://wordpress.org/support/topic/problem-with-permalinks-44/#post-7361599)
 * Hi,
 * I have somehow solved the problem! 🙂
    Here are my actions: I changed “AllowOverride
   None” to “AllowOverride All” in httpd.conf I have renamed the file “envars” in“
   _envars” I deactivated all the plugins. At this point the pages were visible,
   so I have re-activated all the plugins one by one and now it works 🙂 and canceled
   the useless plugins.
 * Thank you all for your support!
    Dany
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [10 years ago](https://wordpress.org/support/topic/problem-with-permalinks-44/#post-7361600)
 * > I changed “AllowOverride None” to “AllowOverride All” in httpd.conf
 * That will fix it almost every time. 😉
 *  [zoooj4real](https://wordpress.org/support/users/zoooj4real/)
 * (@zoooj4real)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/problem-with-permalinks-44/#post-7361670)
 * Just spent quite a while trying to sort this out but didn’t do the basics and
   check whether LoadModule rewrite_module modules/mod_rewrite.so was enabled.
 * Looks like it’s disabled by default in Max OS X Yosemite in /etc/apache2/httpd.
   conf so definitely worth checking this first! The other change needed was AllowOverride
   All in the Document <Directory> section.
 * Hope this helps.

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

The topic ‘Problem with Permalinks’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 5 participants
 * Last reply from: [zoooj4real](https://wordpress.org/support/users/zoooj4real/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/problem-with-permalinks-44/#post-7361670)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
