Quantcast
Channel: BulletProof Security Forum » All Posts
Viewing all articles
Browse latest Browse all 12488

Reply To: Redirecting parked domains

$
0
0

It’s common practice in non-US countries to buy several versions of a domain, with different tlds and point them at the same website, 301-redirecting all but the primary domain.  This avoids “domain-squatting”.

For example:
For domain.com & domain.co.uk,
domain.co.uk/abc  gives 301 redirect to  domain.com/abc

On my BPS website, domain.uk is not being rewritten to domain.co.uk, even though this is the website address in WordPress settings.

On other websites, I usually throw in a rewrite which checks %{HTTP_HOST} and rewrites appropriately, but how do I integrate this sort of rewrite successfully with the BPS custom code system?

I have another WordPress site, which doesn’t use BPS, seems to be able to redirect domain.co.uk to domain.com fine, but it uses my domain rewrite code.

  • This reply was modified 7 hours, 58 minutes ago by Avatar of AITpro Admin AITpro Admin.

Viewing all articles
Browse latest Browse all 12488

Trending Articles