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
-
Handling Pages with query codes
In Moz my client's site is getting loads of error messages for no follow tags on pages. This is down to the query codes on the E-commerce site so the URLs can look like this https://www.lovebombcushions.co.uk/?bskt=31d49bd1-c21a-4efa-a9d6-08322bf195af Clearly I just want the URL before the ? to be crawled but what can I do in the site to ensure that these errors for nofollow are removed? Is there something I should do in the site to fix this? In the back of my mind I'm thinking rel-conanical tag but I'm not sure. Can you help please?
Technical SEO | | Marketing_Optimist1 -
Help! How to Remove Error Code 901: DNS Errors (But to a URL that doesn't exist!)
I have 2 urgent errors saying there are 2 x error code 909's detected. These don't link to any page - but I can tell there is a mistake somewhere - I just don't know what needs changing. http://www.justkeyrings.co.ukhttp/www.justkeyrings.co.uk/printed-promotional-keyrings http://www.justkeyrings.co.ukhttp/www.justkeyrings.co.uk/blank-unassembled-keyrings Could someone help please? screen-shot-2015-08-11-at-13.18.17.png?t=1439292942
Technical SEO | | FullSteamBusiness0 -
Why are only PDFs on my client's site being indexed, and not actual pages?
My client has recently built a new site (we did not build this), which is a subdomain of their main site. The new site is: https://addstore.itelligencegroup.com/uk/en/. (Their main domain is: http://itelligencegroup.com/uk/) This new Addstore site has recently gone live (in the past week or so) and so far, Google appears to have indexed 56 pdf files that are on the site, but it hasn't indexed any of the actual web pages yet. I can't figure out why though. I've checked the robots.txt file for the site which appears to be fine: https://addstore.itelligencegroup.com/robots.txt. Does anyone have any ideas about this?
Technical SEO | | mfrgolfgti0 -
Should I disavow links from pages that don't exist any more
Hi. Im doing a backlinks audit to two sites, one with 48k and the other with 2M backlinks. Both are very old sites and both have tons of backlinks from old pages and websites that don't exist any more, but these backlinks still exist in the Majestic Historic index. I cleaned up the obvious useless links and passed the rest through Screaming Frog to check if those old pages/sites even exist. There are tons of link sending pages that return a 0, 301, 302, 307, 404 etc errors. Should I consider all of these pages as being bad backlinks and add them to the disavow file? Just a clarification, Im not talking about l301-ing a backlink to a new target page. Im talking about the origin page generating an error at ping eg: originpage.com/page-gone sends me a link to mysite.com/product1. Screamingfrog pings originpage.com/page-gone, and returns a Status error. Do I add the originpage.com/page-gone in the disavow file or not? Hope Im making sense 🙂
Technical SEO | | IgorMateski0 -
How to handle mobile site with less pages than the main site?
We are developing a mobile version of our website that will utilize responsive design/dynamic serving. About 70% of the main website will be included in the mobile version. What (if anything) should be the redirect for pages not included in the mobile version of the site? Also - for one specific section users will be redirected from that page to the homepage, what is the redirect that should be used for this? Thanks!
Technical SEO | | theLotter0 -
Best way to handle different views of the same page?
Say I have a page: mydomain.com/page But I also have different views: /?sort=alpha /print-version /?session_ID=2892 etc. All same content, more or less. Should the subsequent pages have ROBOTS meta tag with noindex? Should I use canonical? Both? Thanks!
Technical SEO | | ChatterBlock0 -
Can anyone tell me where my site can be improved
My website is www.theradiatorgallery.com I have been trying to get on 1st page for designer radiators. I am currently ranked 21st just dropped to the 3rd page within the past hour, i was 20th before this. There are some sites that i would think i would rank better than due do i have better on page optimization, higher PA, DA and PR based on seo moz reports. Is there something wrong with my site that i am missing? the sites i feel i should rank better than are; radsnrails.co.uk, warmrooms.co.uk and a couple others Any help would be great! Thanks Guys
Technical SEO | | myloseo0