• Resolved Dusty

    (@ameliapower)


    I used Thematic to create a child to redesign my blog to look like my website (www.ameliapowerdesign.com). All’s good except when you click to leave a comment or try to subscribe you’re brought to the home page of my site.

    In general settings I have my wordpress url set to: http://www.ameliapowerdesign.com/blog and the site url to http://www.ameliapowerdesign.com.

    I’m aware of the custom field “comments” required for Thematic and have added this field for each post with a value also.

    I’ve my wp-comments-post.php and wp-commentsrss2.php files in the blog subfolder on my ftp.

    Can anyone help? I would really appreciate it.
    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    All is not good:

    Warning: require(/home2/ameliapo/public_html/blog/wp-includes/load.php) [function.require]: failed to open stream: No such file or directory in /home2/ameliapo/public_html/blog/wp-settings.php on line 21
    
    Fatal error: require() [function.require]: Failed opening required '/home2/ameliapo/public_html/blog/wp-includes/load.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/ameliapo/public_html/blog/wp-settings.php on line 21

    If your blog is in the folder, blog, and you DO NOT want it to run ‘as if’ it were in the root HTML you need to roll back those URL changes 🙂 Both should be http://www.ameliapowerdesign.com/blog

    Thread Starter Dusty

    (@ameliapower)

    Thank you so much Ipstenu.

    The wp-includes folder was not under the “blog” for some reason.
    I moved that folder and renamed the urls in the general settings as you said and it’s working.

    Thread Starter Dusty

    (@ameliapower)

    There is still a little redirecting happening. When I click “blog” in my nav say from the comments section, I’m redirected to my home page instead of the main blog page. Any ideas?

    Thanks

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    How did you make that menu? Via Appearances -> Menu or …?

    It just has the wrong URL is all.

    Thread Starter Dusty

    (@ameliapower)

    Thanks again for your help. You’re right, that’s all it was…it’s working now. Previously I had “/” as the address which works for the other active pages but not for the blog. I have it added to the function.php file:

    // Function for inserting my nav bar
    function custom_navigation() { ?>
    <div id="nav">
    <ul>
    <li><a href="http://ameliapowerdesign.com/index.htm">Home</a></li>
    <li><a href="http://ameliapowerdesign.com/about.htm">About</a></li>
    <li><a href="http://ameliapowerdesign.com/work.htm">Work</a></li>
    <li><a href="http://www.ameliapowerdesign.com/blog/">Blog</a></li>
    <li><a href="http://ameliapowerdesign.com/mysitecontact.php">Contact</a></li>
    </ul>
    </div> <!--end nav--><?php }
    add_action('thematic_belowheader', 'custom_navigation');
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Comments, subscribing and redirection issue’ is closed to new replies.