ag1266

Redirect help

Recommended Posts

Was hoping this could solve a big problem I've got since upgrading to IPB4. For years I've used a 3rd party membership management system as there are multiple parts to my site requiring registration. Under IPB3 this wasn't an issue as you could set register/login/change password etc links from the admin side. That's been removed in IPB4 and support aren't interested in helping.

I've bought and installed the full version of Aliases, but having problems getting it working. It might be me as there are no docs available that I can see.

e.g I want to redirect the "Change Password" link

I set the Path to /membership/profile

I set "Map to" to http://www.mydomain.com/forums/settings/password/?app=core&module=system&controller=settings&area=password

I leave Canonical as On

If I then go to the user's control panel and hover over the Change Password link, the URL is http://www.mydomain.com/forums/membership/profile which is incorrect. It should be http://www.mydomain.com/membership/profile

I tried to set the Custom Homepage URL to http://www.mydomain.com thinking that might resolve things, but that just says "Invalid site URL". Tried both with and without trailing slash.

I also tried switching Canonical off and Redirect to on, but when hovering over the Change Password link, it remains as the default http://www.mydomain.com/forums/settings/password/?app=core&module=system&controller=settings&area=password

It sound like this application should do what I want and solve a major headache, but can't get it to work so any help appreciated.

Share this post


Link to post
Share on other sites

It looks from your url http://www.mydomain.com/forums/settings/password , that you have your IPS board installed in a subdirectory of your site. Otherwise, the url would be http://www.mydomain.com/settings/password

This is why you can't remove /forums from your urls. It's actually a part of your base url to any page on your IPS4 site. There would be no possible way that path aliases could rewrite that url to something without the /forums in it.

Aliases created in IPS4 require IPS4 to route them correctly, but IPS4 does not exist outside of the /forums base path on your site.

Share this post


Link to post
Share on other sites

Then it looks like the assumption from IPS is that every website using their software only uses their software and nothing else, which is miles away from the real world.

As a test I created a file under /forums containing a redirect to the membership page and then tried setting up a redirect to that file which, if the above is correct, should work, but it doesn't.

What I also don't get is the description of this application states:

Advanced path aliases is an application that allows you to change or create url paths to point to any page on your site. It enhances the capabilities of the core IPS furl definitions in the following ways:

  • Set any interior page of your site as the homepage
  • Maintain multiple custom path aliases for any individual page
  • Set a path alias as canonical to be used as the primary url for a page
  • Create path aliases to 301 redirect old urls to new locations
  • Create path aliases to redirect to external web pages
  • Set the http protocol to be used explicitly for any page
  • Automatically redirect old urls when new urls are created for a page

How can you set up redirects to external web pages if everything has to exist under the base URL?

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.