Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 7 of 7
  1. #1
    Junior Member The Bride's Avatar
    Join Date
    May 2006
    Location
    Tipperary, Ireland
    Posts
    22
    Member #
    13201
    Somebody suggested to me recently that I should set up my website as a multi-regional one. But I've a question that I hope someone can help me with.

    I can put flags on the top of the page and these can be clicked on. I have several domain names registered......BUT......am I going to have to pay hosting on them all? Currently I have them all linking to my .com domain name.

    Should I just get each new domain name to link to yet another page in my .com site? Or is this even possible.

    Anyone got any ideas on what I should do?

    Thanks in advance.

  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    What you could do is make your root index/main file contain the flags.

    These flags will link to each flag's regional website, such as

    UK flag: http://yourdomain.com/en
    France flag: http://yourdomain.com/fr

    And so on.

    And lets say you have common .css files (or others).

    Instead of having them in each subdirectory (en, fr etc..) you could have them in the root (where the flags page is).

    This way, all files in the different subdirectories can reference the files like..

    HTML Code:
    <link rel="stylesheet" type="text/css" href="../styles.css" />
    Good luck.

  4. #3
    Junior Member The Bride's Avatar
    Join Date
    May 2006
    Location
    Tipperary, Ireland
    Posts
    22
    Member #
    13201
    Thanks bfsog. The flag links I can understand. I'll try to get my head around the other bit. :cross-eyed:

  5. #4
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    Lets say in my root directory I have 2 files
    index.htm is the file with the links
    styles.css is the site wide css styles

    And also in my root directory I have 2 subdirectories
    en/
    fr/

    Instead of having the css file in both directories, we can reference the css file in the root by ../styles.css

    ../ means go up a directory, in this case to the root.

    The advantage?

    If you edit the css (or any template/include file, like a php menu, an external javascript) you would need to upload the change in both subdirectories.

    This method means you only have to upload the file once.

    Hope it's clear now!

  6. #5
    Junior Member The Bride's Avatar
    Join Date
    May 2006
    Location
    Tipperary, Ireland
    Posts
    22
    Member #
    13201
    Cheers! You've explained it vey well.

  7. #6
    Junior Member
    Join Date
    Dec 2005
    Posts
    21
    Member #
    12072
    That was pretty illuminating...Thanks to you.
    ::Life is Beautiful::
    Short Run Printing

  8. #7
    Junior Member
    Join Date
    May 2006
    Posts
    7
    Member #
    13269
    Well said bfsog. Thanks for the words of wisdom.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:50 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com