/    Sign up×
Community /Pin to ProfileBookmark

how can i force the user’s browser to go to the “www.” of my site, even if they leave it off when they type it?

to post a comment
Full-stack Developer

4 Comments(s)

Copy linkTweet thisAlerts:
@TiGGiMay 02.2006 — any reason why would you want to do that?
Copy linkTweet thisAlerts:
@careyr69authorMay 02.2006 — inside flash using remoting i have to hard code the link to my flash services... i.e. "http://www.lltest.com/flashservices/gateway"

this way it works when the user types www.... but not without, of course.

and the technique "./flashservices/gateway doesn't work...

any ideas?
Copy linkTweet thisAlerts:
@JPnycMay 02.2006 — Well generally if you leave off the www it will still find your domain but go to an error page. What I did to deal with this problem is make my index page, the error page. That what whether they type the www or not, they get the home page of my site.
Copy linkTweet thisAlerts:
@TiGGiMay 02.2006 — it don't matter flash remoting can still recognize the link even without the www

Also if you have more then one flash file that uses same AS then you can create separete as file actionFile.as and include it in flash movie:

#include "actionFile.as"
×

Success!

Help @careyr69 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...