Author Topic: Htaccess redirect questions  (Read 13527 times)

0 Members and 2 Guests are viewing this topic.

Offline chris

  • Newbie
  • *
  • Posts: 32
    • View Profile
Htaccess redirect questions
« on: February 26, 2009, 06:37:53 AM »
someone need to wrote a manual for this script :)

so i have a site with categories
/index,php is the famale celebs page
/movies/index.php is the movies page
/pornstars/index.php the pornstar page
/malecelebs/index.php the male celebs page

for have url redirect i need to
1 use the htaccess way
2 add for trades that i want to redirect the Redirect to URL eg./pornstars/
3 all my trades send traffic to my root
right?

- in Settings/In do i need to add anything ? (in the fields "Use multiple main pages: ")
- do i still need to use the <?php virtual("/tp/ssi_in.php")?> in my pages or i can remove it ?
- with the htaccess way i will track the hits in all the pages in my site ? i dont want TP to track the traffic to my own galleries that i post to other tgps.
-the redirection will redirect the SE bots that come from my trades too ? and if yes is that safe or i will get banned from SEs ?


Offline ip0li

  • mgSearkGD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1959
    • View Profile
    • Pretty Girls from your city for night
Re: Htaccess redirect questions
« Reply #1 on: February 26, 2009, 07:41:27 AM »
for have url redirect i need to
1 use the htaccess way
2 add for trades that i want to redirect the Redirect to URL eg./pornstars/
3 all my trades send traffic to my root
right?

-> Yes, U are right.

- in Settings/In do i need to add anything ? (in the fields "Use multiple main pages: ")
You can but only thing U need to set is default index
- do i still need to use the <?php virtual("/tp/ssi_in.php")?> in my pages or i can remove it ?
Leave it so filtering works(filter.php insert)
- with the htaccess way i will track the hits in all the pages in my site ? i dont want TP to track the traffic to my own galleries that i post to other tgps.
You will track traffic on root and on any other pages where U have ssi_in
-the redirection will redirect the SE bots that come from my trades too ? and if yes is that safe or i will get banned from SEs ?
YOu can NEVER know but from what I heard it's safe.

Offline chris

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Htaccess redirect questions
« Reply #2 on: February 26, 2009, 07:59:43 AM »
thanks for the fast reply ipoli

Quote
- with the htaccess way i will track the hits in all the pages in my site ? i dont want TP to track the traffic to my own galleries that i post to other tgps.
You will track traffic on root and on any other pages where U have ssi_in

can you please clear me this
the htaccess was will NOT track hits in folders ?
eg /pornstars/index.php
there i will have to use the ssi_in for track hits ?


Quote
-the redirection will redirect the SE bots that come from my trades too ? and if yes is that safe or i will get banned from SEs ?
YOu can NEVER know but from what I heard it's safe.

anyone who use the redirection can tell me if its safe with SEs

thanks

Offline chris

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Htaccess redirect questions
« Reply #3 on: February 26, 2009, 08:13:39 AM »
i test it and
in the Redirect to URL i have to putt full url for works http://www.domain.com/pornstars/?tp_s=1

is that normal ?  (i cant just add the directory)

also when i redirect a hit to my pornstars/ folder/page i get this at the end of the url ?tp_s=1
the url look like (http://www.domain.com/pornstars/?tp_s=1)

what is this ?tp_s=1 and how can i remove it ?

thanks

Offline ip0li

  • mgSearkGD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1959
    • View Profile
    • Pretty Girls from your city for night
Re: Htaccess redirect questions
« Reply #4 on: February 26, 2009, 10:47:42 AM »
1) I recommend you to use ssi_in.php
2) ?tp_s=1 is tp's extra variable so it knows not to double track hit in case ssi_in.php is used. if ssi_in.php is used, and before that hit was tracked by htaccess redirect ssi_in.php will JUST show filter.php to catch some bots.

Offline chris

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Htaccess redirect questions
« Reply #5 on: February 26, 2009, 01:28:45 PM »
is there a way for avoid  having the ?tp_s=1 at the end of the redirect url ?

this link does not look good to SEs
http://www.domain.com/pornstars/?tp_s=1

thanks

Offline ip0li

  • mgSearkGD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1959
    • View Profile
    • Pretty Girls from your city for night
Re: Htaccess redirect questions
« Reply #6 on: February 26, 2009, 01:53:29 PM »
unfortunatelly not...

Offline chris

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Htaccess redirect questions
« Reply #7 on: February 27, 2009, 08:14:56 AM »
then the best solution for me is to remove the htaccess and go with the ssi_in.php way
but i will have to ask from my trades to links me at diferent pages by them niche

right ?

Offline ip0li

  • mgSearkGD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1959
    • View Profile
    • Pretty Girls from your city for night
Re: Htaccess redirect questions
« Reply #8 on: February 28, 2009, 06:11:50 AM »
you are right...U know what you need mate ;)

Offline chris

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Htaccess redirect questions
« Reply #9 on: March 01, 2009, 02:44:09 AM »
thanks ipoli

i just try to make it totaly clear for help others who may have the same questions