Need help 404 error when changing permalinks
-
I’m trying to change my permalinks from current which are:
http://twojeflp.webd.pl/aloesnacodzien
into
http://aloesnacodzien.pl
My wp instalation is in public_html/aloesnacodzien directory.
I hardcored the settings with
‘define(‘WP_HOME’, ‘http://aloesnacodzien.pl’);’
‘define(‘WP_SITEURL’, ‘http://aloesnacodzien.pl’);’
After that the main site is working but I get 404 error on other pages.
I tried to delete the .htaccess file and replace with new empty one. Then I added:‘# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /aloesnacodzien/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /aloesnacodzien/index.php [L]
</IfModule>’# END WordPress
but still I get 404 error, can anybody give me some advice?
The topic ‘Need help 404 error when changing permalinks’ is closed to new replies.