PDA

View Full Version : Where are the various links created?


FFMG
02-25-2006, 04:48 PM
Ok, my .htaccess simply does not work at all.
My host will not allow it.

So what I wanted to do was to add a small function that would created a php file based on the name of the category so at least I would have a link for each category.

So in my case

http://www.webhostshunter.com/index.php?c=14

would become something like

http://www.webhostshunter.com/cat/affiliate_programs.php but in order to do that I would need to know where the http://www.webhostshunter.com/index.php?c=14 link gets created.

My second problem is that the file might need to be in the root directory, but I will fix that problem when I come across it.

So....

1) If you know where the links are created please let me know
2) If you want to see the result of my changes let me know and I will add them here, (or in the mod section).

FFMG

FFMG
02-25-2006, 05:09 PM
Sorry, I found it in the template, (main.tpl).
I must admit that I am a bit surprised to fin it there.

Anyways, I am going to try and write something to replace the .htaccess, I’ll try and make a mod for it.

FFMG

FFMG
02-25-2006, 09:24 PM
I hate replying to myself all the time but...

I have created a mod that gets rid of the whole .htaccess thing.
It does require write permission to the root directory, (only when you add a new category).
And I have only tested it on windows and Unix Apache servers.

Have a look at http://www.webhostshunter.com/, it does use 'enable URL rewrite', but it does not use .htaccess.
After a bit of playing around I will release the mod, (I first need to read how to release a mod).

Let me know if you are interested.

FFMG

smugwimp
03-13-2006, 10:47 AM
1) If you know where the links are created please let me know
2) If you want to see the result of my changes let me know and I will add them here, (or in the mod section).

Yes. Yes.

Cheers

Smug

FFMG
03-13-2006, 10:52 AM
Content visible to registered users only.

Sorry, I am a bit confused, would you like the mod?

FFMG

spree
03-13-2006, 01:53 PM
Hi FFMG

Site looks good, how did you put the extra panel into your front page?

I am looking to do this on one of my sites but havent worked it out yet.

Thanks - Spree

FFMG
03-17-2006, 11:37 AM
Content visible to registered users only.

It’s something I wrote myself.
It gets RSS news from some selected Feeds, (at 12:00 every night).

The nice thing about it is that it creates a static page everyday for me.

http://www.webhostshunter.com/archive.php

FFMG