WordPress.org

Support

Support » Plugins and Hacks » WP Super Cache » [Plugin: WP Super Cache] Permlink Structure Error

[Plugin: WP Super Cache] Permlink Structure Error

  • After installing last version, I am no more able to view/modify settings and get error:

    “Permlink Structure Error

    A custom url or permalink structure is required for this plugin to work correctly. Please go to the Permalinks Options Page to configure your permalinks.”

    I don’t want to change my permlink settings as many pages/articles use internal links.

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Donncha O Caoimh

    @donncha

    So are you using ?p=xxx for your urls? Those links will still work even when you have custom permalinks!

    Ok, thanks. Any recommendation of permalinks I can use? I envisage /%postname%/. Is it ok?

    Plugin Author Donncha O Caoimh

    @donncha

    Yeah, that’s fine.

    Thanks a lot!

    advanpix

    @advanpix

    But how about PR?
    Will pages loose it after moving to pretty permalinks?
    Or WP SuperCache & WordPress (3.0.1) do 301 redirections automatically for all posts and pages?

    Information in the web is contradictory on the subject. Could you help please?

    Thank you for all the hard work on Super Cache. I’ve been using it for two years.

    advanpix

    @advanpix

    So, nobody know the answer?
    Could someone give me a link to clear explanation if this question really stupid and doesn’t deserve to be answered here.

    Plugin Author Donncha O Caoimh

    @donncha

    It’s pretty easy to test, look at the headers sent by the server when you request a ?p=xxxx request and it redirects. WordPress sends a 301 redirect so the PR is transferred.

    advanpix

    @advanpix

    Thank you very much for your reply and all the efforts creating WP Super Cache.

    skippybosco

    @skippybosco

    I would advise against just using /%postname%/ as your URL structure.

    You can read a bit about it here:

    http://codex.wordpress.org/Using_Permalinks

    “For performance reasons, it is not a good idea to start your permalink structure with the category, tag, author, or postname fields. The reason is that these are text fields, and using them at the beginning of your permalink structure it takes more time for WordPress to distinguish your Post URLs from Page URLs (which always use the text “page slug” as the URL), and to compensate, WordPress stores a lot of extra information in its database (so much that sites with lots of Pages have experienced difficulties).”

    For a balance of performance and SEO I typically recommend:

    /%year%/%month%/%post_name%/

    or http://mydomain.com/2010/11/post_name

    Plugin Author Donncha O Caoimh

    @donncha

    skippybosco – going against all the recommendations I use /postname/ as the permalink structure on my blog and it works well. Once all posts are preloaded they’re served by mod_rewrite rules anyway so there’s little processing to be done 🙂

    advanpix

    @advanpix

    I’ve installed following permalinks structure:
    /%year%/%monthnum%/%day%/%postname%/

    It works for posts, e.g.:
    http://www.holoborodko.com/pavel/2009/07/17/rikugien-garden/

    But URLs for pages became /%postname%/ anyway:
    http://www.holoborodko.com/pavel/quicklatex/

    I’ve checked HTTP Headers by Fiddler – /?p=xxxx are being correctly redirected – so I’m happy.

    It seems like WP makes permalinks for pages of /%postname%/ style regardless of user settings.
    Or am I missing something?

    advanpix

    @advanpix

    Just noticed,

    Sometimes Fiddler give error message on loading page (in IE) cached by Super Cache (in preload mode):
    “The Server did not return properly formatted HTTP Headers. HTTP headers
    should be terminated with CRLFCRLF. These were terminated with LFLF.”

    Is it a big deal? Page are being loaded properly in the browser anyway.
    When I load page in FireFox – no complains from Fiddler appear.

    Plugin Author Donncha O Caoimh

    @donncha

    advanpix – pages are always served that way. I’m not sure about the headers as Supercache uses Apache modules to serve them and I would have thought they’d work properly but I’ll keep it in mind.

    advanpix

    @advanpix

    Thanks for clarifying!

    Hi there,

    I am trying to resolve the same issue as above. My default setting is http://www.websitename.com/?p=123. I need to understand this in layman’s terms, so would I highlight custom struture and change my permalink address to http://www.websitename.com/%postname%/ to get this error fixed? If you could explain it with the example I’ve used, and in layman’s terms, it would be greatly appreciated.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘[Plugin: WP Super Cache] Permlink Structure Error’ is closed to new replies.
Skip to toolbar