• Hello,

    When I map my domain it seems to only works sometimes other times it redirects to the permalink for example i have mymaindomain.com/trainer and the domain that redirects to that page is otherdomain.com but when I go to otherdomain.com it gives me otherdomain.com/trainer using the page slug with my additional domain which pulls a 404 page not found

    I looked on the forum to see if someone had a problem like mine and it turns out someone did and it seem he found the answer to his problem which was

    /**
      * Stop Redirecting to Canonical for Multi Domain to Work
      */
    remove_action('template_redirect', 'redirect_canonical');

    and i tried this solution but now i get a no page found on mobile, and a plane html page on browser (any browser) no images, no sliders just colored text.

    is there anything you can recommend to troubleshoot? or has anyone else had a similar problem that can be of help?

    Thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author matthias.wagner

    (@matthiaswagner)

    hy,

    first thing: this sounds like you have a caching plug-in enabled. check for those (also some themes come with caching already those days) and disable them. then completely clear your browsers caches. then try again and you should see at least the same results in every device/browser

    matt

    Thread Starter Yeko

    (@yeko)

    I did have a caching plugin a while ago but it was deleted, the only plugins i have installed are:
    Contact Form 7
    Elementor
    Elementor Pro
    Envato Elements
    Multiple Domain Mapping on single site
    Orbit Fox Companion
    WP Staging Pro – NOT activated
    WP-Live Chat by 3CX

    I changed the name of the Plugins folder in the FTP to something else so no plugins would show then my main and other domains were pointing to the Home page so i went to the plugins folder and deactivated one by one cleared history, cookies and cache on all browsers and tried but now on my phone i get the “Site Not Found” message but from the hosting company not my 404 page

    I even had really simple SSL installed but I deleted it and just used

    RewriteEngine On
    RewriteCond %{HTTPS} !on
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

    in my .htaccess file

    deactivated my theme which is Hestia Pro (I talked to their support peeps and they said no caching comes with the theme.

    i guess it doesn’t matter what combination i try some browsers work some don’t specially on phone do you have any other suggestions i can try?

    thank you so much for replying to these comments.

    P.S
    I can’t wait for your pro version of this plugin hopefully you guys have more time to develop it.

    Thanks

    Thread Starter Yeko

    (@yeko)

    Small update
    I deleted the domain mapping so there are no active domain mappings on my site and now mydomain.com and myotherdomain.com point to my main homepage and everything works fine, page loads great!

    hopefully this info will help a little

    thanks

    Plugin Author matthias.wagner

    (@matthiaswagner)

    hy,
    as long as you can’t produce same results on different browsers (while mappings are active), it must be some misconfiguration outside of our plugin, since we only handle requests inside wordpress (and that, only depending on the requested url). the 404-site from your hosting-company could be an interesting hint.

    the easiest way would be to only activate our plugin and deactivate all other, then post screenshots of your domain configuration and your mappings, so we can take a closer look if you like ??

    matt

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Permalinks and Page Slug Redirection’ is closed to new replies.