Welcome to WebmasterWorld Guest from 107.20.20.39

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

php and .htaccess

   
7:05 pm on Aug 18, 2002 (gmt 0)

10+ Year Member



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...

6:40 am on Aug 19, 2002 (gmt 0)

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



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]

second
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.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month