aliasing query strings

This is a discussion on aliasing query strings within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Fellow developers, I Am trying to find a way to alias my query strings so I can optimize my site ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-12-2005
Russel H
 
Posts: n/a
Default aliasing query strings

Fellow developers,
I Am trying to find a way to alias my query strings so I can optimize my
site for search engines. Currently my site is doing well in search
results with my static content, but since I've switched to dynamic content
(same material) the engines don't fine my stuff, not even the build in
search
that comes from my host.

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.


Reply With Quote
  #2 (permalink)  
Old 02-12-2005
Colin McKinnon
 
Posts: n/a
Default Re: aliasing query strings

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.
Reply With Quote
  #3 (permalink)  
Old 02-12-2005
Russel H
 
Posts: n/a
Default Re: aliasing query strings

I am 99.9% sure it is Apache. However, i can 't tell you which version.

Russel H.
"Colin McKinnon"
<colin.thisisnotmysurname@ntlworld.deletemeunlessU RaBot.com> wrote in
message news:3owPd.931$P07.645@newsfe1-gui.ntli.net...
> 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.



Reply With Quote
  #4 (permalink)  
Old 02-13-2005
Dave Patton
 
Posts: n/a
Default Re: aliasing query strings

"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.deletemeunless URaBot.com> wrote in
> message news:3owPd.931$P07.645@newsfe1-gui.ntli.net...
>> 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.


> 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/
Reply With Quote
  #5 (permalink)  
Old 02-13-2005
Russel H
 
Posts: n/a
Default Re: aliasing query strings


"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]
>
>> "Colin McKinnon"
>><colin.thisisnotmysurname@ntlworld.deletemeunles sURaBot.com> wrote in
>> message news:3owPd.931$P07.645@newsfe1-gui.ntli.net...
>>> 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.

>
>> 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.


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.


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:09 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0