Support » Fixing WordPress » Changing site URL – posts showing directory

  • Resolved reneequinn


    Recently launched a site and have been looking through Googles Webmaster tools which is highlighted that whilst pages are showing the correct directory structure, posts are not. Further investigation highlighted that it’s got nothing to do with Google or Yoast SEO that I’m using, but something strange that I have done and I cannot work it out!

    Page address structure:
    Post address structure:

    I want it so that the post address does not include the directory.

    I have installed wordpress core files in a separate directory, so my settings read:

    WordPress address (URL):
    Site address (URL):

    I have setup permalinks so that they rewrite:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /directory/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /directory/index.php [L]

    Anyone know what I’ve done wrong?
    Thanks in advance

  • The topic ‘Changing site URL – posts showing directory’ is closed to new replies.