sethmurphy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: urls do not contain …/index.php?… , but just …/?…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,
SethForum: Fixing WordPress
In reply to: urls do not contain …/index.php?… , but just …/?…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
Forum: Fixing WordPress
In reply to: urls do not contain …/index.php?… , but just …/?…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.phpreplace 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
Forum: Fixing WordPress
In reply to: urls do not contain …/index.php?… , but just …/?…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.phpafter:
DirectoryIndex index.php index.html index.html.varThe server then passes the request to index.php, and the queery string parameters are parsed correctly.
Seth