WordPress.org

Ideas

htaccess control managment

  1. mozey
    Member

    12345

    I would like for wordpress to allow me to exclude some subdirectories from the root installation so i can install different software without messing with .htaccess file!. Perhaps, to be managed by options->permalinks!

    Posted: 8 years ago #
  2. LostInNetwork
    Member

    I have wordpress installed on domain.com/wordpress and I have gallery2 at domain.com/gallery. My blog is reachable at the root: domain.com. To make this work, I had to copy a php script there, and edit the script, and now all inserted images have broken links until I manually repair them.

    Is this new feature something that would solve my problems?

    Posted: 8 years ago #
  3. mozey
    Member

    12345

    Well, All it would do is play around with .htaccess file. And .htaccess file is effective all systems which it roots. So in your situation, NO, it would'nt.

    But after a good talk with a dude i work with. Subdomains with custome installation should makes things TOO simple. (Same database if you want to use single authentication)

    Posted: 8 years ago #
  4. m0n5t3r
    Member

    12345

    would you please better define your problem? the default wordpress htaccess file redirects everything to index.php in wordpress, unless it's a real file or directory;

    so, if your other software is in the directory called myothersoftware, you'll get the contents of that directory instead of going to wordpress; rewrite and access control for myothersoftware would go to a .htaccess file in the myothersoftware folder, and it's your or the other software's responsibility to manage it

    Posted: 8 years ago #
  5. mozey
    Member

    12345

    :) i will defend a bad idea only for so long!

    Posted: 8 years ago #
  6. allstar
    Member

    It would be nice to have WordPress add a block of code to the htaccess file so it doesn't override the changes you make to it between permalink updates.

    Posted: 7 years ago #
  7. Ipstenu (Mika Epstein)
    Administrator

    None of these appear to be valid.

    1) WP will ignore folders in the wordpress folder

    If you install public_html/wordpress and public_html/wordpress/gallery, then going to domain.com/wordpress/gallery will still work. No tweaks needed to .htaccess, therefore I must assume something's weird in your setup.

    Also, I know that having public_html/wordpress and then setting up WP to run from root (i.e. domain.com) works with having same level subfolders like public_html/gallery (i.e domain.com/gallery) so again, nothing to fix here.

    2) WordPress does NOT overwrite .htaccess customization. Hasn't since at least 2.0 (I have a VERY custom .htaccess and no issues with permalink changes).

    Posted: 5 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    37 Votes
  • Status

    Sorry, not right now