The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. How to handle pages I can't delete?

    How to handle pages I can't delete?

    Technical SEO Issues
    14 6 281
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • grobro
      grobro last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • Hutch42
        Hutch42 last edited by

        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.

        1 Reply Last reply Reply Quote 2
        • Keszi
          Keszi last edited by

          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.

          1 Reply Last reply Reply Quote 1
          • JakeMatulewicz
            JakeMatulewicz last edited by

            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

            1 Reply Last reply Reply Quote 1
            • TheeDigital
              TheeDigital last edited by

              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.

              1 Reply Last reply Reply Quote 1
              • evolvingSEO
                evolvingSEO last edited by

                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?

                1 Reply Last reply Reply Quote 1
                • grobro
                  grobro last edited by

                  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!

                  evolvingSEO 1 Reply Last reply Reply Quote 0
                  • evolvingSEO
                    evolvingSEO @grobro last edited by

                    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/

                    grobro 1 Reply Last reply Reply Quote 0
                    • grobro
                      grobro @evolvingSEO last edited by

                      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.

                      1. Add some code to unregister these custom post types.

                      2. Use a plugin to re-write slugs

                      3. 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!

                      evolvingSEO 1 Reply Last reply Reply Quote 0
                      • evolvingSEO
                        evolvingSEO @grobro last edited by

                        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.

                        grobro 1 Reply Last reply Reply Quote 0
                        • grobro
                          grobro @evolvingSEO last edited by

                          Thank you for your answer! Can I use this code in the .htaccess?:

                          Redirect 301 /portfolio-items/ http://mysite.com

                          evolvingSEO 1 Reply Last reply Reply Quote 0
                          • evolvingSEO
                            evolvingSEO @grobro last edited by

                            Most likely, but I would double check with your developer - since I might be unaware of anything out of the ordinary!

                            1 Reply Last reply Reply Quote 1
                            • grobro
                              grobro last edited by

                              The code worked fine, thanks again for your help!

                              evolvingSEO 1 Reply Last reply Reply Quote 0
                              • evolvingSEO
                                evolvingSEO @grobro last edited by

                                great!

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post
                                • How do I handle a redirect chain issue pertaining to a page that doesn't actually exist on my site?
                                  NiteSkirm
                                  NiteSkirm
                                  0
                                  3
                                  38

                                • Getting high priority issue for our xxx.com and xxx.com/home as duplicate pages and duplicate page titles can't seem to find anything that needs to be corrected, what might I be missing?
                                  Todd_McDonald
                                  Todd_McDonald
                                  0
                                  4
                                  4.0k

                                • Why can't I redirect 302 errors to 301's?
                                  Chris.Menke
                                  Chris.Menke
                                  0
                                  3
                                  80

                                • Best way to handle pages with iframes that I don't want indexed? Noindex in the header?
                                  jim_shook
                                  jim_shook
                                  0
                                  3
                                  165

                                • Duplicate Page Content error but I can't see it
                                  KateWaite85
                                  KateWaite85
                                  0
                                  5
                                  237

                                • We have set up 301 redirects for pages from an old domain, but they aren't working and we are having duplicate content problems - Can you help?
                                  cprasad
                                  cprasad
                                  0
                                  12
                                  2.6k

                                • Is it better to delete web pages that I don't want anymore or should I 301 redirect all of the pages I delete to the homepage or another live page?
                                  EGOL
                                  EGOL
                                  0
                                  2
                                  417

                                • If a page isn't linked to or directly sumitted to a search engine can it get indexed?
                                  SimonCullum
                                  SimonCullum
                                  0
                                  5
                                  693

                                Get started with Moz Pro!

                                Unlock the power of advanced SEO tools and data-driven insights.

                                Start my free trial
                                Products
                                • Moz Pro
                                • Moz Local
                                • Moz API
                                • Moz Data
                                • STAT
                                • Product Updates
                                Moz Solutions
                                • SMB Solutions
                                • Agency Solutions
                                • Enterprise Solutions
                                • Digital Marketers
                                Free SEO Tools
                                • Domain Authority Checker
                                • Link Explorer
                                • Keyword Explorer
                                • Competitive Research
                                • Brand Authority Checker
                                • Local Citation Checker
                                • MozBar Extension
                                • MozCast
                                Resources
                                • Blog
                                • SEO Learning Center
                                • Help Hub
                                • Beginner's Guide to SEO
                                • How-to Guides
                                • Moz Academy
                                • API Docs
                                About Moz
                                • About
                                • Team
                                • Careers
                                • Contact
                                Why Moz
                                • Case Studies
                                • Testimonials
                                Get Involved
                                • Become an Affiliate
                                • MozCon
                                • Webinars
                                • Practical Marketer Series
                                • MozPod
                                Connect with us

                                Contact the Help team

                                Join our newsletter
                                Moz logo
                                © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                                • Accessibility
                                • Terms of Use
                                • Privacy