For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > February 2005 > Re: aliasing query strings









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: aliasing query strings
Colin McKinnon

2005-02-12, 8:55 pm

Russel H spilled the following:

>
> so simply, my question is, how can I change:
>
> www.anysite.com/details.php?cat=food
>
> to www.anysite.com/food.htm
>
> My site depends heavily on search engine traffic, so any help would be
> greatly appreciated.


not a PHP question.

Mod_rewrite if you're using apache....but you didn't say what webserver you
were using.

C.
Dave Patton

2005-02-13, 8:56 am

"Russel H" <r@h.noway> wrote in
news:PtwPd.135$d%2.91@bignews5.bellsouth.net:

[top posting fixed - please don't top-post]

> "Colin McKinnon"
><colin.thisisnotmysurname@ntlworld.deletemeunlessURaBot.com> wrote in
> message news:3owPd.931$P07.645@newsfe1-gui.ntli.net...
[color=darkred]
> I am 99.9% sure it is Apache. However, i can 't tell you which version.


That's usually trivial. Use phpinfo(), or, for many servers,
simply look at the HTTP response headers for any GET request.

>
> Russel H.


A proper usenet signature delimiter is two dashes followed
by a single space(e.g. "-- ", without the quotes),
on a line by themselves.

--
Dave Patton
Canadian Coordinator, Degree Confluence Project
http://www.confluence.org/
My website: http://members.shaw.ca/davepatton/
Russel H

2005-02-13, 3:57 pm


"Dave Patton" <spam@trap.invalid> wrote in message
news:Xns95FC21753D9Dmrzaphoddirectcaold@
24.71.223.159...
> "Russel H" <r@h.noway> wrote in
> news:PtwPd.135$d%2.91@bignews5.bellsouth.net:
>
> [top posting fixed - please don't top-post]
>
>
>
> That's usually trivial. Use phpinfo(), or, for many servers,
> simply look at the HTTP response headers for any GET request.


It is Apache. However, I have done some research on this mod_rewrite and I
am completely lost, I can't find a direct resource to address what I'm
asking about. Also, it appears as if my service provider does not allow me
to configure the .htaccess file anyway.

--
Russel H.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com