Jump to content

URL Rewrite: How to do this?


Recommended Posts

So I finally managed to settle with a host recently with my site under its new domain name for my forum! Whoo.

Question


1. I know in .htaccess you can set URL Forwarding or something so that the old domain(s) redirect properly back to the sites's new URL

How do you do this? This will be for 5 previous used domains we had(I know a lot :P)


2. We've had quite a few domain names. Is it possible to set up a URL rewrite on one of our older domains IF someone else owns that url or it has gone into the registrar's collection?

I doubt that ^above but I figured it didn't hurt to ask.

Link to comment
Share on other sites

RewriteCond %{HTTP_HOST} ^olddomain\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.olddomain\.com$
RewriteRule ^/?$ "http\:\/\/www\.newdomain\.com\/" [R=301,L]

olddomain/newdomain replace with your domain you need do that each domain.

2. We've had quite a few domain names. Is it possible to set up a URL rewrite on one of our older domains IF someone else owns that url or it has gone into the registrar's collection?

nope

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...