![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: May 2005
Location: On search pages, on ICQ @ 308 7 43669, and in the U.S.
Posts: 925
|
SmartTrafficTrader Requires PHP Index? Nooo!
So I just installed Smart Traffic Trader on a couple sites and then I noticed that the documentation states that in order to run it on a page, the page must have a .php extension.
"In order to count incoming hits, you need to add a short PHP code to every page where your trades will send traffic to. All those pages must have .php extension, otherwise it won't work (you can't use .shtml, because some features of the script wouldn't work). If they don't have .php extension, rename them (if your index page is index.html, you need to rename it to index.php etc.)." Why isn't this made known before downloading and installing? Does anyone know of a way around this? Thanks, c-lo
__________________
![]() ![]() Traffic & Hardlink Trades | Sponsors | Resources The adult marketing network you can trust |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed IT Professional
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
|
you could set Apache to parse html docs with the php parser...or you could recode the software. Either way you need to use php to run it since that is what it's coded in.
__________________
The Best Affiliate Software, Ever. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
Or you can simply include php in your html files
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
There's really no way around that, but a quick hack (if supported by your server/configuration) is to add php_flag prepend_file /path/to/file.php into your .htaccess and set it to use the php parser via the AddType directive - but this will cause it to be run for EVERY file.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed IT Professional
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
|
But, in order to be able to successfully do that you need to set a handler to parse html as php.
__________________
The Best Affiliate Software, Ever. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed IT Professional
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
|
Quote:
__________________
The Best Affiliate Software, Ever. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
do some mod_rewrite magic from index.html to index.php?
but why not just leave it as index.php, why do you want it to have index.html so badly anyway?
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: May 2005
Location: On search pages, on ICQ @ 308 7 43669, and in the U.S.
Posts: 925
|
Quote:
It just seems like a large hassle. One I could have avoided had they forewarned me on their site. I appreciate all the help fellas, but seeing as how I'm php illiterate, I have almost no clue as to how to apply the tips you've given me. I do appreciate it though. ![]() c-lo
__________________
![]() ![]() Traffic & Hardlink Trades | Sponsors | Resources The adult marketing network you can trust |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed IT Professional
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
|
Quote:
__________________
The Best Affiliate Software, Ever. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
|
Like what woj said. If you have to keep your existing page type... I'm guessing because you have a warning page or something setup on index, use the following (assuming your page is tgp.shtml):
RewriteEngine On RewriteBase / RewriteRule ^tgp\.shtml$ tgp.php |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Jun 2005
Location: Irvine, CA
Posts: 2,442
|
just addhandler in httpd.conf for html.. ask your admin to do it, he'll know
__________________
254342256
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed IT Professional
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
|
Oh, just to add, to setup the handler...
for CPanel with Apache: CPanel Home - Apache Handlers enter: .html x-httpd-php
__________________
The Best Affiliate Software, Ever. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: May 2002
Location: CT
Posts: 5,246
|
you could do it through .htaccess if you want email me if you need help
but having it as .php it will not decrease pr |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: May 2005
Location: On search pages, on ICQ @ 308 7 43669, and in the U.S.
Posts: 925
|
Wow, thanks for all the help fellas.
Okay, say I do go through all the page renaming, etc...how can I make my mainpage (aka blah.com) default to the .php page. I know if I have index.html it will default to that if my domain is typed in, but how would I make it default to index.php when my domain is typed? Surely this is possible. EDIT: Also, would changing the page extension affect my placement in the SERPs? Thanking you, c-lo
__________________
![]() ![]() Traffic & Hardlink Trades | Sponsors | Resources The adult marketing network you can trust |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Confirmed User
Join Date: Jun 2005
Location: Irvine, CA
Posts: 2,442
|
Quote:
__________________
254342256
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Confirmed User
Join Date: May 2005
Location: On search pages, on ICQ @ 308 7 43669, and in the U.S.
Posts: 925
|
Okay, thanks studiocritic...I'll see if I can get my host to configure that for me.
Anyone got an answer to my last question; will the .php change affect my SE placement? later c-lo
__________________
![]() ![]() Traffic & Hardlink Trades | Sponsors | Resources The adult marketing network you can trust |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Join Date: Jun 2005
Location: Irvine, CA
Posts: 2,442
|
someone already answered that.. google doesnt care what your files are named.
as far as changing existing links, you'd need to do a proper 301 redirect from all of the old URLs. this could have some temporary negative effects on your rankings. if these are new sites, it doesnt matter at all.
__________________
254342256
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
Confirmed User
Join Date: May 2005
Location: On search pages, on ICQ @ 308 7 43669, and in the U.S.
Posts: 925
|
They're aged a little...and actually, I think someone answered the question as to whether or not it would affect pagerank not SE placement.
Well I guess I'm gonna start settin up redirects and changing links...thanks for the help, man. later c-lo
__________________
![]() ![]() Traffic & Hardlink Trades | Sponsors | Resources The adult marketing network you can trust |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 | |
Confirmed User
Join Date: Nov 2006
Location: Pimpin in socal
Posts: 619
|
Quote:
![]()
__________________
Globat.com hosting company has shitty customer service skills :: please be advised:: ![]() Icq# 394599740 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Join Date: May 2005
Location: On search pages, on ICQ @ 308 7 43669, and in the U.S.
Posts: 925
|
I asked around the forum about different tradescripts a little while back. I've never used a script that had these requirements so it didn't exactly cross my mind. What exactly am I suppose to ask to garner a response of "it requires your entire site to be .php"?
In fact, I've never heard of a script requiring such. I shouldn't have to do research on something like this, it should be on the site. In my opinion, that's like installing Windows Vista and the help files tell you it's not backwards compatible. ![]() c-lo
__________________
![]() ![]() Traffic & Hardlink Trades | Sponsors | Resources The adult marketing network you can trust |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
Confirmed User
Industry Role:
Join Date: Dec 2001
Location: AZ
Posts: 7,697
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Confirmed User
Join Date: May 2005
Location: On search pages, on ICQ @ 308 7 43669, and in the U.S.
Posts: 925
|
Thanks, mattz!
![]()
__________________
![]() ![]() Traffic & Hardlink Trades | Sponsors | Resources The adult marketing network you can trust |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
Confirmed User
Join Date: May 2004
Location: 4 8 15 16 23 42
Posts: 4,444
|
In general, you should always have a mod rewrite to define the standard URL, either domain.com or www.domain.com. Example: You want www.domain.com, so you do a rewrite for domain.com, domain.com/index.html and www.domain.com/index.html (or /index.php, whatever you index page's extension is) to automatically change to www.domain.com or you could end up with 4 pages indexed, all with different PR and duplicate content ! Just one idiot linking to domain.com/index.html could (with a little bad luck) ruin your SE rankings, even if you have 1000 incoming links to www.domain.com
How is your domain indexed ? If it's (www.)domain.com/index.html, you'll temporarily face a drop of your PR and ranking, but they will recover over 3-6 months, if it's just (www.)domain.com, there will be no (temporary) interruption in your SE traffic. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 |
Confirmed User
Join Date: May 2004
Location: 4 8 15 16 23 42
Posts: 4,444
|
Repost, sorry, removed the links on the URLs, better to read:
In general, you should always have a mod rewrite to define the standard URL, either domain.com or www.domain.com. Example: You want www.domain.com, so you do a rewrite for domain.com, domain.com/index.html and www.domain.com/index.html (or /index.php, whatever you index page's extension is) to automatically change to www.domain.com or you could end up with 4 pages indexed, all with different PR and duplicate content ! Just one idiot linking to domain.com/index.html could (with a little bad luck) ruin your SE rankings, even if you have 1000 incoming links to www.domain.com How is your domain indexed ? If it's (www.)domain.com/index.html, you'll temporarily face a drop of your PR and ranking, but they will recover over 3-6 months, if it's just (www.)domain.com, there will be no (temporary) interruption in your SE traffic. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 |
Confirmed User
Join Date: May 2005
Location: On search pages, on ICQ @ 308 7 43669, and in the U.S.
Posts: 925
|
Oh, I see. Excellent post, StarkReality. I'll try to get that changed.
Would I also make these mod rewrite changes through the .htaccess file? Thanks, c-lo
__________________
![]() ![]() Traffic & Hardlink Trades | Sponsors | Resources The adult marketing network you can trust |
![]() |
![]() ![]() ![]() ![]() ![]() |