MyEpisodes Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Better page URLs

 
Post new topic   Reply to topic    MyEpisodes Forum Index -> Recycle
View previous topic :: View next topic  

Would this be useful for you too?
Yes!
57%
 57%  [ 4 ]
No!
42%
 42%  [ 3 ]
Total Votes : 7

Author Message
LilApe


Posts: 9

PostPosted: Sun May 04, 2008 2:25 pm    Post subject: Better page URLs Reply with quote

[Request Name]
Better page URLs

[Description]
It would be nice if the URLs could get a dummy-variable to indicate what kind of URL it is. Firefox has a great History feature, in that you can type "myepisodes lost" and it will automatically find any URL that has those words in it. This also makes plain URLs easier to read, because it gives information on where it goes to.

The variable would be a dummy, because the site itself will only need id numbers and stuff.

Example:
http://myepisodes.com/views.php?type=epsbyshow&showid=14&title=lost.html
http://myepisodes.com/views.php?type=epsbyshow&showid=44&title=scrubs.html
http://myepisodes.com/forum/viewtopic.php?t=614&title=better-page-titles.html

Notice the "title" variable with the show or topic, which ends in ".html" to make it look like a normal page.

An even better idea would be to use Apache's mod_rewrite, to get rid of all the unreadable garbage.

Example:
http://myepisodes.com/epsbyshow/14/lost.html
http://myepisodes.com/epsbyshow/44/scrubs.html
http://myepisodes.com/forum/topic/614/better-page-titles.html

Now browsers will even save the page to "lost.html" and the like. You could reduce clutter even more by getting rid of the id numbers altogether, but that would require extra work, programming an automatic lookup-table.

[Target URL]
Whole site

[Comments]
Great site!
Back to top
View user's profile Send private message
the_man_stephen
Moderator

Posts: 140
Location: Netherlands

PostPosted: Sun May 04, 2008 2:58 pm    Post subject: Reply with quote

i think this is a great idea, and shouldn't be too hard to implement!
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Sypher


Posts: 61
Location: The Netherlands

PostPosted: Sun May 04, 2008 7:13 pm    Post subject: Reply with quote

If they fix your other suggestion, there is no need to fix the url's as well. Firefox also searches in the titles Smile
Back to top
View user's profile Send private message
LilApe


Posts: 9

PostPosted: Sun May 04, 2008 8:03 pm    Post subject: Reply with quote

Yeah, I guess that's true. Wink But the readability and knowing-where-it-links-to are also very nice features. It's also relatively easy to implement. Probably easier than figuring out how to change title generation of phpBB.
Back to top
View user's profile Send private message
the_man_stephen
Moderator

Posts: 140
Location: Netherlands

PostPosted: Sun May 04, 2008 11:56 pm    Post subject: Reply with quote

you could have a rewrite rule like

Code:
RewriteRule  ^/epsbyshow/([0-9]+)/([^/]+)/$  /views.php?type=epsbyshow&showid=$1

which would rewrite a url of

myepisodes.com/epsbyshow/14/lost/
to
myepisodes.com/views.php?type=epsbyshow&showid=14
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
IceMan
Founder
Founder

Posts: 611
Location: Denmark

PostPosted: Sun Oct 19, 2008 1:23 pm    Post subject: Reply with quote

On the update list for next update.
Back to top
View user's profile Send private message Visit poster's website
LilApe


Posts: 9

PostPosted: Tue Oct 21, 2008 6:20 pm    Post subject: Reply with quote

Great! Looking forward to it. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MyEpisodes Forum Index -> Recycle All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Main design by MW. Refitted to board by Hostile.