473,404 Members | 2,170 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

MVC style URL cloaking system, how to.

Hi everyone.

Im developing a project wich have some url cloking needs, like the
when made with fotolog.com.
If the user type: www.domain.com/USER
this will lead to a 404 error page witch is used to map the full url
and redirect the user to the long URL ( ex.: www.domain.com/profile.php?user=USER
)

I want to make that to make the site more user friendly, like when you
type www.fotolog.com/USER and you are in the user profile. But, I want
that the URL stays with the mask to easy the navigation, Im still
thinking about how to handle the internal links, but for now this are
my main problem...

Im using .htaccess to help with the redirection handling, but Im open
to user the best way as possible.
Thanks.

best regards [ ]'s
Sep 4 '08 #1
4 1822
maginot-lpi2 wrote:
Hi everyone.

Im developing a project wich have some url cloking needs, like the
when made with fotolog.com.
If the user type: www.domain.com/USER
this will lead to a 404 error page witch is used to map the full url
and redirect the user to the long URL ( ex.: www.domain.com/profile.php?user=USER
)

I want to make that to make the site more user friendly, like when you
type www.fotolog.com/USER and you are in the user profile. But, I want
that the URL stays with the mask to easy the navigation, Im still
thinking about how to handle the internal links, but for now this are
my main problem...

Im using .htaccess to help with the redirection handling, but Im open
to user the best way as possible.
Thanks.

best regards [ ]'s
..htaccess is the best way to handle it.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Sep 4 '08 #2
On 4 Sep, 04:16, Jerry Stuckle <jstuck...@attglobal.netwrote:
maginot-lpi2 wrote:
Hi everyone.
Im developing a project wich have some url cloking needs, like the
when made with fotolog.com.
If the user type:www.domain.com/USER
this will lead to a 404 error page witch is used to map the full url
and redirect the user to the long URL ( ex.:www.domain.com/profile.php?user=USER
)
I want to make that to make the site more user friendly, like when you
typewww.fotolog.com/USERand you are in the user profile. But, I want
that the URL stays with the mask to easy the navigation, Im still
thinking about how to handle the internal links, but for now this are
my main problem...
Im using .htaccess to help with the redirection handling, but Im open
to user the best way as possible.
Thanks.
best regards [ ]'s

.htaccess is the best way to handle it.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================
With mod_rewrite (try Google for more info on how to configure it)

C.
Sep 4 '08 #3
On 4 set, 09:01, "C. (http://symcbean.blogspot.com/)"
<colin.mckin...@gmail.comwrote:
On 4 Sep, 04:16, Jerry Stuckle <jstuck...@attglobal.netwrote:
maginot-lpi2 wrote:
Hi everyone.
Im developing a project wich have some url cloking needs, like the
when made with fotolog.com.
If the user type:www.domain.com/USER
this will lead to a 404 error page witch is used to map the full url
and redirect the user to the long URL ( ex.:www.domain.com/profile.php?user=USER
)
I want to make that to make the site more user friendly, like when you
typewww.fotolog.com/USERandyou are in the user profile. But, I want
that the URL stays with the mask to easy the navigation, Im still
thinking about how to handle the internal links, but for now this are
my main problem...
Im using .htaccess to help with the redirection handling, but Im open
to user the best way as possible.
Thanks.
*best regards [ ]'s
.htaccess is the best way to handle it.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================

Withmod_rewrite(try Google for more info on how to configure it)

C.

Yeah, Im searching for that.... One thing I noticed is that when it
cloaks the URL all the link if not as absolute they will not work.

Im trying to map as http://domain/controller/view/param/param/param/.../

its nicely working, just need to make mod_rewrite works for me.

Sep 4 '08 #4
maginot-lpi2 wrote:
On 4 set, 09:01, "C. (http://symcbean.blogspot.com/)"
<colin.mckin...@gmail.comwrote:
>On 4 Sep, 04:16, Jerry Stuckle <jstuck...@attglobal.netwrote:
>>maginot-lpi2 wrote:
Hi everyone.
Im developing a project wich have some url cloking needs, like the
when made with fotolog.com.
If the user type:www.domain.com/USER
this will lead to a 404 error page witch is used to map the full url
and redirect the user to the long URL ( ex.:www.domain.com/profile.php?user=USER
)
I want to make that to make the site more user friendly, like when you
typewww.fotolog.com/USERandyou are in the user profile. But, I want
that the URL stays with the mask to easy the navigation, Im still
thinking about how to handle the internal links, but for now this are
my main problem...
Im using .htaccess to help with the redirection handling, but Im open
to user the best way as possible.
Thanks.
best regards [ ]'s
.htaccess is the best way to handle it.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================
Withmod_rewrite(try Google for more info on how to configure it)

C.


Yeah, Im searching for that.... One thing I noticed is that when it
cloaks the URL all the link if not as absolute they will not work.

Im trying to map as http://domain/controller/view/param/param/param/.../

its nicely working, just need to make mod_rewrite works for me.

Try alt.apache.configuration.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Sep 5 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Noah | last post by:
Does anyone have a function to convert back and forth between NT style paths and POSIX style? It seems trivial, but I want to make sure I don't overlook some obscure detail. Is it a simple matter...
0
by: Anne van Kesteren | last post by:
Ok, here it goes. Originally I submitted this proposal to www-style. Since I don't get feedback there, I think I missed a few (maybe a lot) of points. Proposal:...
117
by: Steevo | last post by:
Any suggestions as to the best programs for cloaking email addresses? Many thanks -- Steevo
6
by: Ken Varn | last post by:
I want to add my own custom <STYLE> section in the <HEAD> section of my ASP.NET page within a custom control. Can someone tell me how I can have my custom control add tags to the <HEAD> section of...
4
by: Michael | last post by:
Dear all .. If I want to use develop a user control and declare a public property which the type is System.Windows.Forms.GridTableStylesCollection For example : Public Class LookAndView...
100
by: jacob navia | last post by:
Recently, a heated debate started because of poor mr heathfield was unable to compile a program with // comments. Here is a utility for him, so that he can (at last) compile my programs :-) ...
8
by: shror | last post by:
Hi Everybody, I have a small question about URL cloaking, am working on an idea of creating URL cloaking system, this is that my users can get cloaked URLs for their long URLs in other words, if...
1
by: shyPotter | last post by:
Hi, I have used this feature with IIS but I cannot remember now. Basicly what I want is. When Some one type mydomain.com it goes to mydomain.com and all further links are on other domain...
5
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a machine running IIS 6.0. I just replaced the web.config and several aspx pages in the application and now the style sheets are not working. the images from the themes work but not the css...
5
by: Nathan Sokalski | last post by:
I have css that would normally be placed in style tags in the header of the Master page that I want to add programmatically for a specific Web Content Form (the *.aspx page). How do I do this for a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.