• Hi

    I have an issue with WordPress permalinks. If I set them to /%postname%/
    I get a 404 WordPress error.

    I created a WordPress website offline, using EasyPhp WebServer 14.1. In this website, my pages had default names, like : ?p=123

    After putting it online, I created an empty .htaccess file at the root of the folder, with 777 rights (just to be sure it could be written). Then I changed the permalink option into “name article”.

    The .htaccess file has been modified, it contains now :

    # 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

    However, all the pages (each of them but the home page) can’t be found. I get something like

    Oops ! That page can’t be found. It looks like nothing was found at this location. Maybe try one of the links below or a search?
    The website URL is : https://www.vogliadimare.fr

    The most weird thing is that I get exactly the same error on my local website !

    I tried to add garbage text to the .htaccess : I got a 500 HTTP error, so mod_rewrite() is enabled.
    I tried to manually add the rewriting rules to .htaccess, the result is the same.

    I’ve done this dozens of times, but now I’m stuck ! What’s wrong ?
    Where could this come from ?

    Thanks

Viewing 1 replies (of 1 total)
  • Hi, fafanellu, & welcome to the WordPress support forum.

    Well, the only ‘Page Not Found’ I’m getting is when I click on:
    MENTIONS LéGALES & CONDITIONS GéNéRALES DE VENTE

    Looks to me like these documents are in a separate folder, i.e., the url says:

    https://www.vogliadimare.fr/cirnu-docs/CGV-voglia-di-mare.pdf

    Otherwise, I got some “under construction” pages, as well as some pages that work.

Viewing 1 replies (of 1 total)
  • The topic ‘Permalink structure error both with local and remote install !’ is closed to new replies.