Quote:
Originally Posted by MuSuL
I had gone ahead and edited all 1200 of them. I was thinking on writing a piece of code but it only took 2 hours to do it manually. No biggie.
What would the .htaccess file have looked like? I don't have experience with them.
|
An Example .htaccess file looks something like this
PHP Code:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.old-domain.com$ [NC]
RewriteRule ^(.*)$ http://www.new-domain.com/$1 [R=301,L]
That would delivert all traffic from the "old" domain to the "new
Just edit the above and save it to your desktop as htaccess.txt
Then upload this file to your root directory, once there rename it to .htaccess
Notice where the dot is and that the .txt has now disappered, thats it