NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page [SEO-ing] - PHP Method Need Help!

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 02-21-2008, 03:15 PM THREAD STARTER               #1 (permalink)
NamePros Regular
 
Zubair1's Avatar
Join Date: Mar 2005
Posts: 912
Zubair1 is just really niceZubair1 is just really niceZubair1 is just really niceZubair1 is just really niceZubair1 is just really nice
 


AIDS/HIV

Help! [SEO-ing] - PHP Method Need Help!




I'm trying to SEO my pages for a site, i managed to do it successfully on my personal home web-server, with apache2+php5.

But it doesn't seem to be working, i have been using apache 1.3/php 4.xx
but just upgraded because my host also upgraded it to the same versions.

I'm trying SEO my dynamic php pages, the server is also running on apache2+php5 i am using ForceType so that i hide the .php from the URI

Code:
<FilesMatch "^songs$">
    ForceType application/x-httpd-php
</FilesMatch>
Thats what i have in the .htaccess file
????: NamePros.com http://www.namepros.com/programming/435457-search-engine-optimization-ing-php-method.html

The main problem is when i try to visit my website : http://www.mysite.com/songs/ it gives me a 404 error

I heard there was another method to do this on apache 2, cant remember quite correctly but i think it was like adding another directive such as "AcceptPath on" i tried that before posting here but when i do that and access that URL it doesn't display the page instead it shows a download box to download the file it shows it as an unknown-file-type. can't figure it out. i'm sure the code is perfectly fine since it runs on my pc server with the same software versions.

Any ideas or helps would really be appreciated, my guess is that somethings wrong on my host side?

Thank you!
Kind Regards,
__________________
Live Support : Zubair11 [at] hotmail.com
Free SEO Directory! || Free Online TV || Tech Blog
Web Design & Web Development Services || Reliable Web Hosting
Zubair1 is offline  
Old 02-22-2008, 11:04 AM   #2 (permalink)
NamePros Expert
 
Peter's Avatar
Join Date: Nov 2003
Location: Scotland
Posts: 5,069
Peter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond repute
 


Child Abuse Save The Children Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
it is a long shit but try:-

PHP Code:
<FilesMatch "^songs([/]?)$">
????: NamePros.com http://www.namepros.com/showthread.php?t=435457
    
ForceType application/x-httpd-php
</FilesMatch
The regular expression would not have worked previously for the URL you gave as it has a / after it which was causing the reg exp to fail.
__________________
Manage your portfolio using my new Domain Portfolio Management script.
Securing Your Domain Name From Theft
Peter is offline  
Old 02-24-2008, 12:27 PM THREAD STARTER               #3 (permalink)
NamePros Regular
 
Zubair1's Avatar
Join Date: Mar 2005
Posts: 912
Zubair1 is just really niceZubair1 is just really niceZubair1 is just really niceZubair1 is just really niceZubair1 is just really nice
 


AIDS/HIV
Thanks peter

But i'm afraid that didn't work out either it seems there maybe a problem from the host side, i told the techs about it and they emailed cPanel to assist them.

I just hope it all works out
__________________
Live Support : Zubair11 [at] hotmail.com
Free SEO Directory! || Free Online TV || Tech Blog
Web Design & Web Development Services || Reliable Web Hosting
Zubair1 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 11:18 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger