301 redirect for page 2, page 3 etc of an article or feed
-
Hey guys,
We're looking to move a blog feed we have to a new static URL page. We are using 301 redirects but I'm unsure of what to regarding page 2, page 3 etc. of the feed. How do I make sure those urls are being redirected as well?
For example:
Moving FloridaDentist.com/blog/dental-tips/ to a new page url FloridaDentist.com/dental-tips. So, we are using a 301 on that old url to the new one. My questions is what to do with the other pages like FloridaDentist.com/blog/dental-tips/page/3. How do we make sure that page is also 301'd to the new main url?
-
If you're looking to redirect ALL sub-pages to the new main page then you would use mod_rewrite with your .htaccess file something like-
RedirectMatch 301 ^/blog/dental-tips(.*)$ http://floridadentist.com/dental-tips/
If you're trying to redirect to the matching URI just under that new sub-directory this would be more appropriate-
RedirectMatch 301 ^/blog/dental-tips(.*)$ http://floridadentist.com/dental-tips/$1
-
in terms of 301 I would 301 them all back to FloridaDentist.com/dental-tips if you know just have the one page.
however on your site, you have:
http://www.floridadentist.com/
but then if you click on home it takes you to: http://www.floridadentist.com/default.htm which is the same page, just different url. Thats the first big issue I would fix, I would change the link to point to http://www.floridadentist.com/ on your page on the site, but also 301 http://www.floridadentist.com/default.htm to http://www.floridadentist.com just incase anybody has linked to that page, so you don't lose the link juice / traffic from those links.
Also I couldn't find the blog on your site - maybe you should link to it from the main site.
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
-
Rankings Shifting for the Past 2-3 Years
For the past 2-3 years, my site’s organic rankings have been dramatically shifting, ranking well for a few days and then dropping for a month or two, then ranking again for a few days, and then dropping again. During the time of higher rankings, form submissions increase significantly. The ranking increases or decreases are typically between 10-30 spots each time. I’ve done everything I can think of to address any issues: improved speed, limited 404s, changed the architecture of the site, updated link anchor text, etc. Nothing seems to work. The site has 88% of its traffic coming from desktop, with 9% from mobile and 3% from tablet. The disparity between desktop and mobile leads me to believe that the ranking issues are mobile-related, especially now that Google is using mobile-first indexing. I thought dwell time could be an issue, but session duration is 2:07 minutes and bounce rate is under 60%, with an average of 2.27 pages per session. That doesn’t indicate any quality of traffic issues to me. There are no warnings in Google Search Console, and speed is 58 for mobile and 86 for desktop on Page Speed Insights. I’ve been doing SEO for 12 years, but this has me stumped. My top suspicions are: Speed issues on mobile Penalties for redirects from old website to the new website Penalties for anchor text for the old brand name instead of the new one. The site is https://dragonflydm.com Has anyone seen anything like this? Any ideas?
Intermediate & Advanced SEO | | dragonflydm0 -
Google only indexing the top 2/3 of my page?
HI, I have a page that is about 5000 lines of code total. I was having difficulty figuring out why the addition of a lot of targeted, quality content to the bottom of the pages was not helping with rankings. Then, when fetching as Google, I noticed that only about 3300 lines were getting indexed for some reason. So naturally, that content wasn't going to have any effect if Google in not seeing it. Has anyone seen this before? Thoughts on what may be happening? I'm not seeing any errors begin thrown by the page....and I'm not aware of a limit of lines of code Google will crawl. Pages load under 5 seconds so loading speed shouldn't be the issue. Thanks, Kevin
Intermediate & Advanced SEO | | yandl1 -
Can I undo 301 redirects to purchase site
A website I am thinking of buying has 301 redirected all pages on his site to one page that explains the site is closing down. If I tell him to change the 301 to 302s will I be able to recover the old pages on the site and keep the authority, rankings and link power of the old pages and not the "Closing page"? Is all i have to do is undo the 301 redirects and everything will go back to how the site was before the 301s were in place? Or will I lose all the link power on individual pages because they already transferred to the "Closing page"? Thanks!
Intermediate & Advanced SEO | | atomiconline0 -
How to redirect an url in .htaccess when "redirect 301" doesnt work
I have an odd page url, generated by a link from an external website, it has: %5Cu0026size=27.4KB%5Cu0026p=dell%20printers%20uk%5Cu0026oid=333302b6be58eaa914fbc7de45b23926%5Cu0026ni=21%5Cu0026no=24%5Cu0026tab=organic%5Cu0026sigi=11p3eqh65%5Cu0026tt=Dell%205210n%20A4%20Mono%20Laser%20Printer%20from%20Printer%20Experts%5Cu0026u=fb ,after a .jpg image url, and I can't get it redirect using the redirect 301 in .htaccess to the properly image url as I use to do with the rest of not found urls eg: /15985.jpg%5Cu0026size=27.4KB%5Cu0026p=dell%20printers%20uk%5Cu0026oid=333302b6be58eaa914fbc7de45b23926%5Cu0026ni=21%5Cu0026no=24%5Cu0026tab=organic%5Cu0026sigi=11p3eqh65%5Cu0026tt=Dell%205210n%20A4%20Mono%20Laser%20Printer%20from%20Printer%20Experts%5Cu0026u=fb to just: /15985.jpg
Intermediate & Advanced SEO | | Status0 -
Help understanding 301 domain redirect
Can anyone help me understand a specific process of a 301 redirecting a domain. Here is what I would like to know.... When you 301 redirect a site, most if not all the links follow to your new site. But how does this process happen? 1.When Google sees the new domain does it simply apply the backlink profile of the old site to the new one? 2. Does it have to re-crawl all the links one by one and apply them to the new domain? 3. or something else?
Intermediate & Advanced SEO | | gazzerman10 -
Url rewrite & 301 redirects
Hi all I am having some issues rearding url rewrites and 301 redirects with 1 and 1 hosting and am unsure of the best approach. The website is a custom made shopping cart system with categories and products. The current urls for categories are : index.php?l=product_list&c=1 The new url format required is : /banner-stands The current urls for products are : index.php?l=product_detail&c=1&p=1 The new url format required is : /banner-stands/banner-stand Thanks
Intermediate & Advanced SEO | | vividwebdesign0 -
Home page url 301 redirect suggestion
Hello, In our site we have already done 301 redirect from http:// to http://www. However, the home page links are still coming in 2 ways http://www.mycarhelpline.com/ http://www.mycarhelpline.com/index.php?option=com_newcar&view=search&Itemid=2 Need suggestion We have already use rel canonical is another 301 redirect to be used for maintaining the home page pr from seo point of view. Does google still takes both urls as separate url and finds duplicate content
Intermediate & Advanced SEO | | Modi0 -
Is it ok to use both 301 redirect and rel="canonical' at the same time?
Hi everyone, I'm sorry if this has been asked before. I just wasn't able to find a response in previous questions. To fix the problems in our website regarding duplication I have the possibility to set up 301's and, at the same time, modify our CMS so that it automatically sets a rel="canonical" tag for every page that is generated. Would it be a problem to have both methods set up? Is it a problem to have a on a page that is redirecting to another one? Is it advisable to have a rel="canonical" tag on every single page? Thanks for reading!
Intermediate & Advanced SEO | | SDLOnlineChannel0