• Resolved HTT

    (@htt)


    I have wordpress installed in my root folder and instead of my links being the default setting I decided to customize the permalink structure to this: /%year%/%monthnum%/%day%/%postname%/

    That’s great but going back to my homepage none of the links work, they all go to 404 pages – check for yourself:

    https://www.newcastle-online.com/

    I’m thinking it has something to do with my general settings which at the moment appear like so:

    WordPress address (URI): https://www.newcastle-online.com/
    Blog address (URI): https://www.newcastle-online.com/

    What am I doing wrong? I don’t want to mess about too much as I’m not too clued up with all this sort of thing and I don’t want to break WordPress or lose data so some pointers would be greatly appreciated, thanks.

    BTW when I change permalinks back to default setting, the links work again.

Viewing 6 replies - 16 through 21 (of 21 total)
  • Are you 120% sure you removed the index.php fromm the two URI values in the Options > General?
    It doesn’t look like that…

    Do you have a .htaccess in your blog’s directory? If so, what’s in it?

    This could go back to my second post in this thread:

    In particular, confirm with your host that mod_rewrite and AllowOverride are both on and enabled.

    Your host needs to answer those questions…

    You might try, for grins, “almost pretty” Permalinks. On the Permalinks page, select custom and specify something like:
    index.php/%year%/%monthnum%/%day%/%postname%/

    Thread Starter HTT

    (@htt)

    Moshu, yep removed it.

    Handysolo, this is what my htaccess file in my root says:

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

    There is another htaccess file that says:

    #AddType text/x-server-parsed-html .html
    RewriteEngine On
    RewriteRule /x.html /y.html

    That one is called .htaccess-

    ???

    Thread Starter HTT

    (@htt)

    Went with almost “almost pretty” for now.

    Thread Starter HTT

    (@htt)

    Fixed fellas, thanks for all your help, yous are superstars. The server team fixed it so I assume it was this:

    AllowOverride + Mod_rewrite

    Again, many thanks.

    no, it was not solved, at least I couldn’t figure out a word. but at godaddy it has a much more prosaic explanation. in the root there is a file called missing.htm. until you don’t delete it you will always get this file as wrong installation message (in case of root installation)! of course, at first I made it sure that wordpress make the .htaccess file but she did it. so go ahead and don’t lose as many time as I did.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Perma links leading to 404’ is closed to new replies.