Click here to Skip to main content
15,886,091 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

I'm facing an issue with Permalink for Wordpress site that I have hosted on ubuntu server. Whenever I save the permalink setting I receive an error to modify .htaccess file and update the setting as provided below,

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



I did this activity but the links are not working I'm receiving 404 error.
Before updating this file link the url's used to work with index.php/<post-name>
This .htaccess file is placed in the folder where I have installed the folder.

Any input in this regard will be appreciable.
Thanks in advance.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900