Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter sethmurphy

    (@sethmurphy)

    Caribou is correct, my solution is not the answer I am looking for either.

    I tried to use the permalinks(which just create URL rewriting rules) with no success. Any advice would be appreciated. I will be using them anyhow in order to optimise for SEO.

    Thanks,
    Seth

    Thread Starter sethmurphy

    (@sethmurphy)

    on second thought, that only fixes a few links …

    also need to change in file:

    template-functions-category.php

    might be too many places to make changes cleanly.
    However, I am sure you get the idea.

    Doesw anyone out there know URL rewriting well enough to post an example to do this with Apache?

    Thanks in advance,

    Seth

    Thread Starter sethmurphy

    (@sethmurphy)

    Caribou,

    I came up with a wordpress based hack, but think there must be a better answer with Apache and URL rewritting.

    Here it is:
    in the file wp-includes/template-functions-links.php

    replace all ‘/?’ with ‘/index.php?’

    This will break with an upgrade, but get’s the job done.
    Looking at the code it is obvious there is no application setting that addresses this in particular, as this part of the link is hardcoded within hte particular functions.

    I hope this helps anyone with a similiar issue.

    Seth

    Thread Starter sethmurphy

    (@sethmurphy)

    A simple fix would be to put index.php before index.html in the directory index in http.conf(or equivalent), or possibly delete any index.html files that exist.However, I wish to have index.html as the default page. If you do not, this may help.

    i.e.
    before:
    DirectoryIndex index.html index.html.var index.php

    after:
    DirectoryIndex index.php index.html index.html.var

    The server then passes the request to index.php, and the queery string parameters are parsed correctly.

    Seth

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