How to Make my web site popular with search engines

Mobile
feeds
Welcome Login | Register


How to Make my web site popular with search engines
How to Make my web site popular with search engines This page contains information about How to Make my web site popular with search engines Here you can also give your thought about the subject of How to Make my web site popular with search engines


Main List


How to Make my web site popular with search engines

By: Travis

Instructions:

 

  1. Open Notepad on your Windows machine (or a comparable text editor if you're using a Macintosh). Avoid using MS Word or any type of word processor because these programs add extra formatting characters by default that will cause problems.
  2. Copy and paste the following text into Notepad:

    RewriteEngine on
    RewriteBase /basedir
    RewriteRule ^productid([^.]+).*$ yourscript.php?id=$1 [T=application/x-httpd-php]

  3. Change /basedir to the name of the directory containing your dynamic pages. This will normally be just a "/" unless the pages are in a subdirectory, in which case it would be a "/" followed by the name of the subdirectory.
  4. In the "RewriteRule" line, after the question mark, change "id" to whichever variable you're using to pass your product id in order to display the product detail page. Navigate to the link on your site that displays a product detail page from your database. Study the URL in your browser. Normally you'll only have a question mark followed by the product ID. However, if other parameters exist, you'll need to rewrite those too.
  5. In the "RewriteRule" line, change yourscript.php to the name of your dynamic product detail page. This will be the script name seen in the URL often ending in ASP, PHP, or various other extensions. The script name will normally precede the question mark.
  6. If your site does not use PHP, change "T=application/x-httpd-php" to the MIME type for the language that you use.

    If you have questions, the technical documentation for the mod-rewrite functions can be found at: http://httpd.apache.org/docs/mod/mod_rewrite.html

  7. Save the file to your local computer. Name it htaccess.txt.
  8. Upload the file to your Web site in ASCII mode.
  9. Configure your FTP program to display hidden files. Hidden files are files that start with a dot on UNIX or Linux based operating systems. Most FTP programs have an option to display hidden files either on the preference screen or in the settings for the individual FTP site. Some FTP programs will allow you to add parameters to the list command that will display hidden files. In that case, the parameter that you would need to add to the ls command is "-al" (without the quotes).
  10. Test your FTP program to make sure you can view hidden files. Try renaming a non-essential file on your Web site to a filename that starts with a dot. Make sure that it shows up in the directory listing. Then make sure you can rename it back to its original file name.
  11. Rename htaccess.txt to .htaccess (starts with a dot, and no file extension). This will activate your changes.
CAUTION: If you have done something wrong in the htaccess file, your site may stop working after you rename the file. In that case, rename .htaccess back to htaccess.txt and the site should start working again. That's why it's important that your FTP program is configured to see hidden files.

If you set things properly, at this point your web server will automatically rewrite URLs of the format: http://www.yourWeb site.com/yourscript.php?id=123 to: http://www.yourWeb site.com/productid123.htm

The rewriting takes place behind the scenes, so the URL in the address bar will always display in the new format, without the question mark.


Posted on: Mar 22, 2006
Your Name
Your Email Address (Will Not Be Published)
Notify Me When Someone Replies to this Page
(An email will be sent to you when someone replies to your comments)
Your Comments
Include A Picture with your comments

# 115952 Reply By John On Sat Sep 19, 2009 11:36 am
John
mobileq.prophpbb /
# 115951 Reply By John On Sat Sep 19, 2009 11:36 am
John
mobileq.prophpbb /
# 115874 Reply By nicole On Fri Sep 18, 2009 1:10 pm
nicole
iheartvitamins what do you suggest i do to make it more popular?
# 94798 Reply By nice On Sun Feb 22, 2009 10:49 pm
nice
my website
penmai
# 91767 Reply By jhony On Tue Jan 27, 2009 8:51 pm
jhony
hello,

i'm still beginner to make popular web, can you change my web let popular in search engine, please..
# 91430 Reply By aris On Sun Jan 25, 2009 3:25 am
aris
the best handbag store in rethymnon.vivienne westwood, braccialini, kenzo and many other brands meet in a warm place.
# 83317 Reply By Sanjeet On Wed Nov 26, 2008 6:52 pm
Sanjeet
how can i make my website popular and high ranked