• Hi,

    I’m very new to this and must be missing something.

    I enabled permalinks to Day and Name. But now, nothing works but my home page. When I try to go to another page I get Error 404.

    The url for the home page is:
    …/Wordpress/?page_id=2
    or just …/Wordpress/ (both work)
    and for my About page: …/Wordpress/about (Error 404)

    I’ve tried to follow the Codex but some of it is confusing.

    WP writes the .htaccess file so at least that much works; and mod_rewrite is called in my httpd.conf file.

    I’ve tried adding additional lines to the start of .httaccess:
    AllowOverride FileInfo
    AllowOverride All
    options FollowSymLinks

    The Codex says you may need the above directives but doesn’t say where they go!

    I appreciate your help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter pitterpat

    (@pitterpat)

    Hi,

    Ok, I placed the AllowOverrides ALL directive in httpd.conf (it was set to “no”). I suggest the Codex be adjusted to make this clear.

    Now, pages show up with permalinks enabled. Yeaa!

    HOWEVER, an image that I placed in the Theme’s header.php only shows on the home page. On other pages it just show a “x”. Previously the immage appears on all pages.

    What am I missing? Do I have to change the reference to the image?
    Currently, the tag is <img src=”images/<my picture>.jpg” …>

    Thanks

    Use a full link to the image:

    <img src="<?php bloginfo('template_url'); ?>/images/my-pic.jpg" alt=""/>

    Thread Starter pitterpat

    (@pitterpat)

    You’re a life saver!

    Many thanks!

    I am struggling to change the permalink structure and have tried most of what has been offered in the forums (and not understood some of what I read!).
    Reading this thread is offering a possible solution…but I don’t know what or where “httpd.conf” is.
    Any clues most welcome.

    You shouldnt (normally) be editing httpd.conf.

    Going back a bit, your problem is permalinks.

    Backup your existing .htaccess file, get the original copy from wordpress and put that in.

    Then try to change and save the permalinks structure within admin area.

    Also post a url to your site so people can take a look.

    Thread Starter pitterpat

    (@pitterpat)

    Hi,

    httpd.conf is the configuration file for the Apache web server. It may not apply to non-Apache servers and for all I know, it may not apply to Apache on Windows. Mine is on Linux.

    Anyway, you should be able to find the file in /etc/httpd/conf or thereabouts.

    In Linux you can try: locate httpd.conf | more

    Hope that helps.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Permalinks confusion’ is closed to new replies.