I saw some other posts about SO on this issue, however, none of the suggested solutions worked for me, so I am posting.
After changing my permalink to /%postname%/ none of the links work. I get the following 404:
Not Found The requested URL /my-post-name/ was not found on this server. Apache/2.2.20 (Ubuntu) Server at mysite.com Port 80
When I return to the permalink default structure, it will start working again, but I want to have the structure /%postname%/ .
My .htaccess chmod file is 777.
After updating my permalink to /%postname%/ , the .htaccess file generated by Wordpress is as follows:
# 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
Any thoughts?
Edit:
I tried changing the permalink structure as follows:
/index.php/%postname%/
and he happily worked. However, the problem is that it is not surprising that links have the following form:
www.mysite.com/index.php/my-page.com
My question is: how to remove index.php from my links. When I remove it from the permalink structure (i.e. /%postname%/ ), my links no longer work.
PS: Instead of using blog entries, I only use pages on my site. If necessary, my website is: mll.sehir.edu.tr.
Sait
source share