• Hi,

    First of all, thanks to Fubra for an amazing plugin – I was having huge issues with permalinks on a site that uses custom post types and has wordpress installed in it’s own folder instead of the root. Installing this plugin pretty much resolved all my problems instantly.

    I’ve just got one recurring issue though. Pages that don’t exist in the root directory don’t redirect to the 404.php but display the index template instead.

    To give you an example:

    A working URL is http://katakis-recordings.com/artists/wintermute

    where artists is the custom post type name and wintermute is the name of a custom post.

    http://katakis-recordings.com/artists/foobar

    redirects fine to the 404.php.

    However,

    http://katakis-recordings.com/foobar

    doesn’t redirect to the 404.php but stays at that address and displays the index.php template. I think the plugin may be seeing ‘foobar’ as a category or tag name and displaying

    http://katakis-recordings.com/foobar/index.php

    but I’m not exactly sure. Removing the trailing slash from the URL by editing the plugin doesn’t change the result.

    What’s interesting is that when the ‘foobar’ string starts with a number, the redirect to the 404.php works fine.

    http://katakis-recordings.com/27foobar

    goes to the 404.php.

    As I said, this site is actually a folder of another site, and the root domain ‘katakis-recordings.com’ points to this folder, so I’m not sure if this is part of the issue or not. Also, I should mention I’m using a static home page.

    I don’t actually use index.php on this site, because it’s customised for a specific purpose using custom post types and archive/category pages. So as a quick fix I’ve just copied the 404.php file and renamed it index.php. However as I intend to use this plugin on future sites it would be great to get some advice on how to resolve this issue.

    Cheers,

    Mel

    http://wordpress.org/extend/plugins/permalink-editor/

  • The topic ‘[Plugin: Permalink Editor] Pages not found in root displaying index.php instead of redirecting to 40’ is closed to new replies.