• Resolved sweetchili

    (@sweetchili)


    As I am trying to change my permalink structure, I am having an error on my site that the Home page is displayed regardless of which link I click on.

    I have been reading the ‘howto’ section, but I have trouble understanding what a mod_rewrite is: is it a file? or a line in another file? Perhaps upgrading to a newer version of WP would resolve this problem?

    Thank you for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Quote:

    mod_rewrite
    mod_rewrite is an extension module of the Apache web server software which allows for “rewriting” of URLs on-the-fly. Rewrite rules use regular expressions to parse the requested URL from the client, and translate it into a different URL before interpretation.

    WordPress uses mod_rewrite for its permalink structure, which is optional functionality.

    Related articles: Using Permalinks

    Thread Starter sweetchili

    (@sweetchili)

    You mentioned mod_rewrite is an optional functionality, meaning permalinks changing should also work without changing the mod_rewrite? Since I am not running my own server, it is unlikely to have access to this module.

    How does this work? Changing the permalink structure in the admin page of my blog results in the error described above (only the main page is displayed).

    I find the related article somewhat blurry and I am missing clear instructures as to which lines and codes should be inserted in which files exactly.

    Thanks.

    The article only says what mod_rewrite IS, answering your question. Mod_rewrite isn’t a file or a part of a file but “an extension module of the Apache web server software”. In other words: your host will have to (have you) support mod_rewrite in order to be able to use its functionality.

    This article is about using permalinks and it says: “mod_rewrite permalinks require Apache’s mod_rewrite module”. Most of the time this is by default, but maybe you have to contact your host so that they can ‘turn it on’.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘what is a mod_rewrite?’ is closed to new replies.