1
indream
how i remove modules/blabla directory for google ?
  • 2005/4/12 13:39

  • indream

  • Not too shy to talk

  • Posts: 170

  • Since: 2004/9/21


hi

how i remove modules/news or modules/xoopspool directory for google ?


i think
mywebsite.com google pagerank "5"

but

mywebsite.com/modules/news google pagerank "0"

sample:

mywebsite.com/index.php' keywords
(high hit for google search for pagerank (5))


mywebsite.com/modules/news/index.php' keywords
(low hit for google search for pagerank (0) :( )

2
DonXoop
Re: how i remove modules/blabla directory for google ?

For Apache you can create a file named "robots.txt" file in the XOOPS root directory. Something like:

User-agent: *
Disallow: /cgi-bin/
Disallow: /tmp/
Disallow: /cache/
Disallow: /class/
Disallow: /images/
Disallow: /include/
Disallow: /kernel/
Disallow: /language/
Disallow: /templates_c/
Disallow: /themes/
Disallow: /uploads/
Disallow: /modules/news/
Disallow: /modules/contact/


This will prevent search robots from indexing the news module and a few other items they shouldn't see. Adjust to your needs.

3
indream
Re: how i remove modules/blabla directory for google ?
  • 2005/4/12 14:27

  • indream

  • Not too shy to talk

  • Posts: 170

  • Since: 2004/9/21


but i make this google or any search engine bots not listed or cached my website

because
robots.txt'
disallow command is "not list this directory and content"

how this right ?

4
DonXoop
Re: how i remove modules/blabla directory for google ?

I don't understand your question. Do you want to prevent the search engines from indexing or want them to index?

5
indream
Re: how i remove modules/blabla directory for google ?
  • 2005/4/12 14:33

  • indream

  • Not too shy to talk

  • Posts: 170

  • Since: 2004/9/21


but i make this google or any search engine bots not listed or cached my website

because
robots.txt'
disallow command is "not list this directory and content"

how this right ?

6
Mithrandir
Re: how i remove modules/blabla directory for google ?

Indream: Repeating your question when the replier doesn't understand it is quite impolite. If you are not getting the replies you need, maybe you need to rephrase the question.

I think you believe that Google has a problem with subdirectories and therefore you need to remove the "modules" part of the URL. What you need to search for and investigate is Apache's Mod Rewrite or URL rewriting or short URLs or similar search terms. Both here and in general.

7
DonXoop
Re: how i remove modules/blabla directory for google ?

Still not sure what you are trying to do.

Is there a site under xoops local support in your native language? That might be easier to explain in your language.

Login

Who's Online

166 user(s) are online (122 user(s) are browsing Support Forums)


Members: 1


Guests: 165


ForMusS,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits