WordPress.org

Support

Support » Plugins and Hacks » Quick Page/Post Redirect Plugin » [Resolved] www. links do not redirect

[Resolved] www. links do not redirect

  • I have been using the plugin for some time and I find it very useful. However I have recently noticed that it only redirects the non-www links. Currently www links result in a 404 error.

    I have my site link preference set to non-www in webmaster tools. I had it set to no preference for quite some time before this – although I do not know if this is related or how long these 404 errors have been going on.

    Any help would be greatly appreciated!

    http://wordpress.org/extend/plugins/quick-pagepost-redirect-plugin/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Since your site is set to non www site URL, WordPress is actually redirecting the www links to non www first. Then when the plugin tries to match the URL it does not match as it has www in it. So in order for the plugin to work, you need to follow the same WordPress logic.

    Remove the www in the redirects you have set up, and then they should work.

    Regards,
    Don

    Thanks for the quick response!

    I am a little confused about your answer. I am not sure I was 100% clear in my description of my issue.

    All my redirects in the plugin currently feature non-www URLs. Site wide both www and non www URLs work. Only the redirects from the plugin dont function properly with the www URLs. Should I add www to the redirects? [EDIT: just tried this and it did not work 🙁 ]

    Thanks!

    I also tried changing the redirect from the non-www version of the URL to a relative path and the it didn’t change anything.

    Can you give me a link to a page that is supposed to redirect that does not? and let me know where it is supposed to redirect to?

    Also, are you using the latest WP and latest plugin versions?

    I’ll need to see what your pages are returning to the headers to see what is happening.

    Regards,
    Don

    Sure,

    The old page that I want to redirect from is:
    http://fertileweb.com/sharing-risk.html – Works
    http://www.fertileweb.com/sharing-risk.html – Doesn’t redirect

    I want them both to redirect to this page

    This effects all my redirects but this is one that is getting more 404 results.

    Thanks!

    I am also using the latest versions of both WP and the plugin.

    Do you have some special setup in your htaccess file to allow both the www and non www format or are you letting WordPress handle that (in the settings/general/WordPress Address (URL) option)?

    No, there isnt anything in the htaccess file. Right now the general WP settings are set with the non-www version. I will check with my hosting provider to see if they have something set up server side for the redirect.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] www. links do not redirect’ is closed to new replies.
Skip to toolbar