Forums

Excerpts added after the fact have screwed up all posts: return to the homepage? (30 posts)

  1. stenphen
    Member
    Posted 7 years ago #

    http://www.winningman.com/blog/

    As a novice, I don't have the troubleshooting skills to understand why all post titles (when clicked) are now showing the homepage all over again, even though the URL changes for each.

    Example: last post at the bottom of this page. This is the only Excerpt I left, as I tried to correct the issue once already so the remaining posts are in their entirety... clicking the "Continue reading..." link also has the same return-to-top-of-homepage issues.

    Please, if anyone has any insight, point me in the right direction... I posted twice already to no response. If I have to reinstall, I'll do that, but would like to know if there is a simple fix to this seemingly simple problem (to anyone other than myself perhaps).

    Thanks in advance.

  2. moshu
    Member
    Posted 7 years ago #

    Why do you have an index.html at this address: http://winningman.com/blog/index.html ?

  3. stenphen
    Member
    Posted 7 years ago #

    Thanks moshu...

    Not sure what you are referring to... I do not see an index page (HTML) in that folder via FTP -- only an index.php file, and that was what I installed with everything else WP. I have not added any files other than the install items...

    Can you elaborate on your line of thinking?

    Much appreciated.

  4. moshu
    Member
    Posted 7 years ago #

    If you click on the link above - it displays your blog. It shouldn't. It should give a 404 not found error, if there is no index.html in that directory.
    Maybe there is something in your .htaccess, but the reason your blog doesn't go where you want (e.g. to a single view of a post) is because of that index.html file. Or something that makes WP "to find it" instead of the index.php.

  5. stenphen
    Member
    Posted 7 years ago #

    Understood. Hmmm... I will examine the .htaccess file. I just double-checked confirm that there is no index.html page in my hard files (pre-FTP), nor on the live FTP file list.

    Any other thoughts while I hit up my hosting service for some added support?

    Thanks for working through this with me.

  6. stenphen
    Member
    Posted 7 years ago #

    moshu, I have the following file content (and haven't touched it previously) on the blog setup for .htaccess:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>

    # END WordPress

  7. stenphen
    Member
    Posted 7 years ago #

    I'm at a loss... any other suggestions out there?

  8. stenphen
    Member
    Posted 7 years ago #

    moshu, did I lose you? anyone else up for taking a stab?

  9. stenphen
    Member
    Posted 7 years ago #

    If possible, someone please submit a response before I have to blow this setup out and reinstall....

    Much appreciated.

  10. Samuel B
    moderator
    Posted 7 years ago #

    I don't think you will fix this - like Moshu said - without figuring out how you are getting the index.html.
    What uri do you have in admin -> Options -> General?

  11. stenphen
    Member
    Posted 7 years ago #

    WordPress address (URI): http://winningman.com/blog

    blog address (URI): http://winningman.com/blog

    Should that be: http://winningman.com/blog/index.php ?

    OR

    http://blog.winningman.com/ (it is set as a subdomain) ??

  12. stenphen
    Member
    Posted 7 years ago #

    Crap -- I'm such a newbie... changed the URI settings to these possibilities and now it's officially screwed up. (as you will see)...

  13. stenphen
    Member
    Posted 7 years ago #

    Any final thoughts for me on this issue before I wipe the slate clean and start over?

  14. moshu
    Member
    Posted 7 years ago #

    You can always fix the URI values if you have access to phpMyadmin, by following this tutorial:
    http://www.tamba2.org.uk/wordpress/site-url/
    Don't put "phantasy" values: use the exact location! No file names at the end, just directory without trailing slash.

  15. stenphen
    Member
    Posted 7 years ago #

    Thanks moshu... did you see my post above?
    Posted: 2006-04-28 12:49:13

    the URI for both the blog itself and the WordPress address were both set to: winningman.com/blog ... that contains no phantasy values. I wondered though if (since it is setup as a subdomain) if that might affect it -- it's subdomain address is: blog.winningman.com ... would that cause any URI conflicts?

    Thanks in advance.

  16. moshu
    Member
    Posted 7 years ago #

    If that is a real subdomain, i.e. NOT redirecting to a subfolder... then the values are NOT correct.
    Note: In my experience WP doesn't like redirected subdomains either!

    Sorry, by "phantasy values" I meant sometimes people put there values that don't really exist, but they would like their blog to show there. Without making the proper modifications that usually doesn't work :)

  17. stenphen
    Member
    Posted 7 years ago #

    I'm pretty dumb when it comes to technical stuff and have minimal scripting knowledge, but I definitely know better than to use a "hoped for" URI. ;-)

    That subdomain (blog.winningman.com) I set up through my host via the control panel access I have, under Subdirectory Maps, and I have it set to:
    SubDomain: blog.winningman.com
    Points to: /blog

    The PHP script admin panel shows support for PHP 4.3.3 ...

    I'm running out of options -- as you can see, I tried to adjust the URI settings as suggested by "samboll" ... that ended up REALLY screwing things up (since I was thinking it was a trial, and I could re-enter the previous URI and go back to LESS screwed up!).

    Anyway, unless you have a jewel for me, I may just blow it out and re-attempt and mind my P's and Q's more this time.

    Thanks again.

  18. moshu
    Member
    Posted 7 years ago #

    WordPress address were both set to: winningman.com/blog ...

    Are you 100% sure of this? Then why is the site looking for stylesheet at yoursite/index.phpthemes/etc. ???

    Go and empty (=delete everything) the cache folder under wp-content. Just a try.

  19. stenphen
    Member
    Posted 7 years ago #

    Yes, the ..index.php.. thrown into the address is a result of my experimenting with the URI, and now all URLs are screwed up. When I try to get to the /wp-admin/options.php to change that back to the proper URI (after I deleted the cache files as you suggested, and manually removing the ..index.php.. from the URL), I get a message:

    Sorry, you need to enable sending referrers for this feature to work.

    I go to the link it suggests:
    http://codex.wordpress.org/Enable_Sending_Referrers#How_do_I_Enable_Sending_Referrers.3F

    and follow the config for Firefox -- it's set to 2 already, which is what it suggests...

    Sorry to be such a pain -- I'm just a newbie, so if you feel I am wasting too much time, you can feel free to suggest a reinstall.

  20. moshu
    Member
    Posted 7 years ago #

    Did you try to fix it as I suggested above?

  21. stenphen
    Member
    Posted 7 years ago #

    phpMyadmin? hmmm . . . initially I had thought that was "out of my league", but I will see if it works for me and follow your tutorial to see if that rectifies things.

    Thanks... just downloaded it through a mirror and have the page: "phpMyAdmin 2.8.0.3 Documentation" open now and am working my way through it. I'll keep you posted.

    Thanks again.

  22. moshu
    Member
    Posted 7 years ago #

    Hey, you don't need to do that. A decent host should have it installed and offered access to it. I don't think you can install it on your server...

    What kind of site admin control panel do you have? when you login to administer your whole site.

  23. stenphen
    Member
    Posted 7 years ago #

    It's through accountsupport.com...

    I don't see any signs of phpMyAdmin being installed on the site -- they are control freaks and constantly adding new "secure" settings/features, but not too much from a user-based access.

    Here are some Control Panel options:
    CGI Management
    Enhanced Script Library
    Error Page Manager
    FTP
    FileManager
    Manage MySQL
    Application Extension Manager

    Inside "Enhanced..", there is a PHP Scripting link, with a "How PHP works at AccountSupport" section.

    Sound remotely promising?

  24. moshu
    Member
    Posted 7 years ago #

    What is under Manage MySQL? "MySQL" is the database you need to run WP. Now if you have a little bit of luck, than the "managing tool" will be phpMyadmin and you would be able to use the tutorial I linked to.

  25. stenphen
    Member
    Posted 7 years ago #

    We're golden... just had to follow the "crumbs" further. Thanks -- I'll check it out in conjunction with the tutorial.

    Thanks again! I'll keep you posted.

  26. stenphen
    Member
    Posted 7 years ago #

    WAHOO! I'm back to square one again... that's a good thing, actually.

    NOW -- the links are still messed -- they all refer to the home page instead of their respective content, even though their URLs indicate a new page in subfolders that have been generated. We're back to the fact that a 404 page isn't generated, but the index page is...

    http://winningman.com/blog

  27. moshu
    Member
    Posted 7 years ago #

    Now I'd try to reset the premalinks to the default setting and see if it works.
    It would help with further troubleshooting.

  28. stenphen
    Member
    Posted 7 years ago #

    SWEET. It works now, and I will try to go back to the (preferred) "Date and name based" setup....

    Nope. Doesn't work on that setting -- back to the "home page" content for Entry links.

    Now, with it back to Default, they work fine. Have I blindly missed something when setting it to "Date and Name based"?

  29. moshu
    Member
    Posted 7 years ago #

    Make sure mod_rewrite is enabled on the server where you are hosted. (ask them if you don't know)
    If yes, make sure you use a permitted permalinks setting.

    Can't think of anything else for the moment.

  30. stenphen
    Member
    Posted 7 years ago #

    I received this response to an inquiry of the host:
    "I have verified your Blog at: http://winningman.com/blog/. Currently, the mod_rewrite is working fine."

    The excerpts work fine for Default in Options > Permalinks... but choosing the Date and Name based option does not. Once I select that option, no entry goes anywhere but the home page content (Even when the URL shows a Date and Name-base file in the Address bar).

    If it has to be that way, that is fine -- Date and Name was just preferable.

    Thanks for all your assistance Moshu.

Topic Closed

This topic has been closed to new replies.

About this Topic