• Hi. I am new to WordPress, having just migrated from another blogging software. Everything is up and running just fine, except if I wish to use permalinks. If I try switching to permalinks, update the structure and insert and .htaccess file, I end up with a 404 error.

    Apache version 1.3.37 (Unix)
    PHP version 4.4.4
    MySQL version 4.1.21-standard

    I have checked with my host and mod_rewrite is enabled by default.

    What I put in my .htaccess file is this:

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

    I tried alternately placing the .htaccess in the root of the site, then in the /blog/ directory where the index.php file is located. No go.

    I am totally clueless at this point about where to go from here. I have reverted to the default link structure for the time being, but I’m hoping that with some help I can get permalinks working.

    The url of the site is https://benoitbisson.com

Viewing 12 replies - 16 through 27 (of 27 total)
  • aww shti.. I think i was messing aroudn with the:
    “wordpress address = mydomain.com/blog
    blog address = mydomain.com/blog”

    thikng in the options.. And now my blog won’t work.. I cant even login to the admin.

    anybody know how i can fix it?

    anybody know how i can fix it?

    I think it’s explained in the docs how to fix it if you do that.

    Basically though you’ll need to edit the database directly.

    change “siteurl” and “home” in the database table “wp_options” (through phpMyAdmin or similar).

    awesome.. what a close one. thanks alot.

    ronchicago,

    You can switch from the default (aka ugly) any time. BTW, the default/ugly permalinks ALWAYS work, no matter what kind of “nice” structure you set up.

    Seemingly, you have all the preconditions to make the nice permalinks to work. Unless we misunderstood each other about the settings and the location of the blog – it shouold work.

    As I understood your setup:
    NOTHING (blog related) in the root;
    everything is in the “blog” directory – so the short index and the htaccess should also be there and only there;
    – is this correct?

    correct!

    hey moshu.. I was having problems with a custom structure i made.

    But i hcanged back to the ugly/default ones that are there..

    But now when I try to view a post, the page/design moves up.. Like the CSS doesn’t work for soem reason in teh single post page.

    is that supposed to be changing? Check it out: https://www.freshbasilcrew.com

    click on any post to see.

    is that supposed to be changing?

    Nope. It’s just bad code.
    Validate your site and we’ll see it it works

    ??

    i checked it out.. and i dont seem to see any big issues. Only the podpress stuff, but i dont even use that on any pages yet.

    https://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.freshbasilcrew.com%2F2007%2F08%2F17%2Ftalib-kweli-hot-thingin-the-mood-official-video%2F&warning=1&profile=css21&usermedium=all

    two months later and i finally go back to this issue. i change from ugly to pretty. i try to update htaccess but no can do. then i read forum advice for the 99th time. bingo! i change my htaccess from 644 to 666 via cpanel and everything is updated! now i am back at 644. onwards and upwards!

    Moshu,

    You can switch from the default (aka ugly) any time. BTW, the default/ugly permalinks ALWAYS work, no matter what kind of “nice” structure you set up.

    Does this mean that if I started with www.yourdomain.com/wordpress/?p=100 and changed the permalinks to reflect www.yourdomain.com/wordpress/wordpress/2008/01/26/sample-post/ that both links would still work?

    Can anyone answer? I didn’t want to change over if not due to not knowing permalinks well yet.
    Thanks.

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘Permalinks and htaccess issues’ is closed to new replies.