Support » Localhost Installs » WordPress redirecting weirdly

  • So I have this page named “test” on my localhost.

    Every time I try access the page by entering “http://localhost:8888/wordpress/test” it will redirect me to “http://localhost:8888/wordpress/test/” (with a trailing slash) and instead of a page that I designed, it actually gave me a directory listing page.

    I have not mess with any .htcaccess file and I have no idea why it is acting this way, as it is working fine few days before.

    Anyone have any idea where I should try to look into to solve this problem?

    Edit: when I try to change the page name to something else it works just fine, but I have no idea why it will just redirect when i use “test” as the page name.

Viewing 1 replies (of 1 total)
  • esmi


    Forum Moderator

    Try adding
    DirectoryIndex index.php index.html index.htm
    to the top of your WordPress .htaccess file.

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress redirecting weirdly’ is closed to new replies.