Support » How-To and Troubleshooting » 404 permalinks and redirects

404 permalinks and redirects

  • I installed WP in /blog from my root and setup redirection in .htaccess and have also enable permalinks. Recently I installed a newsletter plugin that has an activation link in the subscribe back to the site and when I click after registering I’m getting a 404. I did a little testing and was able to get it to work but I’m not sure if this is a redirection or plugin problem.

    Here is a snippet of the activation link that fails with 404:

    Here is a tweak on the activation link that loads the page:

    Simply point to the site root vs. the root/blog and I get the page. I’m not sure why the plugin is using the root/blog in the activation email. Any thoughts on how to correct this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi


    Forum Moderator

    If your WP install is in the .blog sub-folder, how did you configure it to run from root? Did you follow the instructions in Giving_WordPress_Its_Own_Directory?

    Yes I did.



    Forum Moderator

    Then it sounds like the plugin isn’t picking up the correct url. It’s picking up the site url instead of the blog url. You may need to try another newsletter plugin.

    That’s what I was thinking will poke around the plugin an see if I can figure out what their picking up.


    Follow up on this.
    I checked the code an the they get_option ‘siteurl’ so what I’m wondering is what should siteurl actually be set to in wp_options?

    Mine is set to http://mentabolism.com/blog
    as I look further through wp_options I noticed that the option home has the correct base value for the site, perhaps this is the value that needs to be set in the get_option call and not the siteurl?

    Can you verify that the siteurl should point to the base where the blog is installed?



    Forum Moderator

    get_option('siteurl') will point to the WordPress url.
    get_option('home') will point to the blog url.


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘404 permalinks and redirects’ is closed to new replies.