Page & Category links are unreliable
-
If you click on the page links on this site:
https://www.zionwildernesssurvivalschool.com,
they often go to the wrong page, especially after clicking through to the nested WP blog on /news/ of the same domain.
Plus, the category links on the /news/ blog are also unreliable.Background:
Created a website using v.2.9 at https://zionwildernesssurvivalschool.com.
Then the client wanted a second installation on the same domain in order to keep the blog part separate from the home and secondary pages.So, I created a second MySQL db and copied all the existing files into /news/ on the same domain so that it would look exactly like the original site. Altered the new wp-config.php file to point to the new db. Created the same pages on the new blog and redirect them to the original blog using .htaccess files at the /news/page-name/ level.
The .htaccess file for the root is:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressThe .htaccess file for the /news/ blog is nearly identical:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /news/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /news/index.php [L]
</IfModule>
# END WordPressCan someone point me in the right direction on this?
Thanks!
- The topic ‘Page & Category links are unreliable’ is closed to new replies.