URL, what the best way to plain it?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
dougsm
Forum Newbie
Posts: 8
Joined: Mon Apr 10, 2006 12:34 pm

URL, what the best way to plain it?

Post by dougsm »

Hello Folks! I´ve got a question here that´s burning my brain.

Recently I had a problem with a website that I developed, the whole thing was built using ASP 3.0 (I wasn´t familiar to PHP), but when I tought about changing to PHP I realize that the URL will change. Something like www.movere.com/materia.[b]asp[/b]?Id=250 will become www.movere.com/materia[b].php[/b]?Id=250 . And all links to from other sites to mine will be bronken, and not to mention page ranks on google!

Looking for the best way to plan directories and the URL I notice that the big ones, like amazon, for example, they do something like http://www.gamespot.com/pc/rpg/theelder ... index.html . I mean that the URL has lots of subdirectories for hundreds of different areas of the website.
Is that real subdirectories or kind of resource program? Is it possible to this slashes on URL be undertanded like instructions out the querystring? If this sub-dirs are created, is it healthy for the server this lots of dirs?

If I´m saying a lot of non-sense, you can say! hehe
User avatar
Nathaniel
Forum Contributor
Posts: 396
Joined: Wed Aug 31, 2005 5:58 pm
Location: Arkansas, USA

Post by Nathaniel »

Look into mod_rewrite. Also, I believe that using a 302 redirect on all of your old .asp pages to the new pages will cause your pagerank and such to redirect as well.
dougsm
Forum Newbie
Posts: 8
Joined: Mon Apr 10, 2006 12:34 pm

Post by dougsm »

What´s 302 redirect? Is it the same as response.redirect on ASP? There´s a problem, the webserver can´t read asp pages when you use php. They use linux...
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Post Reply