WordPress.org

Ready to get started?Download WordPress

Forums

htaccess blues (7 posts)

  1. adger560
    Member
    Posted 6 years ago #

    Hi guys,
    Im trying to get my site working and I have been marred with problems.
    the site is http://blog.thefilmlounge.co.uk
    Im very new to this, and have very little experience with programming/servers etc.

    The server is using Apache (I know this because every time I put in a .htaccess file it all defaults back to the test page)

    Im not too fussed about pretty permalinks (although that would be a bonus)

    I have had mod_rewrite enabled on my server, by changing

    AllowOverride Limit AuthConfig

    ...to...

    AllowOverride All

    However my htaccess file still misbehaves.
    It works ok when I use Index.php/ as the base of my permalink structure

    which would be fine however... (note: this may be an entirely different problem)

    When I add new pages to the blog, it doesnt matter what I type, when I click view page after publishing it, it pulls up a page identical to my index page.

    the title of the new page is in the top of my browser window ie "test", but the page is exactly the same as my index.php page.

    and looking at other people's problems, they suggest the .htaccess is the source of the trouble, specifically the index.php/ permalink base.

    But even when I take it off the response is still the same.
    Does anyone have any suggestions? Id very much appreciate the support.

    Alex

  2. adger560
    Member
    Posted 6 years ago #

    bump

  3. justinratwebtek
    Member
    Posted 6 years ago #

    Well, first, what does your .htaccess file look like?

  4. adger560
    Member
    Posted 6 years ago #

    Hi Justin,
    this is the contents of my .htaccess file
    this causes the whole site to fail;

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

    # END WordPress

  5. justinratwebtek
    Member
    Posted 6 years ago #

    Well, seems you fixed it before I could get back to you.

  6. adger560
    Member
    Posted 6 years ago #

    Ok,
    I have discovered, that when I use kubrick as my theme,
    everything works fine. So it must be my theme which is causing me problems.

    Does anyone know why this might be, and what kind of thing I need to change to my theme to get it working? Or is it easier to simply start afresh?

  7. justinratwebtek
    Member
    Posted 6 years ago #

    Off the top of my head: Make sure that the new theme doesn't have a .htaccess in that dir.

Topic Closed

This topic has been closed to new replies.

About this Topic