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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. |
|
|||
|
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.
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. |
|
|||
|
"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/ |
|
|||
|
"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. |