How to handle pages I can't delete?
-
Hello Mozzers,
I am using wordpress and I have a small problem. I have two sites, I don't want but the dev of the theme told me I can't delete them.
/portfolio-items/
/faq-items/
The dev said he can't find a way to delete it because these pages just list faqs/portfolio posts. I don't have any of these posts so basically what I have are two sites with just the title "Portfolio items" and "FAQ Items". Furthermore the dev said these sites are auto-generated so he can't find a way to remove them.
I mean I don't believe that it's impossible, but if it is how should I handle them? They are indexed by search engines, should I remove them from the index and block them from robots.txt?
Thanks in advance.
-
great!
-
The code worked fine, thanks again for your help!
-
Most likely, but I would double check with your developer - since I might be unaware of anything out of the ordinary!
-
Thank you for your answer! Can I use this code in the .htaccess?:
Redirect 301 /portfolio-items/ http://mysite.com
-
Great - the info helps. To be honest, this isn't a huge issue if left alone, or if you do the redirect. But if you're worried about users landing on the wrong page, you can 301 redirect to the homepage and that should be just fine.
-
They told me this:
Salman wrote:
Hi There,
These are not pages or posts which you can remove by just clicking on a button. These are custom posts types and you can not directly remove slugs within current setup. You have following options though.
-
Add some code to unregister these custom post types.
-
Use a plugin to re-write slugs
-
Use .htaccess to redirect users when this URL is access. This might work
BEGIN REMOVE SLUG CUSTOM POST TYPE RULES
RewriteRule ^portfolio-items/(.+)/$ /$1 [R=301,L]
RewriteRule ^faq-items/(.+)/$ /$1 [R=301,L]END REMOVE SLUG CUSTOM POST TYPE RULES
I hope you understand that the solution you need is not possible with our current set of options and will require some customization of the theme. We’d love to help you with this customization but we are only able to provide support for basic theme issues and bug fixes. We do provide support for small customizations but unfortunately this request is beyond that.
There aren't any similar pages, I guess I 301 redirect them to the home page. It's three pages, will this have any negative effects?
Thanks for the help, highly appreciated!
-
-
If you can't delete them, you should probably 301 redirect them to the most similar page, or just the homepage. You can redirect them in the .htaccess file or use a redirection plugin: https://wordpress.org/plugins/redirection/
-
Thanks for all the answers! Sorry, I didn't have a chance to respond earlier.
Unfortunately, I still couldn't fix this. I talked to the original devs (on their support forums) and they couldn't help me further with this. It's about these 3 pages:
/themefusion_es_groups/group1/
/portfolio-items/
/faq-items/
I don't know what else I could try..
Best regards!
-
Hi There
Just checking, any luck with this? Can you clarify what you mean by "sites"? Those both look like sub-folders? Can you explain a little more in context how they fit into whatever domain you're on?
-
Where are they linked FROM? Are they pulled in a menu or a sidebar or are they linked internally somewhere else? If they are not being used, you simply need to delete links to them and they will disappear.
-
You an either block them via the robots.txt file or just 301 redirect them to the sites homepage or an applicable page.
I would just 301 redirect them.
Thanks,
Jake
-
Hi,
Quite interesting what you developer says There is no such thing in Wordpress as Impossible, but let's say if there is no other way to handle it, you could download the Yoast plugin (wordpress seo) and set those pages to noindex, follow and from robots.txt disallow access to the two pages.
Still I would check what is causing the "auto-generated" pages. If it is a bought theme, go ask the original developer. I'm quite sure that there will be an easy way to fix it. (drop me a private message and we can check it out together)
Gr., Keszi
Later Edit: Hint: Maybe you (or your developer) should check into the custom post types.
-
If those pages are being created due to those being tag options you should try deleting the tag to see if it stops wordpress from generating the page.
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
-
Can I use a 301 redirect to pass 'back link' juice to a different domain?
Hi, I have a backlink from a high DA/PA Government Website pointing to www.domainA.com which I own and can setup 301 redirects on if necessary. However my www.domainA.com is not used and has no active website (but has hosting available which can 301 redirect). www.domainA.com is also contextually irrelevant to the backlink. I want the Government Website link to go to www.domainB.com - which is both the relevant site and which also should be benefiting from from the seo juice from the backlink. So far I have had no luck to get the Government Website's administrators to change the URL on the link to point to www.domainB.com. Q1: If i use a 301 redirect on www.domainA.com to redirect to www.domainB.com will most of the backlink's SEO juice still be passed on to www.domainB.com? Q2: If the answer to the above is yes - would there be benefit to taking this a step further and redirect www.domainA.com to a deeper directory on www.domianB.com which is even more relevant?
Technical SEO | | DGAU
ie. redirect www.domainA.com to www.domainB.com/categoryB - passing the link juice deeper.0 -
Blog page won't get indexed
Hi Guys, I'm currently asked to work on a website. I noticed that the blog posts won't get indexed in Google. www.domain.com/blog does get indexed but the blogposts itself won't. They have been online for over 2 months now. I found this in the robots.txt file: Allow: / Disallow: /kitchenhandle/ Disallow: /blog/comments/ Disallow: /blog/author/ Disallow: /blog/homepage/feed/ I'm guessing that the last line causes this issue. Does anyone have an idea if this is the case and why they would include this in the robots.txt? Cheers!
Technical SEO | | Happy-SEO2 -
What is the best way to handle links that lead to a 404 page
Hi Team Moz, I am working through a site cutover with an entirely new URL structure and have a bunch of pages that could not, would not or just plain don't redirect to new pages. Steps I have taken: Multiple new sitemaps submitted with new URLs and the indexing looks solid used webmasters to remove urls with natural result listings that did not redirect and produce urls Completely built out new ppc campaigns with new URL structures contacted few major link partners Now here is my question: I have a pages that produce 404s that are linked to in forums, slick deals and stuff like that which will not be redirected. Is disavowing these links the correct thing to do?
Technical SEO | | mm9161570 -
My beta site (beta.website.com) has been inadvertently indexed. Its cached pages are taking traffic away from our real website (website.com). Should I just "NO INDEX" the entire beta site and if so, what's the best way to do this? Please advise.
My beta site (beta.website.com) has been inadvertently indexed. Its cached pages are taking traffic away from our real website (website.com). Should I just "NO INDEX" the entire beta site and if so, what's the best way to do this? Are there any other precautions I should be taking? Please advise.
Technical SEO | | BVREID0 -
According to 1 of my PRO campaigns - I have 250+ pages with Duplicate Content - Could my empty 'tag' pages be to blame?
Like I said, my one of my moz reports is showing 250+ pages with duplicate content. should I just delete the tag pages? Is that worth my time? how do I alert SEOmoz that the changes have been made, so that they show up in my next report?
Technical SEO | | TylerAbernethy0 -
Can anyone tell me why the bot has only picked up one page?
www.namebadgesinternational.co.nz After the 2nd week, I changed the robots.txt file to allow ALL robots on the website, but it still hasn't gone through any pages after another crawl Any help would be hugely appreciated.
Technical SEO | | designsecrets0 -
What's the max number of links you should ever have on a page?
Our homepage has a few hundred links and our index pages(pages that link to our spintext pages) have about 900 links on them with no content. Our SEO guy said we have to keep the links under 1000 but I wanted to see what you guys think.
Technical SEO | | upper2bits0 -
Can leaving up old web pages no longer accessible through my site navigation hurt my rankings?
My firm recently overhauled a client's website. As part of the project, we gave the content a new structure, eliminating certain pages and creating several new ones. However, I just found out that some of the "old" pages (the ones we supposedly eliminated) still appear in the Google SERPs. Somehow, the client - who handled the coding - let these pages remain live even though they can no longer be accessed through the site navigation. This seems like something that could hurt the client's SEO rankings, but I want to make sure before contacting the client and suggesting they take down the old pages. Can anyone confirm my suspicion?
Technical SEO | | matt-145670