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
-
Should 'View All' filters on ecommerce sites be indexable?
Hi, I’m looking at a site at the moment that has a lot of products. For some of their category pages they have a ‘View All’ feature available. The URL uses this structure: domain.com/category/sub-category/product domain.com/category/sub-category/view-all < currently noindex applied Should the view all page be available for indexing? The individual sub-categories and products are indexable My immediate reaction is no, so long as the individual sub-cats are?
Technical SEO | | daniel-brooks0 -
Disallowing WP 'author' page archives
Hey Mozzers. I want to block my author archive pages, but not the primary page of each author. For example, I want to keep /author/jbentz/ but get rid of /author/jbentz/page/4/. Can I do that in robots by using a * where the author name would be populated. ' So, basically... my robots file would include something like this... Disallow: /author/*/page/ Will this work for my intended goal... or will this just disallow all of my author pages?
Technical SEO | | Netrepid0 -
Can you noindex a page, but still index an image on that page?
If a blog is centered around visual images, and we have specific pages with high quality content that we plan to index and drive our traffic, but we have many pages with our images...what is the best way to go about getting these images indexed? We want to noindex all the pages with just images because they are thin content... Can you noindex,follow a page, but still index the images on that page? Please explain how to go about this concept.....
Technical SEO | | WebServiceConsulting.com0 -
When testing the on page report I'm having a few problems
First of all, is this test checking my seo optimization over the whole website or just over one site: Ie. when I type in www.joelolson.ca...is it also checking sites like www.joelolson.ca/realtorresources... Secondly. I have found that it won't find specific websites on my page and says they can't be found when clearly they exist
Technical SEO | | JoelOlson0 -
Is it bad to have your pages as .php pages?
Hello everyone, Is it bad to have your website pages indexed as .php? For example, the contact page is site.com/contact.php and not /contact. Does this affect your SEO rankings in any way? Is it better to have your pages without the extension? Also, if I'm working with a news site and the urls are dynamic for every article (ie site.com/articleid=2323.) Should I change all of those dynamic urls to static? Thank You.
Technical SEO | | BruLee0 -
On-Page Report Says 'F', and I'm Confoozled As to Why
I'm primarily interested in how we failed in our "Broad Keyword Usage in Title" category. The Keyword Pair we're gunnin' for is: "Mac Windows" Our current page title is: "CrossOver: Windows on Mac and Linux with the easiest and most affordable emulator - CodeWeavers" This is, I grant, ugly. However, bear with me. SEOMoz Report Card says "Easy Fix!" and suggests: "Employ the keyword in the page title, preferrably as the first words in the element." I humbly submit that "Mac" and "Windows" IS in the page title. So what am I missing? Is it the placement of the words relative to each other, or relative to the start of the sentence? Or is the phrase "CrossOver:" somehow blocking the rest of the sentence from being read? Are colons evil? I'm genuinely mystified as to why (from a structural standpoint) our existing title tag is failing this test, and I'd be delighted for answers and/or feedback. Thanks in advance.
Technical SEO | | CodeWeavers0 -
Why won't google rank my homepage
I have a site that ranks high on the first page for it's main keyword at both Bing and Yahoo but horribly at Google. It's a domain I recently acquired and am in the process of optimizing. My goal is to improve the relevancy for the site in Google so that the site shows up better for it's main keyword. With that said I've been working on building valuable links to the page and I would like some opinions on why the homepage is not ranking for the main keyword. Instead I have a junky content page that is ranking for the term. So in the event that you have a exact match domain showing up very high in Bing and Yahoo but not in Google for the homepage, what factors would you look at? Add in the complexity that a page other than the homepage is making grounds on the exact match keyword having moved up from "not in the top 100" to the 50's, what's my best solution to ranking the homepage? The site is optimized well and most inbound links predominantly point to the homepage.
Technical SEO | | DotCar0