Forums

[resolved] Comments, subscribing and redirection issue (6 posts)

  1. ameliapower
    Member
    Posted 9 months ago #

    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.

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 9 months ago #

    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

  3. ameliapower
    Member
    Posted 9 months ago #

    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.

  4. ameliapower
    Member
    Posted 9 months ago #

    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

  5. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 9 months ago #

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

    It just has the wrong URL is all.

  6. ameliapower
    Member
    Posted 9 months ago #

    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');

Reply

You must log in to post.

About this Topic