Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Goawn

    (@goawn)

    I have no idea why but my postname permalinks are working again!
    Here is how i did it :

    I switched to twenty twelve theme
    I changed permalinks settings to default then i saved
    Then i changed permalinks settings to post name and save
    And postname links worked on the twenty twelve.
    Finally i switched back on my custom theme and it worked like a charm!

    But if i change or resave the permalinks again, my links go to 404.php and i have to do this method again

    I don’t really understand what is happening. My htaccess is still not auto-updated (i let it empty for the moment..). I probably have issues in my theme.

    If someone has an idea it would much appreciated!

    Thread Starter Goawn

    (@goawn)

    Ok i’ll contact my host provider but i think this is my bad.
    The weird thing is that everything with the permalinks was ok two days ago. They were set on post name and no 404 error..
    I’m currently developing this website, creating a custom theme and I’ve certainly done something wrong but i really don’t know what.
    In any case thank for your time. I’ll keep searching!

    Thread Starter Goawn

    (@goawn)

    @tara i tried and it doesn’t work..

    Thread Starter Goawn

    (@goawn)

    @tara My WP isn’t in my Root but in a folder called oti which is in the root.
    I can’t try this cause i’m on a shared host and don’t have access to apache configs.. But the host says on his website that mod_rewrite is enabled for all the shared hosts.

    @radices In my general settings i set : http://www.mydomain.com/oti
    But the code isn’t generated.
    I also tried to add your code manually -> no results

    Something weird happened :
    I deleted my htaccess then i went to permalinks settings and save the configs. The htaccess automatically re-appeared but its content is the same than before the removal no matter what i put inside it. (i tested several times with differents contents).

    Thread Starter Goawn

    (@goawn)

    @radices nope the site is not in root folder, it’s in a folder called oti.
    How should i modify my htaccess?

    Thread Starter Goawn

    (@goawn)

    Nope i added it manually via filezilla.. WordPress doesn’t edit this file automatically.
    How could i fine this block in my admin?

    Thread Starter Goawn

    (@goawn)

    Thanks for the replies!
    I tried to resave the permalink structure and i tried to add manually these lines in my htaccess :

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

    But it doesn’t work..

    Thread Starter Goawn

    (@goawn)

    I’ve already read it but i’m still lost.
    In fact my permalinks are all going to 404.php instead of their own template.
    Mod_rewrite is enabled and my htaccess is writtable. When i change and save the settings, i can see in filezilla that the last modif date of my .htaccess is updated BUT this file still remain the same :

    SetEnv PHP_VER 5_4
    # BEGIN WordPress

    # END WordPress

    Normal? Any idea?

Viewing 8 replies - 1 through 8 (of 8 total)