doforumda Posted May 23, 2010 Share Posted May 23, 2010 hi I need help about Is there any way to shorten url or to make url appear different in url area in web browser than the real url? I mean that lets say this is url "http://www.phpfreaks.com/forums/index.php?action=post;board=1.0" and i want this to appear something like this in web browser url area "http://www.phpfreaks.com/forums/XCDSDFVG" or appear something else but it does not show the real web site. Is there any way to do this? if Yes can you give me link to that site where i can find about this. Thanks in advance Link to comment https://forums.phpfreaks.com/topic/202622-need-help-regarding-url-in-php/ Share on other sites More sharing options...
Tonic-_- Posted May 23, 2010 Share Posted May 23, 2010 Yes, its called a Modrewrite. If your web server is using Apache then you can look into its modrule rewrite or rewrite URL for .htaccess files. It's complicated to explain but this is what you are looking for. We use it the most on my website that generates stat cards and we don't like showing the extensions so we make the url appear like a image. Link to comment https://forums.phpfreaks.com/topic/202622-need-help-regarding-url-in-php/#findComment-1062161 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.