1
kikkorm
How can i let my website to open index.php
  • 2006/3/17 21:37

  • kikkorm

  • Just popping in

  • Posts: 43

  • Since: 2005/12/17


Hi,

I set News as starting module for my website . When i prompt my website homepage, http://www.mysite.com, i directly reach http://www.mysite.com/modules/bdnews/.
I would like to have displayed into address http://www.mysite.com/modules/bdnews/index.php, not just the url ending with slash. Is that possible in some ways? Thanks!

2
Dave_L
Re: How can i let my website to open index.php
  • 2006/3/17 23:52

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Why do you want the "index.php" displayed?

3
kikkorm
Re: How can i let my website to open index.php
  • 2006/3/18 0:21

  • kikkorm

  • Just popping in

  • Posts: 43

  • Since: 2005/12/17


I've a strange problem, but is not directly concerning with xoops. I use google adsense into my websites, and if i set news as the default module, i do not receive any ads. (the problem disappear if i switch the default module to another one). I was asking for admin.php because prompting that into the address bar, after /modules/news/ , ads appeared again.
Any clue?
thanks :)

4
kikkorm
Re: How can i let my website to open index.php
  • 2006/3/18 0:24

  • kikkorm

  • Just popping in

  • Posts: 43

  • Since: 2005/12/17


sorry i wrote admin.php but i wanted to say index.php

5
Dave_L
Re: How can i let my website to open index.php
  • 2006/3/18 1:47

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I'm not sure if this would work, but you could try putting an index.php file in your top level directory http://www.example.com containing:

('Location: http://www.example.com/modules/bdnews/index.php'?>


If you're currently using another method of redirection, you'd need to disable that.

Login

Who's Online

425 user(s) are online (349 user(s) are browsing Support Forums)


Members: 0


Guests: 425


more...

Donat-O-Meter

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

Latest GitHub Commits