• Hi,

    I’m using a custom URL permalink that worked fine yesterday and today does not work. The same pages generate a 404 error message, pulling the 404 template. I’d appreciate any ideas.

    First, I have a single.php template file and it works fine when I use one of the default WP permalink structures.

    Second, the permalink structure that worked yesterday but not today is:

    /content/%year%/%monthnum%/%day%/%hour%.%minute%.%second

    These match current links to 1600+ posts and I’m trying to avoid having to manage htaccess redirects when I migrate from Moveable Type to WP.

    Third, the htaccess output, regardless of what permalink structure I use is:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /dev/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /dev/index.php [L]
    </IfModule>
    # END WordPress

    Fourth, the htaccess file is CHMOD 777 and WP doesn’t choke when I update the permalinks.

    Any ideas what to look at to resolve this problem? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter fredhead

    (@fredhead)

    If it matters to someone searching, I believe the problem is the use of the text string ‘content’ in my permalinks. WordPress works fine if I remove that first non-variable portion of my permalinks. Even though it displayed fine yesterday.

    I’ve tried every fix mentioned in this forum, to no avail, that would allow me to put my own text (rather than a variable) in my permalinks. When I did a dif between the internal WP rewrite rules, using the AskApache plugin, between permalinks that worked and failed, the text string ‘content’ was the only difference.

    If anyone knows WordPress well enough to suggest how to fix this, I’d appreciate your ideas. I find it hard to believe inserting a text string would cause a problem. For example, the internal WP rewrite rules use text strings like ‘tag’ with no problem.

    I ran into a problem similar although my custom permalink structure was this:

    /%category%/%postname%/

    Everything worked fine except when you went into the article itself it would give a 404.

    Solution I found:

    Deactivated all plugins and then one by one reactivated and tested to weed a possible cause.

    “Search Everything” version 4.7.8 was the cause in my case.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘404 and Permalinks’ is closed to new replies.