Jump to content

Odd Redirect Issue


unemployment

Recommended Posts

My profile pages can be accessed via domain.com/u/username

 

When I am on them and I click a link that goes to /account-setting I get redirected to /u/account-settings which is not the correct path. 

 

I don't think this is a rewrite issue.  Rewrite rule: RewriteRule ^u/(.*)$ /profile.php?u=$1 [QSA,L]

 

On my profile page I have:

 

if (isset($_GET["u"]))
{
    $username = mres($_GET["u"]);
}
else if (isset($user_info["username"]))
{
    $username = mres($user_info["username"]);
}

 

The really odd thing is that when I hover over the link. Firefox even displays domain.com/account-settings in the explore at the bottom of the page.  Any idea why this is getting rewritten?

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.