I'm using SEO Checker 1.10.4 for a current project.
Now I've imported 125 redirects into the redirect manager, but just 123 of the redirects work.
I have a node with url /about/contactform which I want to redirect to from /contact.
I've added the redirect to the manager like so:
/contact > /about/contactform.
The node /contact is not published but somehow when I go to /contact it gives me a 200 and show's me the homepage of the website, all other redirects do work and return a 302.
I have no redirects set up in the web.config or .htaccess, the only redirects that exist are in the redirect manager. I also checked the database and it only contains the imported redirects.
Also if I publish the contact page, it shows me the actual page that I created and doesn't redirect me (200 on home).
Does anyone have an idea why the contact redirect doesn't work and all the other redirects do work?
302 is something SEOChecker is not generating it's always 301. SEOChecker only kicks in on 404's so if something is returning a 200 status code the redirect module is not called. If you set the option "Redirect when node exists" in SEOChecker settings it will always try to redirect. But this can be slower..
There is no particular contentfinder that is redirecting me. Also the pages don't exist anymore since I removed them from the tree and after that removed them from the recycle bin aswell. Checking the redirect when node exists checkbox worked for me, though I think this isn't the right solution. Is it maybe possible that it still finds the page somewhere in the database, and if so do you have any idea where that might be?
That is the point, something is telling that the page still exists. Could be multiple things but must be implementation specific. for example If you have a template with the same name that could be used by Umbraco to render the node with that template as alternative template.
I am getting a particular redirection error that directs to my error page. The page used to exist but has been deleted. I thought it may be my ContentFinder but it is not. All other redirection that works go through it as well so it puzzles me.
I deleted the redirect that did not work and re-created in SEOChecker it but it still fails. Any thoughts?
I found the root cause of it. It is because I have a template and view with the same name as the redirect. Thank you for pointing me in the right direction.
Redirect not working
Hi,
I'm using SEO Checker 1.10.4 for a current project. Now I've imported 125 redirects into the redirect manager, but just 123 of the redirects work.
I have a node with url /about/contactform which I want to redirect to from /contact. I've added the redirect to the manager like so: /contact > /about/contactform. The node /contact is not published but somehow when I go to /contact it gives me a 200 and show's me the homepage of the website, all other redirects do work and return a 302.
I have no redirects set up in the web.config or .htaccess, the only redirects that exist are in the redirect manager. I also checked the database and it only contains the imported redirects.
Also if I publish the contact page, it shows me the actual page that I created and doesn't redirect me (200 on home).
Does anyone have an idea why the contact redirect doesn't work and all the other redirects do work?
Hi Koen,
302 is something SEOChecker is not generating it's always 301. SEOChecker only kicks in on 404's so if something is returning a 200 status code the redirect module is not called. If you set the option "Redirect when node exists" in SEOChecker settings it will always try to redirect. But this can be slower..
Best,
Richard
Hi Richard,
Thank you for your reply, though even if the node doesn't exist it still doesn't redirect me.
If it's showing a 200 SEOChecker will not kick in.. Maybe a contentfinder or something you are using?
There is no particular contentfinder that is redirecting me. Also the pages don't exist anymore since I removed them from the tree and after that removed them from the recycle bin aswell. Checking the redirect when node exists checkbox worked for me, though I think this isn't the right solution. Is it maybe possible that it still finds the page somewhere in the database, and if so do you have any idea where that might be?
Hi Koen,
That is the point, something is telling that the page still exists. Could be multiple things but must be implementation specific. for example If you have a template with the same name that could be used by Umbraco to render the node with that template as alternative template.
I am getting a particular redirection error that directs to my error page. The page used to exist but has been deleted. I thought it may be my ContentFinder but it is not. All other redirection that works go through it as well so it puzzles me.
I deleted the redirect that did not work and re-created in SEOChecker it but it still fails. Any thoughts?
Depends on the version but is it logged as inbound link error as well? if so fix it there and it should be good.
Best,
Richard
I found the root cause of it. It is because I have a template and view with the same name as the redirect. Thank you for pointing me in the right direction.
is working on a reply...