How to make a page accessible with existing directory (same slug) (2 posts)

  1. omarhachem
    Posted 3 years ago #

    I have an existing directory called /final-fantasy-vii/ which has an /images/ folder inside of it. I created a page with the same slug of "final-fantasy-vii" and when I go to access that page online, it shows me the /images/ folder instead of the actual page I created in WordPress.

    My current .htaccess file shows the default:

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

    If there a way around this? I've been cracking away at it for a couple of days now and I just can't figure out how to do it. Any help is much appreciated.

    Thank you!

  2. Pioneer Web Design
    Posted 3 years ago #

    Well, first I would discuss with your host about not allowing directory access in a browser...then change the slug, the title can stay.

Topic Closed

This topic has been closed to new replies.

About this Topic