Support » Fixing WordPress » Change Links

  • I’ve installed WordPress in the root of my site, but I already have some content there. I have an index.html page that I’d like to have a link of it to the index.php page for wordpress if possible. I’ve noticed that most things work except like comment links, or category links which all point to the root directory without specifying a page. i.e. http://www.example.com/?catid=0. When this happens it references my index.html page rather than my index.php. Is there an easy way to make all the links on the wordpress pages point specifically to index.php?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Mark (podz)

    (@podz)

    Support Maven

    You cannot have two index files – it upsets apache and will cause you constant errors.

    In that case, is it possible to change the “root” page of wordpress from index.php to something else? So that my main index can be the original page and wordpress can operate under a different page? Or is it to deeply integrated with that page name?

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator 🚀

    Just move WordPress into a subdirectory like “blog”, so your blog will be available at yourdomain.com/blog/index.php. More info: http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site

    I do that in other instances, but in this case I’d like to have a different front page that isn’t part of WordPress and have it redirect to the WP main page in the same directory. That’s why I want the index.php file to be something else. If possible that is.

    Nevermind, I implemented permalinks with mod_rewrite and it does what I want (so far).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change Links’ is closed to new replies.