| Shared Hosting Questions about your shared hosting account. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Comfy Contributor
Joined in Dec 2007
Hosted on hosting.wrightpcconsulting.com
118 posts
Gave thanks: 10
Thanked 6 times
|
I would like for my html pages to act as if they are .php and process php scripts rather than change page extensions and potentially lose page ranking in google. With another host I simply added this line to my .htaccess file: AddType application/x-httpd-php .htm .html. However, this no workie as I get 404 errors. I also tried changing php to php5 in the above line. Still no joy.
Ideas, suggestions, made up stuff? |
|
|
|
|
|
#2 (permalink) |
|
Staff of Surpass
Super #1
|
I think there's a way to do this in cpanel.
Submit a ticket to support and they should be able to help you out ![]()
__________________
D4nz Net - Surpass Help Desk - NES Forever Use the thanks button. It works! AIM: dansorl |
|
|
|
| This user thanks Dan for this great post! | kwright510 (January 26th, 2008) |
|
|
#5 (permalink) |
|
Yabadabadoo
Super #1
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
1,036 posts
Gave thanks: 7
Thanked 28 times
|
That should work here as well... and it definately shouldnt cause 404 Errors. Might cause Internal Server Errors, but thats a whole different ball game
|
|
|
|
|
|
#7 (permalink) |
|
after g, before i
Resident.
Joined in Jul 2004
Lives in N,BC,CA
8,230 posts
Gave thanks: 49
Thanked 136 times
|
I really don't suggest doing this... it means any time you load a page, it's going to be putting it through the PHP interpreter. That causes extra load.
|
|
|
|
|
|
#8 (permalink) |
|
Registered User
Comfy Contributor
Joined in Dec 2007
Hosted on hosting.wrightpcconsulting.com
118 posts
Gave thanks: 10
Thanked 6 times
|
But each page has at least one, usually multiple php scripts So how is the load any different that if I changed the extension?
|
|
|
|
|
|
#9 (permalink) |
|
Yabadabadoo
Super #1
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
1,036 posts
Gave thanks: 7
Thanked 28 times
|
he's referring to any page that doesnt have php in it... putting it through uses extra resources that normally wouldnt be there... how signifcant that is depends on how many pages arent using PHP and how big they are.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|