Strangeness with pretty url rules

  • Author
    Posts
  • #1023096

    marcopic
    Member

    Hi Everybody
    I updated my wordpress from version 3.0 to 3.4.1. Immediately I noticed some troubles with permalinks related to categories pages, which return a 404 error. I temporarily solved with WCS-Permalinks plugin that catch 404 and return a page with a url like this: sitename/?cat=x.

    So I used function add_rewrite_rule() to add a pretty url into htaccess to solve the problem. I used this code:

    add_rewrite_rule('^shortcut/$','/?cat=2000/','top');

    with a flush the rule appears into htaccess with [QSA,L] but it seems not work. I always had a 404.

    any ideas?

    The blog I need help with is justablognametofind.wordpress.com.

    #1023213

    timethief
    Member

    I updated my wordpress from version 3.0 to 3.4.1

    Thatr site is not hosted on WordPress.COM and you are posting to the wrong support forum. This forum is for support of sites hosted on WordPress.COM.

    Your support questions must be posted to the correct support site for your softwareand that is here http://wordpress.ORG/support/

    For more on the differences: http://support.wordpress.com/com-vs-org/

    #1023217

    marcopic
    Member

    sorry :)
    thanks

    #1023220

    timethief
    Member

    Best wishes with your site. :)

The topic ‘Strangeness with pretty url rules’ is closed to new replies.