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

Reply To: Rewrite or Redirect old website domain to new domain with new url structure

$
0
0

What I’m wanting is to set it up so that should someone enter an old URL in their browser (or access a bookmark with an old URL), they will be taken to the new page, or the nearest equivalent. Each page needs a separate redirect. As I say I already have htaccess code in place which does this – 20 redirects, two of which I put as examples above (with re-worded but otherwise identical URLs i.e. the old domain is hyphenated, the new one is short and one word). All the redirects currently work as required.

Both the old domain and the new one point to the new server, and are administered by the same new host, but only the newly developed site exists, and it’s being promoted with the new domain. The newly redeveloped site features a smaller, more focused set of products and a totally different e-commerce setup, and a number of the old pages and products no longer exist, so RedirectMatch is not the way to go. The site sells artisan chocolates, currently when you enter the old URL for organic chocolate bars, it takes you to the new page for organic chocolate bars.

As far as I can see, I just need to know how and where to enter the existing redirect code (which as I say works fine) into the secure htaccess file when I activate BPS. I’d like to add it as custom code but need to know how/which box to add it to.


Viewing all articles
Browse latest Browse all 12461

Trending Articles