Support » Fixing WordPress » Extra ‘/’ in URL for index.php

  • Resolved sam_m

    (@sam_m)


    I am having a problem viewing my blog pages when I use the ‘View>>’ link in the Write post part of WordPress.

    I have wordpress installed in a subdirectory of my site as the I have a php script installed for the main site. So, I need to keep it separate from the root directory.

    The problem I get is when I click on the link it tries this url:

    http://www.mysite.com/wp/index.php/?p=21

    As you can see an extra ‘/’ is appearing in the url after the index.php

    My site url in the wp Options is set to :

    http://www.mysite.com/wp/index.php

    Because otherwise, http://www.mysite.com/wp yields me a display of no pages. I have to include the ‘index.php’

    Any help on this would be highly appreciated…

    Thx!

Viewing 1 replies (of 1 total)
  • Added .htaccess file to subdirectory where WP is installed. This addressed the problem.

Viewing 1 replies (of 1 total)
  • The topic ‘Extra ‘/’ in URL for index.php’ is closed to new replies.