Welcome to TalkGraphics.com
Results 1 to 8 of 8
  1. #1

    Default Managing large websites - moving web address

    Hi there, I am in a bit of a pickle.

    I have read and fully understood the 'large web site' documents.

    If I have a site www.abc.com, just create mini projects in sub directories such as:

    www.abc.com/about, www.abc.com/projects etc.

    In the mini projects I can link back to www.abc.com/index or any other page in the 'master' project.

    Clear!

    Now the problem.
    I don't have a web site yet, I am developing it. I have web space at a provider and have secured my web URL. Of course, I do not want to upload my partly finished web site to my REAL URL, I am using an obscure sub directory for testing, such as www.abc.com/test-991282374367464 so nobody accidentally stumbles on my half finished web site.

    So my problem is that if I split my web site in mini web sites, I would like to globally change www.abc.com/test-991282374367464 to www.abc.com when i go live.

    Is there a solution to this problem?

    Can you set some sort of master variable that you can just change in one place?



    If I want to use

  2. #2
    Join Date
    Aug 2007
    Location
    Maghull UK
    Posts
    6,202

    Default Re: Managing large websites - moving web address

    JOHN -XaReg (FB) XaReg (DB - ignore prompt to register)
    Windows 10 [Anniversary] pro Intel Pentium CPU G630 @ 2.70Ghz RAM: 4 GB; 64-bit x64

  3. #3
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,502

    Default Re: Managing large websites - moving web address

    You are over thinking this. abc.com will load your home page. About will link to abc.com/about Home will link to abc.com etc.

  4. #4

    Default Re: Managing large websites - moving web address

    Hi, gwpriester , I don't think ytou see th eprovblem and perhaps I am not clear.

    However, neodeist got it and I believe the relative addressing may be the answer.

    A quick test was successfull.

    I need to do further tests and will post again when done.

    Thank you neodeist for the idea.


  5. #5

    Default Re: Managing large websites - moving web address

    Hi neodeist

    Your idea of relative addressing works!

    To re-iterate, I needed a xara project with sub-projects which I could upload to any web

    address without the links between the project and sub-projects breaking.

    This allows me to have a www.???.com LIVE web site for public access and a

    www.???.com/testmenow web site for testing purposes.

    All working now, details as follows:



    Started blank project and one blank page named Project1

    Yellow background
    Text box containing:
    Project1 index page
    Link to project2

    Web properties of text project2: ..\index.htm
    (double dot to move down a directory)



    Started blank project and one blank page named Project2

    Blue background
    Text box containing:
    Project2 page 1
    Link back to project1 index

    Web properties of text index: .\project2\project2-page1.htm
    (single dot to indicate current directory)


    Files and export in following directory structure:


    G:.
    | notes.txt
    | Project1.web
    | Project2.web
    |
    \---website
    | index.htm
    |
    +---index_htm_files
    | roe.js
    | xr_files.txt
    | xr_main.css
    | xr_text.css
    |
    \---Project2
    | project2-page1.htm
    |
    \---project2-page1_htm_files
    roe.js
    xr_files.txt
    xr_main.css
    xr_text.css


    FTP'ed content of directory website to www.???.com/testmenow

    All working fine.
    the files can be copied to any directory and all still works.


  6. #6

    Default Re: Managing large websites - moving web address

    Directory structure - shown more clearly (dot = space)
    G:.
    | notes.txt
    | Project1.web
    | Project2.web
    |
    \---website
    ....| index.htm
    ....|
    ....+---index_htm_files
    ....| roe.js
    ....| xr_files.txt
    ....| xr_main.css
    ....| xr_text.css
    ....|
    ....\---Project2
    .............| project2-page1.htm
    .............|
    .............\---project2-page1_htm_files
    ......................roe.js
    ......................xr_files.txt
    ......................xr_main.css
    ......................xr_text.css
    Last edited by Pegasus; 31 January 2011 at 07:26 PM. Reason: trying to show spaces

  7. #7
    Join Date
    Dec 2010
    Location
    Kristiansand, Norway
    Posts
    165

    Default Re: Managing large websites - moving web address

    You shouldn't need that ./ part of your path to mode into a folder in the current path.
    You could also name that second project index.htm
    The link to project2 would then simply be 'Project2/' which also works without that final slash.

  8. #8

    Default Re: Managing large websites - moving web address

    Thank you.

 

 

Bookmarks

Posting Permissions

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