| | |
vBulletin mod_rewrite
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Sep 2004
Posts: 6
Reputation:
Solved Threads: 0
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.
If, interested, search for:
Mod_rewrite For Htaccess
Thank you.
•
•
Join Date: Sep 2004
Posts: 1
Reputation:
Solved Threads: 0
Hi cscgal,
first, very nice tutorial - thank you so much.
Can you please post the code you used to get the multiple pages for forum listings working?
Cheers,
Magicspark
first, very nice tutorial - thank you so much.
•
•
•
•
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.
Cheers,
Magicspark
•
•
Join Date: Aug 2004
Posts: 6
Reputation:
Solved Threads: 0
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.
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.
•
•
Join Date: Sep 2004
Posts: 14
Reputation:
Solved Threads: 0
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
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
•
•
Join Date: Aug 2004
Posts: 18
Reputation:
Solved Threads: 0
awesome mod! works perfectly on my forum! Thanks csgal and Ted!
Can you provide your URL please and also copy/paste your .htaccess here
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
•
•
Join Date: Sep 2004
Posts: 14
Reputation:
Solved Threads: 0
Sure.My url is http://non-chalant.com/forum
And the .htaccess is,
Thanks alot for the help
And the .htaccess is,
PHP Syntax (Toggle Plain Text)
RewriteEngine On Options +FollowSymLinks RewriteRule ^t([0-9]+)-(.*).html$ showthread.php?t=$1 [L] RewriteRule ^lastpostinthread([0-9]+).html$ showthread.php?goto=lastpost&t=$1 [L] RewriteRule ^newpostinthread([0-9]+).html$ showthread.php?goto=newpost&t=$1 [L] RewriteRule ^f([0-9]+)-(.*).html$ forumdisplay.php?forumid=$1 [L]
Thanks alot for the help
![]() |
Similar Threads
- [Revised] vBulletin Mod_rewrite Tutorial (PHP)
- vBulletin mod_rewrite for vB 3.0.7 (Existing Scripts)
- vBulletin mod_rewrite for vB 3.0.7 (Social Media and Online Communities)
- vBulletin mod_rewrite in phpBB mod format (Existing Scripts)
Other Threads in the PHP Forum
- Previous Thread: Help Needed
- Next Thread: mysql_num_rows warning
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary broken cakephp checkbox class cms code cron curl database date directory display download dynamic echo email error fcc file files folder form forms freelancing function functions google href htaccess html image include insert integration ip java javascript joomla limit link login loop mail menu method mlm mod_rewrite multiple mysql oop pageing pagerank parse paypal pdf php printer problem query radio random recursion recursiveloop regex remote script search server sessions sms soap source space sql structure subversion support! syntax system table template tutorial update upload url validation validator variable video web xml youtube






