|
|||||||
| |||||||
|
|||
|
Re: Which front page link to use? -
12-05-2007, 05:05 AM
Hi Tony.
I didn't mean my comment as anything but a comment, just thought it was good thinking on the part of the people that brought those domain names. About the .htaccess file and using it to change the files you want, I just tried doing it on our .htaccess and those particular redirects don't seem to work. It only works to redirect a local and global domain name to the same page. And non www to the www equivant eg taking the / out after the url redirect didn't make the page open without the / Options +FollowSymlinks RewriteEngine on rewritecond %{http_host} ^canzdesign.com [nc] rewriterule ^(.*)$ http://www.canzdesign.com/$1 [r=301,nc] RewriteCond %{HTTP_HOST} ^canzdesign.co.nz [nc] RewriteRule (.*) http://www.canzdesign.com/$1 [R=301,L] RewriteCond %{HTTP_HOST} ^www.canzdesign.co.nz [nc] RewriteRule (.*) http://www.canzdesign.com/$1 [R=301,L] One thing to note though is the name of the file .htaccess with a period at the start and no txt filename. Hope this is some help. |
|
|||
|
Re: Which front page link to use? -
15-05-2007, 02:43 AM
CanzDesign the 301 redirect that Tony put up a couple of pages back was only meant to redirect to the same page as you can see in his post below. I don't know what your redirect code is suppose to do.
Quote:
Note again that I am using Host Gator with unlimited domain names and I am using 2 addon domains at this time. Quote:
Mike |
|
|||
|
Re: Which front page link to use? -
15-05-2007, 09:37 AM
Quote:
|
|
|||
|
Re: Which front page link to use? -
15-05-2007, 06:37 PM
Darn. Matt that just about worked.
My operating system wouldn't let me rename the files to .htaccess on my desktop but I was able to rename them once I uploaded the files to my server. When I did it my 2 addon domains showed like this www.my1staddondomain.com and www.my2ndaddondomain.com like they should. But I wasn't able to log into the forum that I am working on. The forum is in one of my addon domain directories with it's own folder in that directory. So I probably couldn't log into it because the forum is in it's own directory. Is that right? When I deleted the three 301 redirects I was able to log into the forum again. I wonder if it would make sense to add a .htaccess redirect file to both my addon domain directory as well as within the forum folder of the same addon domain directory? Would that cause a conflict? Thanks Mike |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Submit to these directories | peterjhale | Internet Marketing Forum | 18 | 13-05-2007 11:26 AM |
| Do you want a link on our website? | MK Printing | Buy sell or trade | 3 | 12-10-2006 03:52 PM |
| Link problem | Ian J | Internet Marketing Forum | 1 | 23-01-2006 04:02 PM |
| Link exchange with page it has pr 3 ore more | Ulik | Search Engine Optimisation Forum | 1 | 24-04-2005 02:11 PM |