Support » Installing WordPress » index.php is not default document – htaccess disabled

  • Hi, my webhost only set index.html as the default document, i.e. I can access my blog at example.com/wp/index.php , but all links will still point to example.com/wp/?p=1 but I need it to be example.com/wp/index.php?p=1

    .htaccess is disabled, so I cannot set it myself.

    Where do I have to tweak to include “index.php” in all the links generated by wp?

Viewing 3 replies - 1 through 3 (of 3 total)
  • To make index.php a valid index file should be a piece of cake for the host. If they are not willig to do it – time to look for a real, normal host. I wouldn’t stay one more minute with them!

    As for the index.php to be included in the links, you’ll have to do it in your permalink settings.

    Sorry, can’t change the host – and they’re really hard to reach. So there should be some way of changing something in the functions that generate the links.

    Where should I dig?

    OK, so I found this buried inside the link-functions php file.

    I think it’s kinda silly to hardcode things like ‘/?’ – without a variable base file name

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘index.php is not default document – htaccess disabled’ is closed to new replies.