johngodley / redirection

Manage all your WordPress 301 redirects and monitor 404 errors
https://redirection.me
GNU General Public License v3.0
553 stars 139 forks source link

Redirection errors #2327

Closed ajtruckle closed 4 years ago

ajtruckle commented 4 years ago

All of a sudden my redirections seem to be failing. I have not made any changes at my end.

The first I knew about it was when Google send me a email says I had redirection problems.

For example:

https://www.publictalksoftware.co.uk/msa/HelpOnline/source/helpdemonstrations.html https://help-msa.publictalksoftware.co.uk/mwb-editor-manage-demos.html

It appears to work:

Results

But if I go to the old link in a browser:

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at support@one.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Ok, I just checked my website with FTP and the target page is not there. I now remember that I had deleted this help topic. So why did that "Check" appear to imply it was all OK? And the 404 log is not listing these html links at all.

johngodley commented 4 years ago

Your redirects are working fine, and the checker is working correctly - the URL is redirecting.

It is entirely up to you to ensure the target URL is valid. Redirection does not play any part in this, it just does the redirect.

The 404 page is on another server subdomain. You will need Redirection installed and tracking 404s there.

ajtruckle commented 4 years ago

I am still confused.

Take:

https://help-msa.publictalksoftware.co.uk/mwb-editor-manage-demos.html

And I want to redirect it to:

https://help-msa.publictalksoftware.co.uk/msa.html

I can't do it.

I know that help-msa is subdomain but I have not had these issues before. How do I redirect back to the primary help page? This subdomain is only a folder on my website.

johngodley commented 4 years ago

Why can't you do it?

ajtruckle commented 4 years ago

It does not show as a redirect. I will show you later. Got to go out. Probably something I am doing wrong.

Get Outlook for iOShttps://aka.ms/o0ukef


From: John notifications@github.com Sent: Wednesday, June 3, 2020 1:39:43 PM To: johngodley/redirection redirection@noreply.github.com Cc: ajtruckle truckleaj-software@hotmail.co.uk; Author author@noreply.github.com Subject: Re: [johngodley/redirection] Redirection errors (#2327)

Why can't you do it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjohngodley%2Fredirection%2Fissues%2F2327%23issuecomment-638170364&data=02%7C01%7C%7C1aa28022024946da018608d807bb31dc%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637267847852856614&sdata=iUoMzje%2FXbinRiEV6AOAy58iQJf6t%2Bs%2F2fCJjkXD0qU%3D&reserved=0, or unsubscribehttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB45RM3P5UGMGH7X4IXIBE3RUZAA7ANCNFSM4NRTUAQA&data=02%7C01%7C%7C1aa28022024946da018608d807bb31dc%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637267847852856614&sdata=hbap1RxfWuEa7dWATRa6D89Z7CC0N1eJKJta43qU%2BvQ%3D&reserved=0.

ajtruckle commented 4 years ago

This is what happens:

Snap1

johngodley commented 4 years ago

That seems unrelated to your original message.

See https://redirection.me/support/redirecting-another-site/ for redirecting external URLs.

ajtruckle commented 4 years ago

But I can’t install “redirection” on the old site. Here is some context.

I have a online help system that is in a subdomain (purely cosmetic really). It is not wordpress. I can’t run redirection in that folder.

I deleted a help topic as it was obsolete so it no longer existed.

I wish I never deleted the help topic now! Haven’t had any problems for years with these redirections.

I can’t map old domains to new sites. I only have one domain (publictalksoftware.co.uk). I simply have a subfolder “msa-help” that has the help file system in it. There is no DNS stuff os anything. Just a simple help documentation system that sits on my wordpress website (but outside of wordpress itself and I just link to it).

I find a lot of this stuff a bit complicated if I am honest. ☹

Andrew

johngodley commented 4 years ago

Redirection can only function when it runs.

I don't know how you have your server configured, but I don't think it is running on https://help-msa.publictalksoftware.co.uk. That means there is nothing it can do.

ajtruckle commented 4 years ago

As mentioned, that url is just a folder.on my domain so it is actually:

https://www.publictalksoftware.co.uk/help-msa/

But I know you knew that!

Is this something I can ask my hosting provider?

Get Outlook for iOShttps://aka.ms/o0ukef


From: John notifications@github.com Sent: Wednesday, June 3, 2020 8:15:51 PM To: johngodley/redirection redirection@noreply.github.com Cc: ajtruckle truckleaj-software@hotmail.co.uk; Author author@noreply.github.com Subject: Re: [johngodley/redirection] Redirection errors (#2327)

Redirection can only function when it runs.

I don't know how you have your server configured, but I don't think it is running on https://help-msa.publictalksoftware.co.ukhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp-msa.publictalksoftware.co.uk%2F&data=02%7C01%7C%7C64c14eaad17d40d6829608d807f28857%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637268085526905703&sdata=T4xrX2KmfCmkI3rT7va4bwHXqP7E9DR5xLdym9%2FxCAI%3D&reserved=0. That means there is nothing it can do.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjohngodley%2Fredirection%2Fissues%2F2327%23issuecomment-638406289&data=02%7C01%7C%7C64c14eaad17d40d6829608d807f28857%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637268085526915695&sdata=S5u0v%2FRALi5v0Gnbdp8JwA6jbRzDS5PcEIyuzfGVD%2Fs%3D&reserved=0, or unsubscribehttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB45RM4WRGFI5WWFEPS4VMDRU2OOPANCNFSM4NRTUAQA&data=02%7C01%7C%7C64c14eaad17d40d6829608d807f28857%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637268085526915695&sdata=wIC0u%2BsrdBA1PPp%2BYhTLAIiWbn%2F4oy184F2EtObzMwc%3D&reserved=0.

johngodley commented 4 years ago

I don't know. This is something specific to your setup, not to Redirection. As I mentioned above, Redirection can only work when it runs. You should check your setup for the folder and ensure that WordPress is running when requests are made there.

You may also be able to export the redirects to a .htaccess file too.

leeroy122 commented 4 years ago

Hi, I love your software, but Im having that same problem he's having. Whenever you edit the old url to a new url that you want to redirect to, it goes back to the old redirect url you were using before the edit. So it is not accepting your new url that you are trying to redirect to.

johngodley commented 4 years ago

@leeroy122 that does not sound the same problem. Can you create a new issue?

johngodley commented 4 years ago

Closing for now, please reopen with more information.

ajtruckle commented 4 years ago

This is resolved. In my HelpNDoc software I can add aliases for other URL links to the same topic:

Alias

You click on the ... to display the list where you can add / remove alias' as required:

alias2

It still creates a HTML so it will not 404 out but then automatically redirects to the specified topic.