Redirection
-
Hi
I used to have an online shop at https://shop.domain.co.uk. I have since done a new website and and want to divert all traffic to https://domain.co.uk/shoppage. The old shop was a subdomain but the new site has a shop on the normal domain.
In Moz I am getting a lot of errors with missing descriptions and URL too long.
so for example one of the urls
<dl class="crawl-page-details-list">
<dd class="crawl-page-details-list-emphasis">https://shop.domain.co.uk/product-category/great-merchandise/?product_order=desc are like this. I would like to redirect them all to the new shop page. </dd>
<dd class="crawl-page-details-list-emphasis">The missing descriptions are all similar. </dd>
<dd class="crawl-page-details-list-emphasis">Is there a way I can redirect all these issues without doing them manually?</dd>
<dd class="crawl-page-details-list-emphasis">Thanks </dd>
</dl>
-
Hi there,
The URL structure will remain the same? If so, in the .htaccess file of the subdomain, you should add the following after the RewriteEngine On:
RewriteEngineOn
RewriteCond%{HTTP_HOST}^shop.domain.co.uk$[NC]
RewriteRule(.*)https://www.domain.co.uk/$1 [R=301,L]
this should do the trick to redirect https://shop.domain.co.uk/product-category/great-merchandise/?product_order=desc to https://www.domain.co.uk/product-category/great-merchandise/?product_order=desc
I hope this helped
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
-
404 even after Successful 301 Redirection
Hi, I've got quite few 404 error links on my site and I manually redirected all of them one by one with 301. They are redirecting successfully. But when I check my MOZ analysis, it still shows me as 404 error. I've done this about 4 days ago and MOZ crawled to my site couple times after that if it's not everyday. Do you know what the issue could be? And how can I fix it? PS: I've used Wordpress Redirection tool for it first and redirection did not work. Then I had to install the Simple 301 Redirects plugin to get it done.
Moz Pro | | nunobaronio0 -
Question on redirect and internal link count
After crawl I saw that dup content came from domain.com/index.php and domain.com. I was going to redirect one of them but im curious which way to go. The /index.php has domain auth of 19, the other 17, so not big difference. Domain.com has 2 external linking domains and index.php has 1. The big difference is in the internal link counts where index.php has 76 and the other only 4. So should I direct index.php to / or the other way around?
Moz Pro | | satoridesign0 -
Temporary Redirects
Hi, I've noticed that most of my temporary redirects are the cause of this parameter. http://www.maddenstudents.com/forum/search.php**?s=2f0b01c7d530cf117a2bbb6811f0b527**&do=finduser&userid=1&contenttype=vBForum_Post&showposts=1 http://www.maddenstudents.com/forum/search.php**?s=2f0b01c7d530cf117a2bbb6811f0b527**&do=finduser&userid=1&searchthreadid=15&contenttype=vBForum_Post&showposts=1 I also noticed that almost all of my duplicate content and duplicate titles are the cause of this parameter. I tried going into google webmasters, but they say i don't need to change anything. How do I get rid of this parameter because it seems to be causing a lot of errors and warning for me.
Moz Pro | | taychatha0 -
Issue with temporary redirects
I have an issue with my temporary redirects. The seomoz campaign is showing many pages are redirecting to the homepage. However, the pages it identifies are old pages and have been deleted and are not on the sitemap. How do i solve this?
Moz Pro | | CompleteOffice0 -
How many of my linked pages should I redirect (301's)
I'm moving my store to a new site and will have a much friendlier but completely different URL structure. I used Open Site Explorer to find inbound links to 513 pages and have done about half so far. The remaining pages have one link each at a page authority of 27 or less - but there are still 250+ of them. I have to manually view each old page, search for the product on the new site, and enter the redirect as there is no way to translate old URL's to new ones. How important is it for rankings to redirect the remaining 250 or so pages?
Moz Pro | | agirlandamac0 -
301 redirect question from a newb
So, I've been blogging for almost 3 years now. I've always used wordpress, but recently changed from a ProPhoto theme to a Woo Theme (Editorial...don't know if that matters). I've signed up for the SEOmoz website and HOLY CROW I have problems with my website out the wazoo. I am tackling issues one at a time and one of my issues seems to be 301 redirects. If you'd like to see a screen shot of the crawl diagnostics, check it out the attachment. If you'd like screen shots of anything else, just let me know. I'm not sure I'm reading the chart right, but it seems to say that all of my redirecting problems are because my links are redirecting from an http://www..... to a http://http://www... I've been in my wordpress blog post back end and can't seem to figure out how they A. Got like this. and B how to fix it. If I'm reading the chart wrong...definitely let me know. Thank you guys so much in advance! Screen%20Shot%202012-01-01%20at%202.28.19%20PM.png
Moz Pro | | TerraDawn0 -
Redirecting duplicate .asp pages??
Hi all, I have a bit of a problem with duplicate content on our website. The CMS has been creating identical duplicate pages depending on which menu route a user takes to get to a product (i.e. via the side menu button or the top menu bar). Anyway, the web design company we use are sorting it out going forward, and creating 301 redirects on the duplicate pages. My question is, some of the duplicates take two different forms. E.g. for the home page: www.<my domain="">.co.uk
Moz Pro | | gdavies09031977
www..<my domain="">.co.uk/index.html
www.<my domain="">.co.uk/index.asp</my></my></my> Now I understand the 'index.html' page should be redirected, but does the 'index.asp' need to be directed also? What makes this more confusing is when I run the SEOMoz diagnostics report (which brought my attention to the duplicate content issue in the first place - thanks SEOMoz), not all the .asp pages are identified as duplicates. For example, the above 'index.asp' page is identified as a duplicate, but 'contact-us.asp' is not highlighted as a duplicate to 'contact-us.html'? I'm a bit new to all this (I'm not a IT specialist), so any clarification anyone can give would be appreciated. Thanks, Gareth0 -
301 redirect in SEOMoz campaigns tool
I did a 301 redirect to another domain and I would like to change the domain name in SeoMoz campaigns tool to continue to track the keywords, is it possible ?
Moz Pro | | mhenriques0