• Resolved momodulor

    (@momodulor)


    Hi All!
    Here is my problem:
    Multisite (subdirectories). I install it to create second blog. Posts’ pages are static on both sites.
    When I add a post on the second blog site, real permalink for this post is: site.com/subfolder/post1
    But heading from this post follows to the wrong URL site like this:
    site.com/post1

    How can I fix this problem?

    Thanks in advance!

Viewing 15 replies - 1 through 15 (of 17 total)
  • No idea without any more details.

    link to your site?
    Did you disable plugins?
    Are you *sure* you are logging in to the correct admin area?
    Are you just writing a page normally, no permalink editing?
    Did you check the permalink settings?
    Did you double check the htaccess file?

    Thread Starter momodulor

    (@momodulor)

    I checked all you wrote except htaccess

    here is link to the site:
    main blog is:
    https://bflip.ca/updates/
    permalinks on this site: %postname%

    blog on subfolder site is:
    https://bflip.ca/communitydiscussion/community-discussion/
    permalink here is day and name: /%year%/%monthnum%/%day%/%postname%/

    my htaccess is:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    </IfModule>
    
    # END WordPress

    thanks

    main blog is:
    https://bflip.ca/updates/
    permalinks on this site: %postname%

    blog on subfolder site is:
    https://bflip.ca/communitydiscussion/community-discussion/

    No, your main site is https://bflip.ca/

    What modifications did you do when you set things up? If you removed the /blog/ from the permalinks, you may have some sort of ocllusions going on IF you have made pages on the main blog with the same name as the sub blog (which is https://bflip.ca/communitydiscussion/ )

    Thread Starter momodulor

    (@momodulor)

    sorry, I did not removed /blog/ from my permalink I just did not copy whole structure for main site:
    /blog/%postname%/

    do you still recommend me to change it?

    thanks

    Thread Starter momodulor

    (@momodulor)

    I changed the main blog permalink to default.

    But anyway, on the second blog site (subfolder) I have the post with permalink: https://bflip.ca/communitydiscussion/?p=32 but on blog page this permalink is changed to broken link https://bflip.ca/?p=32 I do not understand how is that possible.
    I installed another subfolder site – the same problem

    I installed another subfolder site

    HOW are you “installing” another subfolder site?

    in multisite, you just add another site, no installing anything. I want to verify you’re actually using multisite.

    Again, troubleshooting in wordpress means you turn off all your plugins and try again.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You don’t have WordPress installed in a folder called updates while you have it ‘acting’ like it’s in the root of your site, right?

    Thread Starter momodulor

    (@momodulor)

    HOW are you “installing” another subfolder site?

    Sorry for terminology… I actually add it

    You don’t have WordPress installed in a folder called updates while you have it ‘acting’ like it’s in the root of your site, right?

    WordPress is installed in htdocs/sitename this is not an updates folder

    And have you turned off all your plugins?

    Thread Starter momodulor

    (@momodulor)

    Hi,

    1.I deactivated all my plugins
    2.I added new static page for the posts
    3.I created home page for the second blog
    4.I moved to trash all previous posts from second blog then I created new one.

    Result is absolutely the same – broken link to nowhere. (the middle part of the path just disappeared. I mean, the full path to the post is: example.com/subfolder/?p### but after publishing the link follows to example.com/?p### which does not exist)

    What do you think about it?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    What are the permalinks set to on the sub blog, and did you try to re-save those?

    Thread Starter momodulor

    (@momodulor)

    permalinks set to default. I reset it to the “Day and name” – same result. I resaved it to default the same thing again… If you can read htaccess (in the beginning of this post) may be in this file something wrong?

    Thanks for quick response!

    2.I added new static page for the posts
    3.I created home page for the second blog

    Why are you doing this? there’s no need. I’m not sure what you’re trying to accomplish here.

    Delete whatever pages you’re creating. Just add a new blog under Super Admin -> Sites.

    Thread Starter momodulor

    (@momodulor)

    Thanks for your help and Happy New Year!
    New year brought a decision to my problem:
    I found when I use default theme – everything is working well. So it seems to me that free theme “Simplo” does not work with multisite installation correctly

    there was the problem!

    Cheers

    Thread Starter momodulor

    (@momodulor)

    It is possible to solve this problem this way:
    1. create a copy of the current theme with different name
    2. install the “new theme”
    3. activate it for the second blog

    now permalink has whole path

    WordPress has been updated to 3.0.3

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Heading Links from Second Blog Follow to Wrong URL’ is closed to new replies.