View Full Version : Mod Rewrite with vb Blog.
evannn
01-11-2008, 05:57 AM
Anyone tried mod rewrite with vb Blog?
Right now the blog address is:
http://address/blog.php?u=123456
where $_GET['u'] is the user id.
Anybody managed to change it to username based instead?
http://localhost/username/
?
raiderlax
01-11-2008, 05:00 PM
<a href="http://www.vbseo.com" target="_blank">www.vbseo.com</a>
PyroNET
01-12-2008, 03:50 PM
Based on https://vborg.vbsupport.ru/showthread.php?t=81914
# turn the Apache MOD_REWRITE engine on
RewriteEngine On
# this first rule will catch the "blank" entry into the
# Forums directory, taking the user to the main forum page - change as appropriate
RewriteRule ^$ index.php
# this next entry will catch everything else and pass
# it to the member.php engine for processing in
# the "member" section
RewriteRule (^[-_A-Za-z0-9\ ]*$) blog.php?&u=$1
That might work
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.