Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter subeeweb

    (@subeeweb)

    Stefan,

    Thank you for such a quick update! This has fixed my problem completely. I really appreciate this, thank you again.

    Thread Starter subeeweb

    (@subeeweb)

    A bit more information…

    When I installed WP on this site, I used Fantastico via cPanel to do the install; and per the instructions I let Fantastico create the ‘blog’ directory, and it was installed directly into that directory.

    In other words, I did not install it at the root and then move it, or install it into a pre-existing directory, nor have I changed the name of the ‘blog’ directory. This installation was the exact installation using Fantastico’s installer via cPanel.

    Just can’t figure out why it’s so screwy…

    Thread Starter subeeweb

    (@subeeweb)

    Thank you, michael.mariart. I just tried your suggestion but I can’t seem to make any settings in the permalinks which will allow the post to be accessed. In other words, all the current links are broken. My home page shows up but all the blog pages/posts get a 404 error. I can manually add the “/blog/” into the urls generated by the permalinks but can’t get it to write itself in without using the line below in my .htaccess file:

    RewriteRule ^(/)?$ blog [L]

    But this, as I mentioned, makes my home page unreachable since it redirects everything to the blog folder.

    I did try actually deleting all the posts and pages I already had, then creating a brand new one after 1) deleting the original .htaccess file and then 2) trying to set the permalinks as you suggested. Still, I couldn’t access the new post (got a 404). Although, the 404 message is the one within the theme and not the default Apache 404.

    This is what the newly created .htacess file shows:
    —————————-
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    ——————————-

    I tried pasting the /blog/ rewrite line, and other parts of the original .htaccess file into this new one, just to see if I could get anything magical to happen. No luck.

    Am I simply setting my permalinks incorrectly? It seems to me that the permalinks have more to do with the ‘filename’ of the post/page, rather than the ‘directory’. At this point I am not at all concerned with the ‘filename’ of the post… I simply want the /blog/ directory to be correctly inserted into all the links for the Edit previews links, and on the navigation links in the sidebar when viewing the actual post/page… plus, the home link needs to point to the main page of the existing website.

    Seems like it should be so simple…

Viewing 3 replies - 1 through 3 (of 3 total)