WordPress.org

Support

Support » How-To and Troubleshooting » Overlapping permalink and folder name

Overlapping permalink and folder name

  • For logistical reasons, I have to try something like this:

    i) Create a category called sitetrack. This would be an overview.
    ii) So category permalink would be: http://www.domain.com/sitetrack/

    Next I want to set up a separate installation in folder called sitetrack.

    So, the new installation would be at http://www.domain.com/sitetrack/ as well. Content of this instllation would be out of the main installation.

    I wanna know what kind of problems can it create?

    What overrides what? Does a mod_rewrite rule for permalink override a folder name?

Viewing 5 replies - 1 through 5 (of 5 total)
  • whooami

    @whooami

    Member

    you cant do that..it wont work

    There are lines for mod_rewrite in your .htaccess file which go like this:

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    the -f one tests if the path is a file, and the -d tests if it is a directory. So a folder name will override a permalink

    whooami

    @whooami

    Member

    still a bad idea, especially on a nix server 🙂

    there is always no harm in trying. one can always give it a shot and see what happens. catchline being: NO HARM.

    ochiba: that is what i wanted to know actually: what OVERRIDES what. since foldername will override permalink, i can try to find a different way of managing filenames 🙂

    First of all: a category permalink should be: example.com/category/sidetrack – you can replace the word “category” with something else, but omitting it will make your life even more compliacted and on the long run is a call for disaster…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Overlapping permalink and folder name’ is closed to new replies.
Skip to toolbar