Jump to content

need help regarding url in php


doforumda

Recommended Posts

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

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.