Jump to content

singe page site - google indexing problem


simonGG
 Share

Recommended Posts

Hi there,

i developed a single page site where the sections of the site are pages within processwire.
For example imagine this case: I have 3 sections about, work, contact. So i created 3 templates and 3 pages.
Now in my home.php i include them - so far so good.

Thus i get www.page/about, www.page/work, www.page/contact ... and google is indexing this urls.
I don't want that to happen because they content only works within the home where the css and js is loaded.

What can i do? Can i simply disallow them in a robots.txt like: Disallow: /about/  ... or will this be a SEO killer?

Thanks in advance & cheers Simon

Link to comment
Share on other sites

10 hours ago, simonGG said:

hidding is not realy a option for me because in my setup they musst be visible.

You mean you want the pages that are rendered as part of Home to be accessible at /about/, /work/, etc, to human visitors but not to Google? That seems odd, especially if they don't display properly without the CSS/JS from the Home template.

I think you do want to prevent direct access to those pages. This thread has some techniques for achieving that:

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...