homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

php and .htaccess

10+ Year Member

Msg#: 614 posted 7:05 pm on Aug 18, 2002 (gmt 0)

I've written a .htaccess file to rewrite index.html to load index.php. My question is, will search engines index the file properly? What do search engines see with PHP files or such aliasing?

Also, is there a way to have a pure HTML file and call a php function to return the result onto the page? For example, if your content type is jpeg, you can call a php file in the img src tag, but I would like to insert some HTML into the file like this...



WebmasterWorld Administrator jatar_k us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 614 posted 6:40 am on Aug 19, 2002 (gmt 0)

this question is a little non specific but search engines will read index.php as your homepage just fine.

PHP is overtaking ASP [webmasterworld.com]

Yes there are lots of ways to call php to write content into an html page. I hate to keep harping on this but php.net has all of these answers.

Scorpion, I do not mean any offense but the last bunch of posts have been fairly similar in their questions. I myself have answered a few. If you just go to the above mentioned site you can have these answers more quickly and more concisely than if you keep asking us. The documentation on that site is phenomenal. They don't go into search engine questions, granted, but as far as language basics go there is no better resource available.

Just trying to be helpful, I don't want to discourage you from posting just that if you spend a little time on that site you can stop needing our help for the basic stuff and throw some more hardcore questions.

As Brett mentioned in a post not long ago we try to help people learn as opposed to handing them answers on a silver platter. I am glad you are getting into php and it looks you will soon be stretching its limits quite a bit very soon. I am interested to see what you come up with as things progress.

hope this helps a little.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved