• I am having trouble find a plugin, or the correct file/code to set the static home page to an external link.

    I need to link the hompage to a subdomain for an online store, that is outside of wordpress (example: shop.domain.com).

    Is there a place where I can manually add the external link?

    If so can someone please provide the file, section, and code to write?

    Thank you for your help,

    Max

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    AFAIK this is more of a server issue than WP, so I would look to adding a RewriteRule to your .htaccess file (assuming Apache server).

    I can’t offer exact syntax, but you should be able to eventually work out something that works from online examples. The sticking point is getting the browser to still show the original request in the address bar even though the redirect has gone elsewhere. I believe using a relative rewrite (don’t specify https:// in the rewritten URL) will cause this behavior, though I’m even less sure for sub-domains.

Viewing 1 replies (of 1 total)
  • The topic ‘Using an external link for the static (home) page’ is closed to new replies.