Urban Giraffe Support | Redirection
Homepage redirects to latest post page
Hi,
Posted this as a comment but probably better off in here... After upgrading to the latest version now when I publish a new post on my blog all links to the homepage get redirected to the posts page. So going to http://www.bluntedpresents.co.uk/ would send you straight to the latest post, rather than showing the homepage. At this time the plugin has been de-aticvated. Any ideas? I'm using WordPress 2.6 and Mimbo Pro theme.
Thanks in advance!
Responses
Posted 2 months ago by Key Master
I believe you resolved this problem elsewhere on this site
Posted 1 month ago by Member
Where was the resolution to this problem?
As I have had the same problem but with a slightly different process. Using Wordpress 2.6.2 and latest version of the Redirection plugin.
When a 'pending review' post is published by admin or higher user, that particular post becomes the homepage.
Only way to correct it was by re-seting permalinks back to default, then back to customised, ensuring htaccess was 755, decativating all plugins, activating them 1 by 1 and found it was this plugin causing the problem.
Posted 1 month ago by Member
Looking in the database table wp_redirection_items, there is a record that has got added for the latest 'pending review' post that got published with a redirection from '/' (homepage) to the published post. The record has the following fields and data:
id = 17
url = /
regex = 0
position = 2
lastcount = 92
last_access = 2008-09-29 05:48:49
group_id = 2
status = enabled
action_type = url
action_data = <url of the last pending review post>
match_type = url
action_code = 301
This record was not added manually using the plugin interface and should not be present. This is what causes the error and problem to appear when the plugin is activated. By deleting the record in the table the plugin works.
Please advise of a fix for this as the redirection plugin is stopping any posts to be reviewed and therefore, published due to what happens.
Thx
Posted 1 month ago by Key Master
If you have redirection so configured it will automatically create a redirection when a posts URL changes. This should only occur between posts and not the front page, although recent changes in WordPress may have affected this. If this is happening then I would expect to see entries in the 'modified posts' group in the Redirection management screen. Deleting these items will remove the automatic redirections.
Posted 1 month ago by Key Master
Note that I've found the problem and fixed it in version 2.0.7
Posted 1 month ago by Member
Thx for your responses.
I've upgraded to 2.0.7 so will inform you of any problems if they occur.
Thx again for updating the plugin to address the problem
Reply
You must log in to post.