• Certain links on my blog and the administrative backend are broken, either by duplicating the folder name used for the “Blog URL” or adding the “WordPress URL” immediately after the “Blog URL”.

    The links (as they appear in “General Options”) are in this format:

    I do not have an “.htaccess” file in my WordPress directory, but do have one in the root directory of my site – the section for WordPress in that file is as follows:


    # BEGIN WordPres
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    RewriteCond %{REQUEST_URI} ^/blog-directory(.*)$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    </IfModule>
    # END WordPress

    For my blog, the “Next Page” and “Previous Page” links show different links depending on whether or not a trailing slash was at the end of the “/blog-directory” portion (using “#” as a placeholder for the page number):

    In the administrative backend, on the “Manage” page, the “Previous Entries” and “Next Entries” links show up in this format:

    https://example.com/blog-directory/wordpress-directory/wp-admin/edit.php?paged=#

    But, according to how all of the other administrative pages work, it should actually be:

    https://example.com/wordpress-directory/wp-admin/edit.php?paged=2

    No other links appear to be affected.

    Thank you for any help you can provide to solve this issue.

  • The topic ‘“Previous” and “Next” Links: Duplicated or Merged Folders in Path’ is closed to new replies.