Keyword

Disable date pages

  • George Nasis
  • George Nasis's Avatar Topic Author
  • Offline
  • Elite Member
More
6 years 3 weeks ago - 6 years 3 weeks ago #168833 by George Nasis
Disable date pages was created by George Nasis
Hallo,

I would like to know how I can disable the "date" pages.

I dont use anywhere in the site this one but on google I see tha pages of date are crawled

www.example.com/category/date/%7Byear%7D/%7Bmonth%7D/%7Bday%7D?catid=13

like this one

Can I remove all date pages?

Thank you
Last edit: 6 years 3 weeks ago by George Nasis.

Please Log in or Create an account to join the conversation.

More
6 years 3 weeks ago #168844 by JoomlaWorks
Replied by JoomlaWorks on topic Disable date pages
First, double check you don't have the K2 Tools >> Archive (option) module enabled somewhere.

Then simply add a 301 redirect for all /category/date/XYZ URLs to your homepage.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • George Nasis
  • George Nasis's Avatar Topic Author
  • Offline
  • Elite Member
More
6 years 3 weeks ago - 6 years 3 weeks ago #168894 by George Nasis
Replied by George Nasis on topic Disable date pages
Thank you for your answer.
No I do not use anywhere the archive function.

The redirect option maybe indeed redirect all crawled pages to homepage but:

1. This does not mean that google will stop crawl the date pages
2. My site has above of 500 categories. I cannot add 500 entries/urls in .htaccess.

Can I hack somehow the core files in order to stop the creation of date pages?
Last edit: 6 years 3 weeks ago by JoomlaWorks.

Please Log in or Create an account to join the conversation.

More
6 years 3 weeks ago #168897 by JoomlaWorks
Replied by JoomlaWorks on topic Disable date pages
1. It will. That's the point of a permanent redirect.
2. Use pattern matching. I never implied adding dozens or hundreds of URLs.

You can't hack core files to do this cause you don't need to. The entry point for these URLs is the archive option in the K2 Tools module (mod_k2_tools) or perhaps another module from a 3rd party that works similarly. Double verify it's not currently published anywhere. If it's not, the URLs may be left overs from crawling conducted in the past.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • George Nasis
  • George Nasis's Avatar Topic Author
  • Offline
  • Elite Member
More
6 years 3 weeks ago #168902 by George Nasis
Replied by George Nasis on topic Disable date pages
I just fininshed checking, it took me all the night. I am kidding.

No Fotis, there is not any k2 tool module with archive function. And I never used it in my site (so how the pages of date have been crawled?)

I will use redirect with pattern and I was thinking also to add some rules in robots.txt to stop future crawl for date pages.

Please Log in or Create an account to join the conversation.

More
6 years 3 weeks ago #168913 by JoomlaWorks
Replied by JoomlaWorks on topic Disable date pages
Whatever works :)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • George Nasis
  • George Nasis's Avatar Topic Author
  • Offline
  • Elite Member
More
6 years 3 weeks ago #168917 by George Nasis
Replied by George Nasis on topic Disable date pages
Yes, sure! :)

Anyway thank you Fotis!

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum