• Hi,

    I’ve setup wordpress some time ago and so far I have done few things:
    – disabled comments
    – add arclite theme
    – add some additional pages
    – disable author name display on main page

    Today I was going to enable permalinks, but unfortunately they just don’t work as well as direct link to any post.

    My website is: https://sebfoto.com/blog

    .htaccess file:

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

    Permalink setting in admin panel are fine and WordPress automatically created above htaccess file.

    Additionally I have added few lines to htaccess file:

    ErrorDocument 404 "Podales zly adres | Wrong address | back to https://www.sebfoto.com or contact with me seb[at]sebfoto.com"
    ErrorDocument 500 "HTTP error 500."
    ErrorDocument 403 "HTTP error 403."
    ErrorDocument 401 "HTTP error 401."

    Of course htaccess has proper chmod rights.

    Clicking on any post subject (both in main page and in search results) will result with blank page. Host (byethost.com) support says that Mod_rewrite is available and my problem is related with htaccess file.

    Any ideas on this matter?

    Thanks in advance
    Seb.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Did the problem begin before or after you added the ErrorDocument lines?

    Try taking them out maybe? I wouldn’t expect WordPress to generate an incorrect file if you specified all of the settings correctly.

    Thread Starter sebfoto

    (@sebfoto)

    yep, I even delete all lines, delete .htaccess file and create new one with new chmod. Then WordPress added rewrite lines to htaccess.
    I’m not sure whether problem with URLs occur at the begining or just after installation.
    Furthermore I deleted `Options +FollowSymlinks’, but that didn’t help at all. I look forward for solution though ??

    Thread Starter sebfoto

    (@sebfoto)

    Any other ideas? Anyone?

    Just asking in case, however I doubt that is the problem, your htaccess file IS visible to the public, is it ? I mean, it doesn’t have weird admin-only reading file permissions ?

    A friend once had this problem blocking his permalinks to work, so I am asking just in case.

    Thread Starter sebfoto

    (@sebfoto)

    Actually I figure out what’s wrong.
    I changed theme to default and everything is ok.
    Currently I use arclite theme and there’s a problem.
    So I have too look for different theme or fix this one.
    Any ideas about this one? ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Complex issue with permalinks vs htaccess and basic links’ is closed to new replies.