Current location: Hot Scripts Forums » Other Discussions » Web Servers » Change to custom URL


Change to custom URL

Reply
  #11 (permalink)  
Old 03-24-11, 03:46 AM
klauzer klauzer is offline
Newbie Coder
 
Join Date: Mar 2010
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
When moving mouse over register link it should show mysite.com/become-member/
But it shows mysite.com/wp-login.php?action=register

I also tried to enter this in URL bar mysite.com/become-member/ and get error.

I didn't add any other rewritten urls they where already there.
Reply With Quote
  #12 (permalink)  
Old 03-24-11, 03:53 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
You're going to have to change the "register" link yourself. Mod_rewrite can't do this for you.

Quote:
I also tried to enter this in URL bar mysite.com/become-member/ and get error.
What kind of error? The same 404 not found?
Reply With Quote
  #13 (permalink)  
Old 03-24-11, 06:13 AM
klauzer klauzer is offline
Newbie Coder
 
Join Date: Mar 2010
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
I found this in wp-signup
Code:
if ( !is_multisite() ) {
	wp_redirect( get_option( 'siteurl' ) . "/wp-login.php?action=register" );
	die();
}

if ( !is_main_site() ) {
	wp_redirect( network_home_url( 'wp-signup.php' ) );
	die();
What should I add here?
Reply With Quote
  #14 (permalink)  
Old 03-24-11, 02:57 PM
klauzer klauzer is offline
Newbie Coder
 
Join Date: Mar 2010
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Nico View Post

What kind of error? The same 404 not found?
Yes, Error 404 - Not Found.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
using mod_rewrite - url change problem windstory Web Servers 0 03-28-09 01:51 PM
Change url Deansatch JavaScript 1 12-08-07 03:33 AM
Change this AJAX script to accomidate dynamic url arandlett JavaScript 3 06-14-06 03:01 AM
change IE search URL or change window registry sma JavaScript 1 04-26-04 02:40 PM
change IE search URL or change window registry sma PHP 0 04-26-04 05:38 AM


All times are GMT -5. The time now is 01:30 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.