Query strings and search engines: /albums/p/X instead of /?p
dtdgoomba
Joined: 2002-11-04
Posts: 185 |
![]() |
I also use this weblog for my page and am going to try out this hack for their system. for ex: would become /gallery/view_album.php/set_albumName/album15 |
|
beckett
![]()
Joined: 2002-08-16
Posts: 3474 |
![]() |
Is this as an alternative for those who don't have mod_rewrite? |
|
dtdgoomba
Joined: 2002-11-04
Posts: 185 |
![]() |
I don't really know much about it actually, it was just something I saw on that b2 site and I thought I would try for that php package and though it would be cool to discuss here. Is the mod_rewrite what you use to change what gets written in the address bar? Sorry, I may be MIT, but I wasn't a comp sci guy at all so.... :wink: Can you explain how you would approach it? Maybe others and share their ideas on it. I'm sure anyway to help a search engine result would be cool.. |
|
beckett
![]()
Joined: 2002-08-16
Posts: 3474 |
![]() |
Well, provided you have mod_rewrite working, that's exactly what it does (at least for Gallery... it can do many other things). It takes a URL like -Beckett (beck@beckettmw.com) |
|
dtdgoomba
Joined: 2002-11-04
Posts: 185 |
![]() |
I thought I read about something like that. They use a bunch of variables to make it easier for their own cvs like $querystring_start and $querystring_equal in already present code. Their htaccess code is: # this will make register globals off in b2's directory <IfModule mod_php4.c> # this is used to make b2 produce links like http://example.com/archives/m/200209 <Files archives> Since the tech guy for our company is actually my roommate, I can ask if mod_rewrite is set on our server. He would probably know how I can implement it for my entire site then. If not, I'll search through the forums here now to see if anyone has documented it or can point me. I would love to get this going for the search engines. |
|
dtdgoomba
Joined: 2002-11-04
Posts: 185 |
![]() |
I just posted in that forum asking the coders why they chose this option instead of mod_rewrite and this was the last reply <!-- BBCode Start --><A HREF="http://tidakada.com/board/viewtopic.php?p=7789#7789" TARGET="_blank">http://tidakada.com/board/viewtopic.php?p=7789#7789</A><!-- BBCode End --> |
|