WordPress.org

Ready to get started?Download WordPress

Forums

A Few (Very Important) Questions on HTAccess and more (9 posts)

  1. mikepepsi
    Member
    Posted 8 years ago #

    A few short questions i was hoping you guys could help me with

    Heres the deal
    I have a nucleus site at http://the-deli.org
    Its mean spirited celebrity satire, which is irrelevant, but just so you know im not morally bankrupt. Honest.

    Anyway the problem is i have been developing my wordpress site in a subdirectory, and I am almost ready to move it into the main site. I plan to turn my old site, the Nucleus site, into an archive because i want to keep all the old urls. So all the Nucleus files will remain in the main area

    However, I need to edit the htaccess file in that folder for me to be able to use the customised urls for WordPress.
    But when i do that, it seems to mess up my current htaccess stuff for the nucleus.

    ---
    RewriteEngine On
    RewriteRule ^member/(.*) index.php?arr=member/$1
    RewriteRule ^item/(.*) index.php?arr=item/$1
    RewriteRule ^category/(.*) index.php?arr=category/$1
    RewriteRule ^blog/(.*) index.php?arr=blog/$1
    RewriteRule ^archive/(.*) index.php?arr=archive/$1
    RewriteRule ^archives/(.*) index.php?arr=archives/$1
    ---

    I pasted the wp stuff above that and basically what it did was it killed off the nucleus stuff. I need both of them to work, Anyone have any idea how?

    Furthermore i want to shrink the size of the column in the Kubrick skin and expand the main column a little bit, Anyone know how to do that?

    Help much appreciated in advance.

  2. moshu
    Member
    Posted 8 years ago #

    A good soul (with solid knowledge in .htaccess rules) might come by and help you with that.

    As for the K. theme (WP has themes, not skins) - forget it. If you have to ask how to modify... better look for another theme.
    http://themes.wordpress.net

  3. whooami
    Member
    Posted 8 years ago #

    do you plan on moving the nucleus stuff into a subdirectory or leaving it your root dir? I imagine not since thats going to cause some conflicts..

    after you've moved to nucleus to a sub-directory, i would handle all its specific rewrites within an .htaccess in THAT directory, as much as you can that is.

    Anything that you need to add into your root directory's .htaccess just tack on the sub-directory name to the rule, so its not affecting files elsewhere.

    follow?

  4. mikepepsi
    Member
    Posted 8 years ago #

    Im keeping the nucleus in the main directory. If i move it, then the pages i have right now will all be lost from the search index because they will no longer exist. I dont want to lose them.

  5. whooami
    Member
    Posted 8 years ago #

    Anyway the problem is i have been developing my wordpress site in a subdirectory, and I am almost ready to move it into the main site.
    ..
    Im keeping the nucleus in the main directory.

    Maintaining 2 blogging apps in your root is going to be tough since they're both going to want the same link structure >>>

    Pointing out the obvious, both use an index.php.

    I may not be putting a whole thought into alternatives but I see no simple .htaccess solution that accomplishes what you want to do, especially having them both in your webroot.

  6. mikepepsi
    Member
    Posted 8 years ago #

    If i did move my nucleus to a subfolder, i'd need some kind of way in which to redirect traffic to the relevant pages if they try and hit up the redundant files?

  7. Samuel B
    moderator
    Posted 8 years ago #

    Perhaps put WP in it's own directory and have a static WP front page in the root?

  8. mikepepsi
    Member
    Posted 8 years ago #

    hmm I dont think i can, i definately need my WP in the main folder. I think it looks like i will be moving Nucleus after all and just redirecting :( Not ideal and will likely lose me quite a few hits, but I can't see any other way.

  9. manstraw
    Member
    Posted 8 years ago #

    I would recommend you keep wordpress in it's own dir. You'll keep your hits, and won't have conflicts with the rewrite rules. You could make a rewrite rule in the html root to automatically bounce visitors to the wordpress dir if they haven't asked for a page more specific than domain.com/ or domain.com

Topic Closed

This topic has been closed to new replies.

About this Topic