Permalink structure error both with local and remote install !
-
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.frThe 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
- The topic ‘Permalink structure error both with local and remote install !’ is closed to new replies.