• Hello.

    I noticed a problem.
    Last week, when accessing one of my wordpress websites, i noticed that every button i pressed reply a 404 error. Looked at the permalinks settings in wordpress admin and all looked ok. So, it was a .htaccess problem. I overwrited the .htaccess and it stareted working again.

    After about 4 days, it happened again. The same fix resolved the problem. I know for sure that i am the only one who has access to the file server, so noone else si deleting the htacces.

    Did you heard of something like this before? any ideas?
    Thank you

    Valentin

    (I mention that i wrote the .htaccess file myself, adding the rule provided in permalinks wordpress admin)

Viewing 2 replies - 1 through 2 (of 2 total)
  • I was able to get it to work. I used the code that WP provided at the bottom of the permalinks page:

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

    I copied this exact code into a text editor. when you save it, you need to change the name to .htaccess because a text editor will automatically save as .htaccess.txt. I uploaded it to the root folder. After it was uploaded, I right-clicked on the the file and changed the permission to 755. I went to the permalinks page again and clicked on a different choose (any of the other choices) and hit save. I then added my custom permalink so it would have only the page name instead of date: /%catagory%/%postname%/ saved again and it worked.

    Hopefully this will work for you also.

    Thread Starter voala

    (@voala)

    hello
    thanks for the reply.
    But my problem is that my htaccss file is not there anymore. I know how to write the htaccess. I don’t think that the problem is from showing dates.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘permalinks problem’ is closed to new replies.