Forums

Half mapped domain (9 posts)

  1. brasofilo
    Member
    Posted 6 months ago #

    not sure what happened here...
    probably the site cloning, but only noticed after activating WPML

    the permalinks are being shown as subdomain, not as mapped domain
    - the other two mapped domains are ok

    subdomain is set as primary
    checked options.php but no hint, looks like everything there has to address the subdomain

    could this be a faulty table options?

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

    You may have to search the database of tables for that site and see if it's in there.

  3. brasofilo
    Member
    Posted 6 months ago #

    it's a WPML bug

    it had been reported in their forums a month ago, and clients (me included now) are waiting for a solution

  4. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 6 months ago #

    Well that whomps :/

  5. brasofilo
    Member
    Posted 6 months ago #

    do you think this could be due to the domain mapping plugin?
    [nonetheless, i'll open a proper thread over there]

    what would be the effect of this htaccess commands?

    Options +FollowSymLinks
    [wordpress-subdomain-block-of-code]
    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1
  6. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 6 months ago #

    Possibly, but unlikely since the domain mapping plugin folks have their own site replicator plugin that works fine ;) If anything, it's more likely that the replicator plugin is getting 'too much.'

    And... I can't tell you if the htaccess is wrong or right, you cut out all the important stuff ;)

  7. brasofilo
    Member
    Posted 6 months ago #

    oh, sorry... should have been more specific

    site cloning has been ruled out as source of the problem

    WPML support is claiming this is an issue between their plugin and Domain Mapping plugin

    this is the full code that supposedly would correct the issue, but i am not much willing to try without knowing what it does...

    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [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]
    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1

    [edit: my installation is SubDomain, there are a pair of lines from SubFolder]

  8. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 6 months ago #

    And they want you to add in

    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1

    I take it?

    Well... You can try it. If it doesn't work, just yank 'em back out.

  9. brasofilo
    Member
    Posted 6 months ago #

    this was a suggestion from another user,
    but no, it doesn't work...

    thx for taking a look, though

Reply

You must log in to post.

About this Topic