wu :: forums
« wu :: forums - url rewriting »

Welcome, Guest. Please Login or Register.
Apr 20th, 2024, 5:28am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   general problem-solving / chatting / whatever
(Moderators: Grimbal, towr, ThudnBlunder, william wu, SMQ, Eigenray, Icarus)
   url rewriting
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: url rewriting  (Read 9775 times)
photographers01
Newbie
*





   


Posts: 2
url rewriting  
« on: May 14th, 2012, 5:13am »
Quote Quote Modify Modify

what is url rewriting and how we do this?What is the need of url rewriting?
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: url rewriting  
« Reply #1 on: May 14th, 2012, 8:54am »
Quote Quote Modify Modify

Url rewriting is a way to map the url to a file/script on your server.
For example http://my.domain.com/this/is/a/wonderful/site could be rewritten by apache so it goes to ~home/public_html/crappyscript.php
One of the uses is that you can simple obscure what sort of back-end you're using; if they don't know if you use php, asp, .net, perl, ruby on rails or python (to name a few), then they can't use specific attacks on your site. They'll have to try out everything to find a weakness.
It can also make for more readable urls. For example http://my.domain.com/search/kittens/page_1 is a bit nicer to read than http://my.domain.com/cgi-bin/search.cgi?query=kittens&page=1
Furthermore it makes it very simple to force all access to your site through one gateway/router script, so that people cannot execute scripts on your site by calling them directly. This gives you more control on checking whether they have the correct authorization to access to certain parts/tools/options.
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
cartoonle
Junior Member
**





   
WWW

Gender: male
Posts: 56
Re: url rewriting  
« Reply #2 on: Dec 1st, 2012, 11:18am »
Quote Quote Modify Modify

URL rewriting is used to transfor complex URLs to simple, which are easier to read, easier to remember, search engine likes them better,...
IP Logged

friv - something i've built
movie4fun
Newbie
*





   


Gender: male
Posts: 49
Re: url rewriting  
« Reply #3 on: Aug 18th, 2014, 6:38pm »
Quote Quote Modify Modify

you can do it via htaacess in your server it helps with google ranking and its more user friendly.
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board