Broken Links
-
to redirect domain2.com to domain1.com/specific-page
i’m used to having to add custom 301 redirect rules to my sites’ htaccess file.
when i do that, & someone goes to domain2.com, they’re taken to the “specific-page” on domain1.com – but the url in the address bar changes from domain2.com to domain1.com/specific-page. this doesn’t affect any links on that page.i just discovered that when i use this plugin, the url in the address bar stays as the added domain2.com. this means when the user clicks on a link in that page that’s relative like “/another-page”, instead of being taken to domain1.com/another-page they’re taken to a broken (non-existent) domain2.com/another-page.
is there a way to have this work more like the htaccess method or do i have to change all the relative links (/another-page) in the site to full url links (https://domain2.com/another-page)?
- The topic ‘Broken Links’ is closed to new replies.