/    Sign up×
Community /Pin to ProfileBookmark

How to change php urls to html

Hi Friends,
I made a new site and it has all its pages in php.
[url]www.brokenconnection.com[/url]

One of my friends say,I have to make all the pages in html otherwise the search engines won’t find my pages.So,is there some easy way,that I can make the url’s as html and then re-direct them to my php pages.

Please help.
Mick

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@felgallAug 05.2006 — PHP pages can be found just as easily as HTML ones can. It is only when you add a ? and parameters to the end that some search engines have difficulty.

If you change all of the filenames to change the suffix then you will have to wait all over again for any search engines that have already found the current pages.

If you want to write pages in PHP but use the HTML suffix on them and you are running the site on an Apache web server then adding the following line to the .htaccess file will process php in html pages:

AddType application/x-httpd-php .html
Copy linkTweet thisAlerts:
@mickscoolauthorAug 06.2006 — Thanks Stephen,

Few things:

1.I do pass in some '?' query parameters in my forum pages,so that means the search engine would skip all of them that i don't want.So,how to solve this issue.

2.I have hosted my site with godaddy,so I don't know what webserver those guys are using??So,can you please tell me what to do in such cases.

3.. Its a new site,so its ok for me even if search engines dont find my php pages and instead look for the html pages.

Please help

-Mick
Copy linkTweet thisAlerts:
@Little_GoatAug 06.2006 — 
  • 1. in forums, there is no escaping having ? in the url unless you use your own forum software. it doesn't really matter that much. notice that felgall said "some search engines".


  • 2. just email them or it might be in the FAQ's.


  • 3. the search engine don't care if your site has php pages or html pages. all the search engines see is the stuff the browser sees.
  • Copy linkTweet thisAlerts:
    @NogDogAug 06.2006 — Keep the query strings a short as reasonably possible, and avoid the use of "id" as a query variable ("id=value"), as Google ignores these. If you do that, you should be OK. (For example, note that threads in these forums are regulary returned as search results in Google.)
    ×

    Success!

    Help @mickscool 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.18,
    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,
    )...