WordPress.org

Forums

[resolved] pretty permalinks dead after changing Reading options (3 posts)

  1. jeepindotcom
    Member
    Posted 7 years ago #

    I'm running 2.3.1. I was trying out some different settings today, and after changing the Front Page Displays option from 'Your latest posts' to 'A static page', and then back again, now all my 'pretty' permalinks are dead. The only way the site works is using the Default permalink option.

    I've clicked the Update Permalink structure button numerous times trying to reset everything back to the Custom setting of /%category%/%postname%/ but the pages just keep coming up blank (in IE7 I see a 404 error).

    The front page works fine, and shows the entries, and I can edit them just fine from the admin panel, they just don't come up when you click them.

    Even the category links are dead now unless I'm using the Default permalink option.

    I've tried changing themes and that has no effect on the problem.

    I installed the AskApache Rewrite Rules viewer plugin and this is what it's showing for hte WP internal rewrites, unfortunately I don't have a good grasp of the rewrite syntax yet... :(

    Any help or suggestions would be greatly appreciated.

    d/([0-9]+)-([0-9]+)/([^/?]+) == photos/main.php?g2_view=core.DownloadItem&g2_itemId=%1&g2_serialNumber=%2&g2_fileName=%3&g2_GALLERYSID=c47ef0f7af778ac4fc867c8ea926ce0a
    fotos/([^?]+) == index.php?page_id=17&g2_path=%1
    ([^?]+) == index.php?page_id=17&g2_controller=migrate.Redirect&g2_path=%1
    rewrites/? == index.php?showrewrites=1
    robots.txt$ == index.php?robots=1
    wp-atom.php$ == index.php?feed=atom
    wp-rdf.php$ == index.php?feed=rdf
    wp-rss.php$ == index.php?feed=rss
    wp-rss2.php$ == index.php?feed=rss2
    wp-feed.php$ == index.php?feed=feed
    wp-commentsrss2.php$ == index.php?feed=rss2&withcomments=1
    (fotos)/trackback/?$ == index.php?pagename=$1&tb=1
    (fotos)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?pagename=$1&feed=$2
    (fotos)/(feed|rdf|rss|rss2|atom)/?$ == index.php?pagename=$1&feed=$2
    (fotos)/page/?([0-9]{1,})/?$ == index.php?pagename=$1&paged=$2
    (fotos)(/[0-9]+)?/?$ == index.php?pagename=$1&page=$2
    fotos/attachment/([^/]+)/?$ == index.php?attachment=$1
    fotos/attachment/([^/]+)/trackback/?$ == index.php?attachment=$1&tb=1
    fotos/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?attachment=$1&feed=$2
    fotos/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ == index.php?attachment=$1&feed=$2
    (about)/trackback/?$ == index.php?pagename=$1&tb=1
    (about)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?pagename=$1&feed=$2
    (about)/(feed|rdf|rss|rss2|atom)/?$ == index.php?pagename=$1&feed=$2
    (about)/page/?([0-9]{1,})/?$ == index.php?pagename=$1&paged=$2
    (about)(/[0-9]+)?/?$ == index.php?pagename=$1&page=$2
    about/attachment/([^/]+)/?$ == index.php?attachment=$1
    about/attachment/([^/]+)/trackback/?$ == index.php?attachment=$1&tb=1
    about/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?attachment=$1&feed=$2
    about/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ == index.php?attachment=$1&feed=$2
    feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?&feed=$1
    (feed|rdf|rss|rss2|atom)/?$ == index.php?&feed=$1
    page/?([0-9]{1,})/?$ == index.php?&paged=$1
    comments/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?&feed=$1&withcomments=1
    comments/(feed|rdf|rss|rss2|atom)/?$ == index.php?&feed=$1&withcomments=1
    comments/page/?([0-9]{1,})/?$ == index.php?&paged=$1
    search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?s=$1&feed=$2
    search/(.+)/(feed|rdf|rss|rss2|atom)/?$ == index.php?s=$1&feed=$2
    search/(.+)/page/?([0-9]{1,})/?$ == index.php?s=$1&paged=$2
    search/(.+)/?$ == index.php?s=$1
    category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?category_name=$1&feed=$2
    category/(.+?)/(feed|rdf|rss|rss2|atom)/?$ == index.php?category_name=$1&feed=$2
    category/(.+?)/page/?([0-9]{1,})/?$ == index.php?category_name=$1&paged=$2
    category/(.+?)/?$ == index.php?category_name=$1
    tag/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?tag=$1&feed=$2
    tag/(.+?)/(feed|rdf|rss|rss2|atom)/?$ == index.php?tag=$1&feed=$2
    tag/(.+?)/page/?([0-9]{1,})/?$ == index.php?tag=$1&paged=$2
    tag/(.+?)/?$ == index.php?tag=$1
    author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?author_name=$1&feed=$2
    author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ == index.php?author_name=$1&feed=$2
    author/([^/]+)/page/?([0-9]{1,})/?$ == index.php?author_name=$1&paged=$2
    author/([^/]+)/?$ == index.php?author_name=$1
    ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?year=$1&monthnum=$2&day=$3&feed=$4
    ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ == index.php?year=$1&monthnum=$2&day=$3&feed=$4
    ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$ == index.php?year=$1&monthnum=$2&day=$3&paged=$4
    ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$ == index.php?year=$1&monthnum=$2&day=$3
    ([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?year=$1&monthnum=$2&feed=$3
    ([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ == index.php?year=$1&monthnum=$2&feed=$3
    ([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$ == index.php?year=$1&monthnum=$2&paged=$3
    ([0-9]{4})/([0-9]{1,2})/?$ == index.php?year=$1&monthnum=$2
    ([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?year=$1&feed=$2
    ([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$ == index.php?year=$1&feed=$2
    ([0-9]{4})/page/?([0-9]{1,})/?$ == index.php?year=$1&paged=$2
    ([0-9]{4})/?$ == index.php?year=$1
    (.+?)/([^/]+)/trackback/?$ == index.php?category_name=$1&name=$2&tb=1
    (.+?)/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?category_name=$1&name=$2&feed=$3
    (.+?)/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ == index.php?category_name=$1&name=$2&feed=$3
    (.+?)/([^/]+)/page/?([0-9]{1,})/?$ == index.php?category_name=$1&name=$2&paged=$3
    (.+?)/([^/]+)(/[0-9]+)?/?$ == index.php?category_name=$1&name=$2&page=$3
    .+?/[^/]+/([^/]+)/?$ == index.php?attachment=$1
    .+?/[^/]+/([^/]+)/trackback/?$ == index.php?attachment=$1&tb=1
    .+?/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?attachment=$1&feed=$2
    .+?/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ == index.php?attachment=$1&feed=$2
    .+?/[^/]+/attachment/([^/]+)/?$ == index.php?attachment=$1
    .+?/[^/]+/attachment/([^/]+)/trackback/?$ == index.php?attachment=$1&tb=1
    .+?/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?attachment=$1&feed=$2
    .+?/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ == index.php?attachment=$1&feed=$2
    (.+?)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?category_name=$1&feed=$2
    (.+?)/(feed|rdf|rss|rss2|atom)/?$ == index.php?category_name=$1&feed=$2
    (.+?)/page/?([0-9]{1,})/?$ == index.php?category_name=$1&paged=$2
    (.+?)/?$ == index.php?category_name=$1

  2. AskApache
    Member
    Posted 7 years ago #

    I rely on mysql backups.. this happens alot for strange reasons.

    You could try re-running the upgrade script.. disabling permalinks and then re-enabling them, this is difficult if you don't have backups.

    I use a shell script to make a sql backup before EVERY change I make to my blog..

  3. jeepindotcom
    Member
    Posted 7 years ago #

    admins, you can delete this thread if you want, turns out it was a conflict issue btwn the rewrites for WP and WPG2. I've got it fixed now.

Topic Closed

This topic has been closed to new replies.

About this Topic