943,513 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 110891
  • PHP RSS
You are currently viewing page 8 of this multi-page discussion thread; Jump to the first page
Sep 11th, 2004
0

Re: vBulletin mod_rewrite

I wonder if Ted can write full instructions, e.g take the appropriate bits of cscgal's and put them into one set of instructions, I seem to think I've failed somewhere as i've got confused on which instructions to use.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nkisberg2000 is offline Offline
7 posts
since Sep 2004
Sep 11th, 2004
0

Re: vBulletin mod_rewrite

As I require this to work, I've now posted this as a paid project at http://www.scriptlance.com/

If, interested, search for:

Mod_rewrite For Htaccess


Thank you.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
aussie is offline Offline
6 posts
since Sep 2004
Sep 18th, 2004
0

Re: vBulletin mod_rewrite

Hi cscgal,

first, very nice tutorial - thank you so much.

Quote ...
On DaniWeb, I've only bothered to add rewritten multiple pages to the forum listings and not to the actual threads. This is because it's important for google to spider the multiple forum pages to find links to all of the threads on DaniWeb, but it's not important for people to find the middle of threads through google - I'd rather them get the full benefit and only find the first page - after all, that's the one with the google ad and that's also the one that makes the most sense to initially read.
Can you please post the code you used to get the multiple pages for forum listings working?

Cheers,

Magicspark
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Magicspark is offline Offline
1 posts
since Sep 2004
Sep 21st, 2004
0

Re: vBulletin mod_rewrite

Hi i got a broken link, can i know where to edit it ?

On page http://www.sgwebhostingtalk.com/f28-...lications.html
when you click on "MAIN DISCUSSION",
the link to http://www.sgwebhostingtalk.com/forum1.html
gives the error: Not found.

Happens for all the links on that area, Thanks.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ToOnZ is offline Offline
6 posts
since Aug 2004
Sep 24th, 2004
0

Re: vBulletin mod_rewrite

Hello,thanks for all the great info in this thread.I seem to be having a problem with 404's on the index page just as previously stated in the thread by someone else.I havent quite been able to figure this out yet so if someone could possibly give me a hand id appreciate it

http://www.non-chalant.com/forum

If you need any extra info let me know,thanks.

Oh,another point,on some of the threadbit edits(particulary step 2)i had a problem with that edit just not existing in my template.As well on Step 7 there was only one instance of the code needing edited and it was stated to be 2.Also there was no accesskey 1 on the end of the only edit of Step 7 i found.Not positive if this has any bearing on my problem or not.I have edited some of my templates previously to make the forum more SEO friendly.Thanks again for the help
Reputation Points: 10
Solved Threads: 0
Newbie Poster
xStylezx is offline Offline
14 posts
since Sep 2004
Sep 24th, 2004
0

Re: vBulletin mod_rewrite

Ok,got the index 404 problem figured out myself.Now im having a 404 when i click on an actual thread(forumdisplay).I shall see if i can work this out myself but if anyone has any advice please clue me in as im going at this practicly blind :mrgreen:
Reputation Points: 10
Solved Threads: 0
Newbie Poster
xStylezx is offline Offline
14 posts
since Sep 2004
Sep 24th, 2004
0

Re: vBulletin mod_rewrite

awesome mod! works perfectly on my forum! Thanks csgal and Ted!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
tekkitan is offline Offline
18 posts
since Aug 2004
Sep 24th, 2004
0

Re: vBulletin mod_rewrite

Alright,no luck so far in figuring out why im getting the 404's when trying to click on a thread.Ive checked some obvious things that would seem to effect it,still 404's.

If anyone could give me a point in the right direction and/or tell me what could be the root of this,im sure i could hack it out
Reputation Points: 10
Solved Threads: 0
Newbie Poster
xStylezx is offline Offline
14 posts
since Sep 2004
Sep 24th, 2004
0

Re: vBulletin mod_rewrite

Can you provide your URL please and also copy/paste your .htaccess here
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is online now Online
13,645 posts
since Feb 2002
Sep 24th, 2004
0

Re: vBulletin mod_rewrite

Sure.My url is http://non-chalant.com/forum
And the .htaccess is,
PHP Syntax (Toggle Plain Text)
  1. RewriteEngine On
  2. Options +FollowSymLinks
  3. RewriteRule ^t([0-9]+)-(.*).html$ showthread.php?t=$1 [L]
  4. RewriteRule ^lastpostinthread([0-9]+).html$ showthread.php?goto=lastpost&t=$1 [L]
  5. RewriteRule ^newpostinthread([0-9]+).html$ showthread.php?goto=newpost&t=$1 [L]
  6. RewriteRule ^f([0-9]+)-(.*).html$ forumdisplay.php?forumid=$1 [L]

Thanks alot for the help
Reputation Points: 10
Solved Threads: 0
Newbie Poster
xStylezx is offline Offline
14 posts
since Sep 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: DNS subdomain wildcard
Next Thread in PHP Forum Timeline: Perplexed Newbie can't find syntax errors





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC