/    Sign up×
Community /Pin to ProfileBookmark

Non DataBase PHP site.

I am considering a change to a site that requires a small amount of PHP to be placed in each file. The php should not affect anything, since it is just to supply the html pages with some new data. BUUT, the owner currently occupies 1st position ranking on many searches and is terrified that the modification will cause this to change. they are afraid that as dot php files, the search engines will not bother to search through them.
Will this change the ratings?

to post a comment
SEO

2 Comments(s)

Copy linkTweet thisAlerts:
@AdamGundryMar 05.2005 — It's really having query strings that causes problems for search engines, but if you are worried why not set up your server so you can keep the filenames as .html? That way search engines just go on indexing as they used to.

For Apache, you can probably use something like this in a .htaccess file:

<FilesMatch ".html$">

ForceType application/x-httpd-php

</FilesMatch>

However, if you have a lot of non-PHP files with .html extensions and don't want the overhead of parsing them all with PHP, you could set up a redirect on the server to do a similar thing for individual files.

Adam
Copy linkTweet thisAlerts:
@_lt_Eddie_gt_Apr 01.2005 — As above, Forcetype rewriting is the best way to eliminate querystrings and make an address 'friendlier'.

http://www.blob.com?a=1&b=2&c=3&d=4

becomes

http://www.blob.com/a/1/b/2/c/3/d/4/

If you don't have dynamic address, eg. just page1.php then there's nothing to worry about. Search engines read HTML however it's generated. It's just sometimes they don't deep crawl sites with querystrings because in theory variables can create an infinite number of pages.
×

Success!

Help @SuzanneB spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.7,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...