Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Did you insert the small amount of code that WP provides after changing your permalink setting into your .htaccess file?

    “Did you….”
    I’d say no — the error that occurs is a 404.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    If you didn’t, then you should. That little amount of code is what makes everything work.

    Thread Starter Anonymous

    The latest nightly build … the one from October 25 I believe …. when you change the permalink structure – it doesn’t prompt you with any code to add to the htaccess file?
    I had been using the latest stable version … where when you make permalink structure changes – it prompts you with the new htaccess code to add.
    Then I read that category permalinks were supported in the later nightly builds. Soo – I upgraded – made the permalink changes – and this is what I get: Permalink Structure Updated. No rewrite mods to add. ???
    Am I missing something?

    Thread Starter Anonymous

    BTW .. .this is what I’m specifying as the structure:
    structure – /%category%/%postname%/
    Wordpress URI — http://www.clevelandschools.org/cms/wp

    Thread Starter Anonymous

    And… this is what my htaccess file looks like.
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /cms/wp/
    RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /cms/wp/index.php?feed=_$1 [QSA,L]
    RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /cms/wp/index.php?feed=_$1&withcomments=1 [QSA,L]
    RewriteRule ^page/?([0-9]{1,})/?$ /cms/wp/index.php?paged=$1 [QSA,L]
    RewriteRule ^site/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /cms/wp/index.php?pagename=$1&feed=$2 [QSA,L]
    RewriteRule ^site/([^/]+)/page/?([0-9]{1,})/?$ /cms/wp/index.php?pagename=$1&paged=$2 [QSA,L]
    RewriteRule ^site/([^/]+)/?$ /cms/wp/index.php?pagename=$1 [QSA,L]
    RewriteRule ^search/(.+)/(feed|rdf|rss|rss2|atom)/?$ /cms/wp/index.php?s=$1&feed=$2 [QSA,L]
    RewriteRule ^search/(.+)/page/?([0-9]{1,})/?$ /cms/wp/index.php?s=$1&paged=$2 [QSA,L]
    RewriteRule ^search/(.+)/?$ /cms/wp/index.php?s=$1 [QSA,L]
    RewriteRule ^category/(.+)/(feed|rdf|rss|rss2|atom)/?$ /cms/wp/index.php?category_name=$1&feed=$2 [QSA,L]
    RewriteRule ^category/(.+)/page/?([0-9]{1,})/?$ /cms/wp/index.php?category_name=$1&paged=$2 [QSA,L]
    RewriteRule ^category/(.+)/?$ /cms/wp/index.php?category_name=$1 [QSA,L]
    RewriteRule ^author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /cms/wp/index.php?author_name=$1&feed=$2 [QSA,L]
    RewriteRule ^author/([^/]+)/page/?([0-9]{1,})/?$ /cms/wp/index.php?author_name=$1&paged=$2 [QSA,L]
    RewriteRule ^author/([^/]+)/?$ /cms/wp/index.php?author_name=$1 [QSA,L]
    RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /cms/wp/index.php?year=$1&monthnum=$2&day=$3&feed=$4 [QSA,L]
    RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /cms/wp/index.php?year=$1&monthnum=$2&day=$3&paged=$4 [QSA,L]
    RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$ /cms/wp/index.php?year=$1&monthnum=$2&day=$3 [QSA,L]
    RewriteRule ^([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /cms/wp/index.php?year=$1&monthnum=$2&feed=$3 [QSA,L]
    RewriteRule ^([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /cms/wp/index.php?year=$1&monthnum=$2&paged=$3 [QSA,L]
    RewriteRule ^([0-9]{4})/([0-9]{1,2})/?$ /cms/wp/index.php?year=$1&monthnum=$2 [QSA,L]
    RewriteRule ^([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$ /cms/wp/index.php?year=$1&feed=$2 [QSA,L]
    RewriteRule ^([0-9]{4})/page/?([0-9]{1,})/?$ /cms/wp/index.php?year=$1&paged=$2 [QSA,L]
    RewriteRule ^([0-9]{4})/?$ /cms/wp/index.php?year=$1 [QSA,L]
    RewriteRule ^(.+)/([^/]+)/trackback/?$ /cms/wp/index.php?category_name=$1&name=$2&tb=1 [QSA,L]
    RewriteRule ^(.+)/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /cms/wp/index.php?category_name=$1&name=$2&feed=$3 [QSA,L]
    RewriteRule ^(.+)/([^/]+)/page/?([0-9]{1,})/?$ /cms/wp/index.php?category_name=$1&name=$2&paged=$3 [QSA,L]
    RewriteRule ^(.+)/([^/]+)/?([0-9]+)?/?$ /cms/wp/index.php?category_name=$1&name=$2&page=$3 [QSA,L]
    RewriteRule ^(.+)/(feed|rdf|rss|rss2|atom)/?$ /cms/wp/index.php?category_name=$1&feed=$2 [QSA,L]
    RewriteRule ^(.+)/page/?([0-9]{1,})/?$ /cms/wp/index.php?category_name=$1&paged=$2 [QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)/?$ /cms/wp/index.php?category_name=$1 [QSA,L]
    </IfModule>
    # END WordPress

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Try removing
    # BEGIN WordPress
    <IfModule mod_rewrite.c>

    and
    </IfModule>
    # END WordPress

    It’s a longshot, but it might work.

    @anon (one of them 🙂

    The latest nightly build … the one from October 25 I believe …. when you change the permalink structure – it doesn’t prompt you with any code to add to the htaccess file?

    http://wordpress.org/support/6/15716#post-90636

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘how to get: www.domain.com/ categoryname/postname’ is closed to new replies.