PDA

View Full Version : Little .htaccess


Yours Truly
17 Apr 2007, 17:27
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



This is to make the username on vBulletin go www.example.com/username as apposed to the normal url.

I believe it needs to be edited to work on PHP5 but to be honest i don't really ahvea ny experience writing PHP5 so any help? :)

Dismounted
18 Apr 2007, 08:22
htaccess (mod_rewrite) doesn't use PHP, therefore, it is not affected by PHP versions. mod_rewrite is an Apache addon.

TheRed
19 Apr 2007, 05:44
As he said, you don't need to change anything on the php file to make the profile from being displayed. However you will need to do some changes if you want to have SEO links in that profile page.

Perhaps you could make use of the vBSeo (http://www.vbseo.com/635/) Software.

Yours Truly
19 Apr 2007, 09:59
It didn't seem to want to work with my 3.5.8 any suggestions on that then?

Dismounted
19 Apr 2007, 11:11
You need to specify a rewrite condition (RewriteCond) before you can specify a rule. I suggest you read up on mod_reqrite first.

Yours Truly
19 Apr 2007, 12:55
You need to specify a rewrite condition (RewriteCond) before you can specify a rule. I suggest you read up on mod_reqrite first.
Ok thanks :)

Cap'n Steve
20 Apr 2007, 07:06
You need to specify a rewrite condition (RewriteCond) before you can specify a rule. I suggest you read up on mod_reqrite first.

Are you sure about that? Yours Truly, what happens when you try to use this? Also, the second rule will cancel out the first, since it can match 0 times.

Yours Truly
20 Apr 2007, 10:38
Well it used to work with 3.5.5 but not with 3.5.8

www.marmbi.com/Dan

Thats what happens

zardos
27 Apr 2007, 16:21
Well it used to work with 3.5.5 but not with 3.5.8

www.marmbi.com/Dan

Thats what happens

Cant get this to worke on 3.6 why?