Redirect issue
-
http://www.themorrisagency.co.uk/wedding-band redirects to http://www.themorrisagency.co.uk/wedding-band-cost-much-hire/
NO canonical in place. Nothing in Htaccess. I cant think where else to look to find it.
If I amend it to http://www.themorrisagency.co.uk/we it still redirects.
Any ideas? I have spent way too long on it now
-
Hello!
Were you able to fix it? To sum up the other answers, this could be a few things:
-
a redirect in your .htaccess file
-
a redirect in a plugin (yoast, or a separate redirects plugin - some plugins even create redirects automatically)
-
or autogenerated by your theme/wordpress
I would work in that order looking for it,
-
-
Thank you
-
It is definitely a Wordpress issue. Take a look at your functions.php file for your theme. You can add some code to turn off this feature.
If you have this feature on, which it usually is by default, it will redirect to the closest matching URL. Like so:
https://www.example.com/contact
will redirect to
https://www.example.com/contact-us (the actual page URL)
remove_filter('template_redirect', 'redirect_canonical'); is the code you need to add to the functions.php. But make sure you read up on it before disabling it, as it does have some benefits.
-
This is built-in functionality in Wordpress, matching closest existing URL.
Paul
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Is it OK to 301 redirect 1000s of duplicate random URLs to homepag?
Hello, We found a critical error in our site internal link structure and the way Google indexes it. Website has 1000s of URLs that are basically 50% match to homepage. They all start the same example.com/category/random/random I can do a redirect match and 301 them to homepage. This way 1000s of bogus url are not indexed and no value given. Is it OK to redirect so many URLs to homepage? Platform is creating these URLs because of search query, where it adds all site content to one page. Currently this search page /category / has own canonical and all those duplicate content URLs have canonical to that /category /. To fix my plan is to a. Remove canonical from /category / that way all those duplicate URLs don't have it either. B. Redirect match all URLs that have /category / in them to homepage. (this is most important page where 50% of that content is and should be the main page). Is this plan ok?
On-Page Optimization | | advertisingcloud1 -
Google Search Console issue: "This is how Googlebot saw the page" showing part of page being covered up
Hi everyone! Kind of a weird question here but I'll ask and see if anyone else has seen this: In Google Search Console when I do a fetch and render request for a specific site, the fetch and blocked resources all look A-OK. However, in the render, there's a large grey box (background of navigation) that covers up a significant amount of what is on the page. Attaching a screenshot. You can see the text start peeking out below (had to trim for confidentiality reasons). But behind that block of grey IS text. And text that apparently in the fetch part Googlebot does see and can crawl. My question: is this an issue? Should I be concerned about this visual look? Or no? Never have experienced an issue like that. I will say - trying to make a play at a featured snippet and can't seem to have Google display this page's information, despite it being the first result and the query showing a featured snippet of a result #4. I know that it isn't guaranteed for the #1 result but wonder if this has anything to do with why it isn't showing one. VmIqgFB.png
On-Page Optimization | | ChristianMKG0 -
Mass changes of titles and descriptions can cause issues?
I have a big website with all the titles and desc NOT optimized...if i change all of them in one day this can cause seo issues on my site? It's okay to do that?
On-Page Optimization | | markovald0 -
What on-site issue could be causing Moz to not detect internal links?
Hey guys, We've done a crawl and none of our internal links are showing up. Are there any on-page factors that would prevent Moz from being able to detect our internal links? Thanks!
On-Page Optimization | | ATMOSMarketing560 -
What is the best way to execute a geo redirect?
Based on what I've read, it seems like everyone agrees an IP-based, server side redirect is fine for SEO if you have content that is "geo" in nature. What I don't understand is how to actually do this. It seems like after a bit of research there are 3 options: You can do a 301 which it seems like most sites do, but that basically means if google crawls you in different US areas (which it may or may not) it essentially thinks you have multiple homepages. Does google only crawl from SF-based IPs? 302 passes no juice, so probably don't want to do that. Yelp does a 303 redirect, which it seems like nobody else does, but Yelp is obviously very SEO-savvy. Is this perhaps a better way that solves for the above issues? Thoughts on what is best approach here?
On-Page Optimization | | jcgoodrich0 -
How Much Does a Missing www. 301 redirect hurt a business?
We're preparing a report for a potential client, and are trying to figure out a way to estimate rankings gains. One of the major issues is a lack of a 301 redirect for non-www. domains to www. domains. We checked and there's no canonicalization, so it's a clear issue. According to Google, the non-www. links from 8 different domains. The www. version of the website has links from 248 different domains. Nearly all anchor text is branded, as they've never had any SEO work done before. Does anyone have a suggestion for approximating benefits of setting up their .htaccess file correctly? Would the benefits even be that great? We're of course advising additional things, but we just want to be more certain about this step's SEO-boost.
On-Page Optimization | | FlynnZaiger0 -
Redirection
Hi all I have these domains active:
On-Page Optimization | | juanmiguelcr
www.piensapiensa.es
http://piensapiensa.es which redirects to www.piensapiensa.es via webmastertools
http://piensapiensa.com
www.piensapiensa.com which redirects to http://piensapiensa.com via webmastertools.
I want the last three items to redirect to www.piensapiensa.es Here is part of the code of the htaccess file that I have until now:
Options +FollowSymLinks +ExecCGI
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.piensapiensa.es [NC]
RewriteRule (.*) http://www.piensapiensa.es/$1 [R=301,L] Thanks in advanced.0 -
Wordpress pages URL's redirection.
I was checking W3C Markup Validation and in report it was shown that that pages (not post or any other URL's just PAGES) at investmentcontrarians.com are 301 redirected. e.g. original URL "http://www.investmentcontrarians.com/debt-crisis" which is redirected to "http://www.investmentcontrarians.com/debt-crisis/" I know that its not that serious issue, but still want to know why only pages are being redirected and how can we avoid it.
On-Page Optimization | | NumeroUnoWebSolutions0