I have just moved a website from a subdirectory to the root of the domain for launch by moving and updating the index.php file.
This worked fine until I added an htaccess file to the root to redirect old html pages to the top-level URL (I have restored the old index.htm for the time being)
The home page came up fine but any second level links eg: http://example.com/our-collection now display a ‘Not Found – The requested URL /for-every-occasion was not found on this server.’ message.
I removed the htaccess file as soon as I noticed the problem but the problem persists
The htaccess file contained the following
I can rename the index.htm file to prioritise wordpress if necessary for you to recreate the problem.
I usually like to figure it out myself and find answers on this forum but this is the first time I have not found a similar case.
Any help would be greatly appreciated.
- The topic ‘pages broken after htaccess 301 change’ is closed to new replies.