Title: 404 / permalink problems
Last modified: December 7, 2018

---

# 404 / permalink problems

 *  Resolved [mrqwak](https://wordpress.org/support/users/mrqwak/)
 * (@mrqwak)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/404-permalink-problems/)
 * Hello!
 * Hope someone can help or suggest something with the following problem…
 * I’m running a wordpress site on my local machine (a Mac); and everything works
   fine, until I change the permalink setup.
 * I suspect there’s something not setup quite right on my Mac, rather than it being
   a problem with wordpress, any plugin of theme.
 * All my pages work fine when I use either the plain permalink option, or the custom
   option, with the following setting: /index.php/%year%/%monthnum%/%day%/%postname%/
 * From what I can find online; I first thought there maybe an issue with the .htaccess
   file. I checked apache httd.conf file, and it looks like AllowOverride is set
   to All.
 * My .htaccess as follows:
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /wp/test/
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /wp/test/index.php [L]
       </IfModule>
   
       # END WordPress
       ```
   
 * Any suggestions?
 * Also, just to rule anything out, I uninstalled all plugins, and it’s just using
   the default, I think 2019 theme.
    -  This topic was modified 7 years, 5 months ago by [mrqwak](https://wordpress.org/support/users/mrqwak/).

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/404-permalink-problems/#post-10959994)
 * > All my pages work fine when I use either the plain permalink option…
 * If that works, then try reading [Using_Permalinks ](http://codex.wordpress.org/Using_Permalinks)
   before setting a custom permalink structure again.
 *  Thread Starter [mrqwak](https://wordpress.org/support/users/mrqwak/)
 * (@mrqwak)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/404-permalink-problems/#post-10960270)
 * Thank you t-p, that’s something to go on.
 * No idea why the PATHINFO/”Almost Pretty”/index.php/ variety of permalink was 
   selected. Pretty sure I didn’t originally set that, and I definintely didn’t 
   enter the string for “/index.php/%year%/%monthnum%/%day%/%postname%/”.
 * Anyhow, after reading through your link; my best guess is that apache isn’t setup
   correctly, and .htaccess is being ignored (looks like WP can create/write .htacess,
   so presumably permissions are not an issue.
 * So, just 2 questions:
 * 1. After I’ve edited /etc/apache2/httpd.conf and /etc/apache2/user/<me>.conf;
   I just need to restart apache? Or do I also need to do something to wordpress,
   for example, set the permalink option again?
 * 2. Other than modifying http.conf etc, is there any other way to tell if apache
   is setup correctly?
 * Many thanks for your help. 🙂
 *  Thread Starter [mrqwak](https://wordpress.org/support/users/mrqwak/)
 * (@mrqwak)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/404-permalink-problems/#post-10960349)
 * UPDATE:
 * I’ve checked/edited the apache .conf files; and as far as I can see, they’re 
   all okay.
 * AllowOverride All
    and Options FollowSymLinks
 * A bit lost.
 *  Thread Starter [mrqwak](https://wordpress.org/support/users/mrqwak/)
 * (@mrqwak)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/404-permalink-problems/#post-10960411)
 * Infact, looks like it’s defaulting to almost-pretty permalinks, for example:
 * [http://192.168.1.200/wp/test_parabola/index.php/2018/12/07/hello-world/](http://192.168.1.200/wp/test_parabola/index.php/2018/12/07/hello-world/)
 * Is that the default setting for WP?
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/404-permalink-problems/#post-10960500)
 * That example shows one of the structure of pretty permalinks.
 * You can see all structures of permalinks in your dashboard
 * settings -> permalinks
 *  Thread Starter [mrqwak](https://wordpress.org/support/users/mrqwak/)
 * (@mrqwak)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/404-permalink-problems/#post-10962331)
 * Okay, this is now resloved.
 * Turns out, the line in the apache config file, responsible for including the 
   mod rewrite module, was commented out. Doh!
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/404-permalink-problems/#post-10962727)
 * Glad to know it 🙂

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

The topic ‘404 / permalink problems’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/404-permalink-problems/#post-10962727)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
