• I have a blog at http://heart-strutter.org and I’m trying to set up a photolog at heart-strutter.org/365 but it’s not working. If you click on any page (such as About) in the 365 photolog it takes you straight to my main domain heart-strutter.org

    I don’t know if this has to do with the permalinks, .htaccess, or what… but does anyone have any ideas? Any help is appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Brigitte

    (@brigitte)

    Okay, here’s the .htaccess for Heart-strutter.org:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    # If subdomain www exists, remove it first
    RewriteCond %{HTTP_HOST} ^www\.([^\.]+\.[^\.]+)$ [NC]
    RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
    
    # If requested resource does not exist as a file
    RewriteCond %{REQUEST_FILENAME} !-f
    # and does not end with a period followed by a filetype
    RewriteCond %{REQUEST_URI} !..+$
    # and does not end with a slash
    RewriteCond %{REQUEST_URI} !/$
    # then add a trailing slash and redirect
    RewriteRule (.*) $1/ [R=301,L]
    </IfModule>
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    After changing the .htacces of /365 to this:

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

    then the pages started working…
    However, can someone tell me is there’s anything I should change to these .htaccess files?

    Thread Starter Brigitte

    (@brigitte)

    Okay, sorry to keep posting, but it’s still not resolved.
    If I go to say http://heart-strutter.org/365/wp-admin/post-new.php it automatically takes me to heart-strutter.org. How can I fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Blog and Yapb Photolog on same domain’ is closed to new replies.