Viewing 7 replies - 1 through 7 (of 7 total)
  • Probably because you don’t have mod_rewrite enabled or you aren’t on an Apache server. This is what it says in the Permalinks Options on the Administration Panel:

    “For the above to work you must have something called mod_rewrite installed on your server. (Ask your host.) If that isna€?t available, you can prefix the structure with /index.php/ . This is the recommend method if you are on any web server but Apache.”

    I believe you have to include the index.php part if your host doesn’t allow mod_rewrite. If you have checked with the host and they DO allow it, then you should be able to use a structure without it, and it might just take some tweaking to get the errors sorted. Some possible problems are listed in the codex:
    https://codex.www.ads-software.com/Using_Permalinks

    Thread Starter danmerk

    (@danmerk)

    Thanks! I am actually working on a local environment, so I can set it up. Can someone tell me how to do that? Is this available within my httpd.conf file?

    https://www.google.com/search?hl=en&q=installing+mod_rewrite&btnG=Google+Search

    I’m not trying to be a smart @ss. I don’t know how to do it myself, but there are a zillion tutorials available with that search.

    Thread Starter danmerk

    (@danmerk)

    Ok, I see in Apache that it is installed and my .htaccess file has data in it so it is not that. All I want to do is have my links look clean and use categories for archiving.

    i.e. https://www.danmerk.com/wordpress/photography

    and not https://www.danmerk.com/wordpress/?cat=4

    I am still getting Files not found. hmm.

    In xampp, the line in httpd.conf is this:
    #LoadModule rewrite_module modules/mod_rewrite.so
    and the # needs removing to make it work.

    Thread Starter danmerk

    (@danmerk)

    Yeah I can see the contents of the .htaccess file. So it is ‘working’, but I can not allow for the proper permalink function. I am not sure I did something correctly. I have this:

    /%category%

    Does not work. But if I add the /index.php/ it does. Again, the .htacess has 666 and is visable in my wp-admin.

    Also, how can I allow my links to my posts still be to single posts, but my permalinks are set for categories. Am I backwards in my thinking?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘index.php before tags’ is closed to new replies.