Results 1 to 11 of 11

Thread: Still confused over redirects
      
   

  1. #1
    dominique is offline Sergeant
    Join Date
    Jan 2006
    Posts
    30

    Default Still confused over redirects

    I have created my site with a number of sub domains but then because I wanted to protect the names of the sub domains, I bought their domain names as add on domains.

    Because I have links and blogs set up through the sub domains I would like to keep that structure, also because there are over 500 pages.

    My problem is that both myotherdomain.mydomain.com and myotherdomain.com appear in search engines which I believe is a no no.

    I need to either get a permanent redirect put on myothersite.com or delete it without disrupting my site which has taken over a year to build.

    I noticed on another post that Naval Design gave out a code for a redirect but am not sure if this is the one I need.

    Can anybody give me any help?

    Desperately

    Dominique

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Still confused over redirects

    I beleive that having both your subdomain as well as your domain in SE is not bad at all. However, you can add the newly purchased domain name as addon domain in your account. If during the procedure, you give the wizard as addondomain folder the same folder of your subdomain, the visitore clicking on yourotherdomain.com will automatically get to visit your subdomain. There is no need to use any redirect code.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  3. #3
    Sarah's Avatar
    Sarah is offline Colonel
    Join Date
    May 2005
    Location
    Wilmington, Delaware
    Posts
    513

    Default Re: Still confused over redirects

    You can create a 301 redirect in your .htaccess file of the addon domain, you can read more on this here:

    http://www.isitebuild.com/301-redirect.htm



    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  4. #4
    dominique is offline Sergeant
    Join Date
    Jan 2006
    Posts
    30

    Default Re: Still confused over redirects

    Hi Naval Design, My problem is that I already have the add on domains which appear in the SE along with the sub domains so it appears as if there are 2 web sites with the same content.

    Hi Sarah I will check it out and let you know how it goes.

    Dominique

  5. #5
    dominique is offline Sergeant
    Join Date
    Jan 2006
    Posts
    30

    Default Re: Still confused over redirects

    Oh Dear,
    I have gone into my site and there is only one.htaccess file which is, I presume for my main site and that is empty.

    I have looked at the code which is this- 'redirect301/old/old.htm http:www.you.com/new htm'

    As I am trying to redirect a whole site which is I believe an add on to the sub which is where I want it to appear, would I put the code as - 'redirect301/mysecondsite.com/index.htm http:www.mysecondsite.mysite.com/new htm

    Sorry to be a pain but I really have to get this right.

    Thanks Dominique

  6. #6
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Still confused over redirects

    'redirect301/mysecondsite.com/index.htm http:www.mysecondsite.mysite.com/new htm i beleive it is correct, replacing "new" with the actual page name (which is probably also "index" and ofcourse html instead of htm if your pages are html. Alos, you need to modify the .htacces file which is in your addon domain folder, not the one in your public_html
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  7. #7
    dominique is offline Sergeant
    Join Date
    Jan 2006
    Posts
    30

    Default Re: Still confused over redirects

    High Navaldesign, Thank you for your quick reply.

    I have looked in the folders and there is not an htaccess file there. There is only one, which is for the main website, there is nothing written in that one, it is blank.

    Do I need to create a new one?

    Regards Dominique

  8. #8
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Still confused over redirects

    Quote Originally Posted by dominique
    High Navaldesign, Thank you for your quick reply.

    I have looked in the folders and there is not an htaccess file there. There is only one, which is for the main website, there is nothing written in that one, it is blank.

    Do I need to create a new one?

    Regards Dominique
    Yes, i beleive so
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  9. #9
    dominique is offline Sergeant
    Join Date
    Jan 2006
    Posts
    30

    Default Re: Still confused over redirects

    Hi, I was afraid that was the case. Wish me luck I am going in.

    Dominique

  10. #10
    dominique is offline Sergeant
    Join Date
    Jan 2006
    Posts
    30

    Default Re: Still confused over redirects

    Oh dear, I am pretty sure that I have followed the directions but when I put the redirect .htaccess in the folder I got a 500 error. When you save the file, should it be RTF, plain text or all files or does it not matter.

    I am now totally confused.

    Dominique

  11. #11
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Still confused over redirects

    Open a new page in Notepad. Enter the code, go to File, Save as, select File Type: All files, and save it as "txt.htaccess". Upload it on the server, in your addon domain folder, using either FTP or File Manager..
    Now, while you are still connected with FTP or File Manager, rename the file from "txt.htacceess" to ".htaccess", deleteing the "txt" part.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49