Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
Super simple, yet doesn't work.
Old 12-23-2010, 10:44 PM Super simple, yet doesn't work.
Physicsguy's Avatar
404 - Title not found

Posts: 920
Name: Scott Kaye
Location: Ontario
Trades: 0
I unfortunately can't post code, sorry. It'd just be useless, as nothing works.

Basically my problem is this: I have a website. It's a forum, so everything is located in domain.com/forum. Since there's threads, each thread looks something like this.

domain.com/forum/thread.php?threadID=3

How can I make that look like this?

domain.com/forum/threads/title-of-the-thread.html

(The title of the thread is the <title> tag of the page, if that helps)

Like WT?

Thanks

-PG

BTW, I'm a complete noob at mod_rewrite, I've gotten it to change one filename to another, but the file had to exist. I don't want to make a new file and a new directory for every thread (I've tried RewriteRule ^page.php$ /test/location/, but it says /test/location/ doesn't exist). I just want it to mask it, and if the user types in domain.com/forum/threads/title-of-the-thread.html, it should show domain.com/forum/thread.php?threadID=3.

No idea how to do this

Thanks again
__________________
Check out my
Please login or register to view this content. Registration is FREE
or my
Please login or register to view this content. Registration is FREE
!

Last edited by Physicsguy; 12-23-2010 at 10:49 PM..
Physicsguy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-28-2010, 10:44 PM Re: Super simple, yet doesn't work.
Average Talker

Latest Blog Post:
phpinfo.php file on server
Posts: 18
Name: Ash
Trades: 0
Which application is it?
vbulletin, phpbb, smf...?
__________________
~Ashwini
AshwiniS is offline
Reply With Quote
View Public Profile Visit AshwiniS's homepage!
 
Old 12-29-2010, 12:12 PM Re: Super simple, yet doesn't work.
Physicsguy's Avatar
404 - Title not found

Posts: 920
Name: Scott Kaye
Location: Ontario
Trades: 0
It's my own forum system
__________________
Check out my
Please login or register to view this content. Registration is FREE
or my
Please login or register to view this content. Registration is FREE
!
Physicsguy is offline
Reply With Quote
View Public Profile
 
Old 12-31-2010, 06:16 AM Re: Super simple, yet doesn't work.
andrei155's Avatar
CEO of BLD Hosting

Posts: 1,514
Name: Andrei
Location: Canada
Trades: 6
I worked through a similar problem by following this as a guideline:

I didn't learn enough of it to help you now, and I'm sure I've lost the code. However what you need should be there.
__________________
No Overselling Guarantee
Now Includes a Free Domain
BLD Hosting -
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
andrei155 is offline
Reply With Quote
View Public Profile Visit andrei155's homepage!
 
Old 12-31-2010, 03:29 PM Re: Super simple, yet doesn't work.
Physicsguy's Avatar
404 - Title not found

Posts: 920
Name: Scott Kaye
Location: Ontario
Trades: 0
Thanks, andrei155! I will read that
__________________
Check out my
Please login or register to view this content. Registration is FREE
or my
Please login or register to view this content. Registration is FREE
!
Physicsguy is offline
Reply With Quote
View Public Profile
 
Old 01-06-2011, 04:10 PM Re: Super simple, yet doesn't work.
Junior Talker

Posts: 2
Name: Quentin
Trades: 0
It should be something regarding your postname

but since it's your own code and you didn't provide it we can't really help you trought
__________________
HostingRQ.com - Hosting Company with a personal touch!
Web Hosting, Reseller Hosting, DDos Hosting,
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
nexty is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Super simple, yet doesn't work.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.75869 seconds with 12 queries