Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Change URL appearance

Featured Replies

Hi all.

 

I'm working on a site that has a login function, when you login you get transferred to the in-house dedicated server that holds the customer specific details and functions etc.

 

Is there a way that when the user is transferred to the new server that I can make the URL appear the same as the original one, perhaps using asp? (which I don't normally use)

 

The client would like the URL to be constant throughout.

 

Thanks

 

Stevo

Hi all.

 

I'm working on a site that has a login function, when you login you get transferred to the in-house dedicated server that holds the customer specific details and functions etc.

 

Is there a way that when the user is transferred to the new server that I can make the URL appear the same as the original one, perhaps using asp? (which I don't normally use)

 

The client would like the URL to be constant throughout.

 

Thanks

 

Stevo

 

You can't spoof or ghost the domain name if that's what you mean. Is there a reason you have the login system on a different server? I don't know your situation but it doesn't seem very logical to me. If you want to streamline things have it all on the same server... Another approach could be to have the secondary server redirect to elitebusinessservices.co.uk.

  • Author

Cheers Gibbs

I figured that might be the case, nevermind

 

I don't know your situation but it doesn't seem very logical to me. If you want to streamline things have it all on the same server

 

It's because when the login system was originally built it was completely separate from the website and wasn't accessible online, it's only this week that online services have been made available.

 

As for merging them on to one server, the website is written with PHP on a Linux server, but the services on the in-house server are ASP on a windows server, so the two don't play nice together.

 

I'm only here for a week so I won't be re-writing the whole thing in ASP, tho I agree it would be easier to have it all on one server.

Cheers Gibbs

I figured that might be the case, nevermind

 

 

 

It's because when the login system was originally built it was completely separate from the website and wasn't accessible online, it's only this week that online services have been made available.

 

As for merging them on to one server, the website is written with PHP on a Linux server, but the services on the in-house server are ASP on a windows server, so the two don't play nice together.

 

I'm only here for a week so I won't be re-writing the whole thing in ASP, tho I agree it would be easier to have it all on one server.

 

Is it old-style ASP or ASP.NET Stevo?

If ASP.NET, you can use Server.Transfer(url,true) to redirect to the new page and the URL will stay the same......although thinking about it, you may not be able to do that cross-domain.....scratch that one then! Soz. :-D

  • Author

You could use a frameset to keep the original URL intact. Not ideal but a quick fix :)

 

Thats something I tried originally, it worked a treat, in FF and Chrome - but Internet Explorer doesn't let you use login details in a frame unless you go into privacy/security options and allow it (It's always IE :() and putting the instructions on each page was a bit clunky.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.