Topic RSS
Hi guys, I am trying to change the way the login/register links look.
Instead of http://site/wp-login.php?actio…..view=forum
I want it to be http://site/login
So far, I tried to make adjustments in the htaccess but to no avail.
The changes I tried went like this:
Options +FollowSymLinks RewriteEngine On RewriteBase /site.com/ RewriteRule ^login http://site/wp-login.php?actio.....view=forum
well, the wp-login.php file is obviously a wp file and not sp… and the change you are attempting would only affect forum login… the standard wp login page would still act as normal, so you would want to be more generic…
but you could take a look at our internal wp rewrite rules that we do in function sfg_set_rewrite_rules() in file sf-loader-global.php and be able to effect the redirection in there…
Mr Papa said:
well, the wp-login.php file is obviously a wp file and not sp… and the change you are attempting would only affect forum login… the standard wp login page would still act as normal, so you would want to be more generic…
but you could take a look at our internal wp rewrite rules that we do in function sfg_set_rewrite_rules() in file sf-loader-global.php and be able to effect the redirection in there…
I only care if it affects the forum login since I do not have anyone (except me) who goes to the wp login.
I am guessing that the forum uses the wp login but masks it with the "&view=forum".
The change I am attempting did not affect anything (forum or wp login) all it did was bring up a page not found when I went to http://site.com/login or http://site.com/forum/login
Are you not doing this back to front. Shouldn't you be changing the login url in the forum login and registration panel to your desired url and then adding a rewrite rule to redirect that to the WP login url?
Yellow Swordfish said:
Are you not doing this back to front. Shouldn't you be changing the login url in the forum login and registration panel to your desired url and then adding a rewrite rule to redirect that to the WP login url?
Very good point… but I changed the Login URL to http://site.com/login via the forum login and registration panel and then I added this to my htaccess:
RewriteRule ^wp-login.php?action=login&view=forum http://site.com/login/
But still no no avail…
Most Users Ever Online: 444
Currently Online: Yellow Swordfish, Conrad_Farlow, lisalew, Jason Clark, Superfast
70 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
-Radio-: 1251
Lee H: 606
Luffer: 535
Conrad_Farlow: 501
jim: 478
neon: 263
ovizii: 240
Tal: 240
Member Stats:
Guest Posters: 2624
Members: 7354
Moderators: 1
Admins: 2
Forum Stats:
Groups: 5
Forums: 16
Topics: 10877
Posts: 79454
Newest Members: somosguatemala, ahcreate, eatonrabbit, indifrendz.com, Superfast, Jason Clark, LisaGergets, williambennettiv, scitexnz, Brad Holland
Moderators: Brandon C (162)
Administrators: Yellow Swordfish (22180), Mr Papa (23688)
Log In
Register
Home
Add Reply
Add Topic
Offline
Quote




Visit
Online


Privacy Policy



