• I installed WP to the root of my web directory. (1.5)
    I renamed the main index.php file for the blog wp-index.php
    I can post and edit fine, but within the blog, all my links look like this:

    http://www.myblog.com/?pageID=3

    etc.
    This is also the same for posts.
    Did I set something up wrong?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Is there any special reason you had to rename the index?

    Thread Starter osakaben

    (@osakaben)

    Well, I am currently “testing” the site, and I don’t have the benefit of a testing server, so this is the only way to keep it hidden until it’s ready to go (via obscurity)… why, will renaming the index cause this problem?

    It might, since index.php is one of the theme templates and WP automatically is looking for it to display certain views. See Template Hierarchy in the Codex. If you browse around there you will find a specific list of file names (among them index.php) used in WP.

    Thread Starter osakaben

    (@osakaben)

    I left index.php as-is in the theme folder – only the index.php in root (where the whole blog is built from) has been renamed…

    Thread Starter osakaben

    (@osakaben)

    Ok, I renamed the file back just to check – there is no connection whatsoever…

    What could be going on?

    Thread Starter osakaben

    (@osakaben)

    Ok, I have multiple installs of WP, and they are all displaying these blank links, no matter which theme I use.

    Admin links seem ok, but links to posts, comments, etc. always display something like:

    http://www.url.com/?id=3

    It’s like something is wrong with the template tags themselves… or some obscure setting somewhere…???

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Blank links to pages and posts’ is closed to new replies.