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
-
'duplicate content' on several different pages
Hi, I've a website with 6 pages identified as 'duplicate content' because they are very similar. This pages looks similar because are the same but it show some pictures, a few, about the product category that's why every page look alike each to each other but they are not 'exactly' the same. So, it's any way to indicate to Google that the content is not duplicated? I guess it's been marked as duplicate because the code is 90% or more the same on 6 pages. I've been reviewing the 'canonical' method but I think is not appropriated here as the content is not the same. Any advice (that is not add more content)?
Technical SEO | | jcobo0 -
How can i make Google to consider my News pages
How can i make Google to consider my News pages as News and place them in the Google News section? Is there some syntax i need to mention in all my news pages?
Technical SEO | | AlexisWithers0 -
What is the best way to handle these duplicate page content errors?
MOZ reports these as duplicate page content errors and I'm not sure the best way to handle it. Home
Technical SEO | | ElykInnovation
http://myhjhome.com/
http://myhjhome.com/index.php Blog
http://myhjhome.com/blog/
http://myhjhome.com/blog/?author=1 Should I just create 301 redirects for these? 301 http://myhjhome.com/index.php to http://myhjhome.com/ ? 301 http://myhjhome.com/blog/?author=1 to http://myhjhome.com/ ? Or is there a better way to handle this type of duplicate page content errors? and0 -
How is IT handling multi-page search results for this url?
How is the IT team handling multi-page results? The URL is the same - with out any parameters, but the content changes. Is this best way to handle it from an SEO perspective?
Technical SEO | | S.S.N0 -
Secondary Pages Indexed over Primary Page
I have 4 pages for a single product Each of the pages link to the Main page for that product Google is indexing the secondary pages above my preferred landing page How do I fix this?
Technical SEO | | Bucky0 -
Can JavaScrip affect Google's index/ranking?
We have changed our website template about a month ago and since then we experienced a huge drop in rankings, especially with our home page. We kept the same url structure on entire website, pretty much the same content and the same on-page seo. We kind of knew we will have a rank drop but not that huge. We used to rank with the homepage on the top of the second page, and now we lost about 20-25 positions. What we changed is that we made a new homepage structure, more user-friendly and with much more organized information, we also have a slider presenting our main services. 80% of our content on the homepage is included inside the slideshow and 3 tabs, but all these elements are JavaScript. The content is unique and is seo optimized but when I am disabling the JavaScript, it becomes completely unavailable. Could this be the reason for the huge rank drop? I used the Webmaster Tolls' Fetch as Googlebot tool and it looks like Google reads perfectly what's inside the JavaScrip slideshow so I did not worried until now when I found this on SEOMoz: "Try to avoid ... using javascript ... since the search engines will ... not indexed them ... " One more weird thing is that although we have no duplicate content and the entire website has been cached, for a few pages (including the homepage), the picture snipet is from the old website. All main urls are the same, we removed some old ones that we don't need anymore, so we kept all the inbound links. The 301 redirects are properly set. But still, we have a huge rank drop. Also, (not sure if this important or not), the robots.txt file is disallowing some folders like: images, modules, templates... (Joomla components). We still have some html errors and warnings but way less than we had with the old website. Any advice would be much appreciated, thank you!
Technical SEO | | echo10 -
Does it matter that our cached pages aren't displaying style
We've got pages that, when I search for them in Google and click on Cache, show NO styles, nothing from the CSS. Is there any way that could effect rankings? I don't think so, but it does fall into the category of showing one thing to the bots and another to the user, which is bad. Also, could blocking /scripts in robots.txt be preventing bots from accessing the CSS? Thanks
Technical SEO | | poolguy0 -
If you only want your home page to rank, can you use rel="canonical" on all your other pages?
If you have a lot of pages with 1 or 2 inbound links, what would be the effect of using rel="canonical" to point all those pages to the home page? Would it boost the rankings of the home page? As I understand it, your long-tail keyword traffic would start landing on the home page instead of finding what they were looking for. That would be bad, but might be worth it.
Technical SEO | | watchcases0