SitePoint Sponsor

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 25 of 35

Hybrid View

  1. #1
    SitePoint Wizard silver trophybronze trophy asp_funda's Avatar
    Join Date
    Jun 2003
    Location
    ether
    Posts
    4,497
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Question changing the url in address bar

    Hi
    I want to know that if there's a way to display a different url in the address bar of the browser other than the url of the page being viewed??

    Or if there's a way to hide the address bar of the current browser window??
    Our lives teach us who we are.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Me - Photo Blog - Personal Blog - Dev Blog
    iG:Syntax Hiliter -- Colourize your code in WordPress!!

  2. #2
    011521 dbalsdon's Avatar
    Join Date
    Feb 2003
    Location
    North Of Scotland
    Posts
    444
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by asp_funda
    I want to know that if there's a way to display a different url in the address bar of the browser other than the url of the page being viewed??
    nope, cant be done...

    Quote Originally Posted by asp_funda
    Or if there's a way to hide the address bar of the current browser window??
    in a popup window.. YES
    in the main window.. NO
    Daniel Balsdon
    My Site

  3. #3
    SitePoint Enthusiast turkle112's Avatar
    Join Date
    Aug 2003
    Location
    SC
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I want to know that if there's a way to display a different url in the address bar of the browser other than the url of the page being viewed??
    Actually I think it can be done, but not with javascript. You would have to go into the server and set it up there. I don't remember exactly how to do it but I believe it you can display an url like www.theoneIwantToSee. com insted of www.theoneIdontwanttoSee.com/page/page.html. We learn about this in school but it is done through server configuration. I am thinking it has something to do with creating a dns that points to the url you want to see. But don't hold me to that.
    Turk
    Digial Media Producer/Webmaster
    I love my job

  4. #4
    SitePoint Wizard silver trophybronze trophy asp_funda's Avatar
    Join Date
    Jun 2003
    Location
    ether
    Posts
    4,497
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    But I don't have any control over the server. So I can't just open the server manager control & modify the settings.(-: Is there any other way??
    Our lives teach us who we are.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Me - Photo Blog - Personal Blog - Dev Blog
    iG:Syntax Hiliter -- Colourize your code in WordPress!!

  5. #5
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No - you can't hide the URL - so don't bother trying. Using URL rewriting from the server (such as Apache's mod_rewrite) could let you change the URL to something different, but without knowing what you're after exactly, I can't say that it will offer you the results you want.

    I suspect that you have a different problem, and are trying to treat this symptom instead.
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  6. #6
    SitePoint Wizard silver trophybronze trophy asp_funda's Avatar
    Join Date
    Jun 2003
    Location
    ether
    Posts
    4,497
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Ok, the thing is that in one section of my site every link is opened in a new window. I don't want the url of the window to look like http://www.mysite.com/folder/file.html. Instead I want it to look like http://www.mysite.com.

    For that I am asking whether there's a way to display a other url instead of the actual url of the file.
    Our lives teach us who we are.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Me - Photo Blog - Personal Blog - Dev Blog
    iG:Syntax Hiliter -- Colourize your code in WordPress!!

  7. #7
    SitePoint Addict
    Join Date
    Dec 2001
    Location
    Market Harborough, UK
    Posts
    206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've seen URL re-writers which work by using Frames (yuk!)

    I'd suggest when you open the new window, you do it as a popup using J-S and then simply have the new window appear without an address bar (you did say that was an option!).
    Paul Simpson, BSc, MCNI, MCNE

  8. #8
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The only way to get the result you describe is to use a frameset, that I know of.
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  9. #9
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Even if this was possible, don't do it. It's terribly annoying.
    Mattias Johansson
    Short, Swedish, Web Developer

    Buttons and Dog Tags with your custom design:
    FatStatement.com

  10. #10
    SitePoint Wizard silver trophybronze trophy asp_funda's Avatar
    Join Date
    Jun 2003
    Location
    ether
    Posts
    4,497
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by beetle
    The only way to get the result you describe is to use a frameset, that I know of.
    I too think that perhaps that's the only way. I left this option for the last since I thought that there may be anotherconvenient way but now I think that I'll have to go with it only.

    Quote Originally Posted by M. Johansson
    Even if this was possible, don't do it. It's terribly annoying.
    What exactly do you mean by it, plz explain. I don't think that it'll be annoying. I can make 2 frames on the page & use the 1st as 100% & second as 0%.
    Our lives teach us who we are.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Me - Photo Blog - Personal Blog - Dev Blog
    iG:Syntax Hiliter -- Colourize your code in WordPress!!

  11. #11
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by asp_funda
    What exactly do you mean by it, plz explain. I don't think that it'll be annoying. I can make 2 frames on the page & use the 1st as 100% & second as 0%.
    It's annoying in the sense that you make it extremely hard to like to individual pages.
    Mattias Johansson
    Short, Swedish, Web Developer

    Buttons and Dog Tags with your custom design:
    FatStatement.com

  12. #12
    SitePoint Wizard silver trophybronze trophy asp_funda's Avatar
    Join Date
    Jun 2003
    Location
    ether
    Posts
    4,497
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by M. Johansson
    It's annoying in the sense that you make it extremely hard to like to individual pages.
    I still don't understand. The only difference in a single frame & a normal page is that the single frame page doesn't show the url of the file that's being navigated & the normal page shows the url of the page being opened.
    As far as I know, the visitor to the site isn't bothered with it as long as there is proper navigation system available on the site & the pages open well enough.
    Our lives teach us who we are.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Me - Photo Blog - Personal Blog - Dev Blog
    iG:Syntax Hiliter -- Colourize your code in WordPress!!

  13. #13
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by asp_funda
    I still don't understand. The only difference in a single frame & a normal page is that the single frame page doesn't show the url of the file that's being navigated & the normal page shows the url of the page being opened.
    As far as I know, the visitor to the site isn't bothered with it as long as there is proper navigation system available on the site & the pages open well enough.
    What beetle said.
    Mattias Johansson
    Short, Swedish, Web Developer

    Buttons and Dog Tags with your custom design:
    FatStatement.com

  14. #14
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think he's referring to the fact that the link can't be shared, bookmarked, or used otherwise, easily. I'm sure most of us here knows how to do all these things, but we don't represent the general demographic.
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  15. #15
    SitePoint Wizard silver trophybronze trophy asp_funda's Avatar
    Join Date
    Jun 2003
    Location
    ether
    Posts
    4,497
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by beetle
    I think he's referring to the fact that the link can't be shared, bookmarked, or used otherwise, easily. I'm sure most of us here knows how to do all these things, but we don't represent the general demographic.
    Yes I think that you are right about that beetle & M.J but the frames technique can be applied to pages which are not for other sites to link & which needn't be bookmarked, no??
    Our lives teach us who we are.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Me - Photo Blog - Personal Blog - Dev Blog
    iG:Syntax Hiliter -- Colourize your code in WordPress!!

  16. #16
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by asp_funda
    Yes I think that you are right about that beetle & M.J but the frames technique can be applied to pages which are not for other sites to link & which needn't be bookmarked, no??
    What kind of pages don't need to be bookmarked or linked? I can tink of a few scenarios, but they are very few.
    Mattias Johansson
    Short, Swedish, Web Developer

    Buttons and Dog Tags with your custom design:
    FatStatement.com

  17. #17
    SitePoint Wizard silver trophybronze trophy asp_funda's Avatar
    Join Date
    Jun 2003
    Location
    ether
    Posts
    4,497
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by M. Johansson
    What kind of pages don't need to be bookmarked or linked? I can tink of a few scenarios, but they are very few.
    Pages like the portfolio or the services offered by a company website. These pages doesn't need to be linked by websites other than the company websites.
    There can be a few more scenarios but you are right about one thing, there aren't many.
    Our lives teach us who we are.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Me - Photo Blog - Personal Blog - Dev Blog
    iG:Syntax Hiliter -- Colourize your code in WordPress!!

  18. #18
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by asp_funda
    Pages like the portfolio or the services offered by a company website. These pages doesn't need to be linked by websites other than the company websites.
    I think they do. How can you promote your company's services if you can't get a good listing on Google? Frames require a fair bit of workarounds in order to get a decent search engine ranking.

  19. #19
    SitePoint Wizard silver trophybronze trophy asp_funda's Avatar
    Join Date
    Jun 2003
    Location
    ether
    Posts
    4,497
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You are right there V but I can have a dynamic page with a URL like http://www.mysite.com/?id=www.client1.com

    I don't think that there will be a problem getting search engine ranking in this case, will it be??
    Our lives teach us who we are.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Me - Photo Blog - Personal Blog - Dev Blog
    iG:Syntax Hiliter -- Colourize your code in WordPress!!

  20. #20
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Yes it will. Frames complicates search engine optimization a lot. And it should definetly be possible to link to your portfolio and services pages. I can with 100% certainty say that, sooner or later, someone will want to link to a page in your portfolio or services section.
    Mattias Johansson
    Short, Swedish, Web Developer

    Buttons and Dog Tags with your custom design:
    FatStatement.com

  21. #21
    SitePoint Wizard silver trophybronze trophy asp_funda's Avatar
    Join Date
    Jun 2003
    Location
    ether
    Posts
    4,497
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by M. Johansson
    Frames complicates search engine optimization a lot.
    Not if I put right meta tags in the page that's containing the frames instead of the documents that are loaded in the frames, no??

    Quote Originally Posted by M. Johansson
    I can with 100% certainty say that, sooner or later, someone will want to link to a page in your portfolio or services section.
    Ah, why would one do that?? Services I can understand but why would anyone want to link to my portfolio??
    Our lives teach us who we are.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Me - Photo Blog - Personal Blog - Dev Blog
    iG:Syntax Hiliter -- Colourize your code in WordPress!!

  22. #22
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by asp_funda
    Not if I put right meta tags in the page that's containing the frames instead of the documents that are loaded in the frames, no??
    No indeed. Only 1 major search engine (don't remember which) still reads meta-data for use in search ranking -- the rest of them, namely Google, MSN, and Yahoo, don't.
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  23. #23
    SitePoint Wizard silver trophybronze trophy asp_funda's Avatar
    Join Date
    Jun 2003
    Location
    ether
    Posts
    4,497
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    then what do they do??
    Our lives teach us who we are.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Me - Photo Blog - Personal Blog - Dev Blog
    iG:Syntax Hiliter -- Colourize your code in WordPress!!

  24. #24
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Instead of reading meta tags? They spider the entire page instead.
    Mattias Johansson
    Short, Swedish, Web Developer

    Buttons and Dog Tags with your custom design:
    FatStatement.com

  25. #25
    SitePoint Wizard silver trophybronze trophy asp_funda's Avatar
    Join Date
    Jun 2003
    Location
    ether
    Posts
    4,497
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    then how can a framed page be spidered by the search bots?? should I put some of the content in between the <noframes> tag??
    Our lives teach us who we are.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Me - Photo Blog - Personal Blog - Dev Blog
    iG:Syntax Hiliter -- Colourize your code in WordPress!!


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
  •