prodigy
Jan 1 2005, 01:50 AM
The Apache mod_rewrite module helps with search engine indexing for dynamic urls considerably. Living proof of this is these forums which we are looking at now. If your usig languages such as php and asp it may be necessary to make your urls less dynamic, well they won't really be less dynamic in reality but to the eye urls willseem more simple. Mod_rewrite has the ability to rewrite urls on the fly, their are many ways optimise your site using mod_rewrite, heres a basic method i use on my site: Using .htaccess: Options +FollowSymLinks RewriteEngine on RewriteRule index-home(.*)\.html$ /index.html?act=home$1 RewriteRule index-plans(.*)\.html$ /index.html?act=plans$1 RewriteRule index-support(.*)\.html$ /index.html?act=support$1 RewriteRule index-contact(.*)\.html$ /index.html?act=contact$1 RewriteRule index-about(.*)\.html$ /index.html?act=about$1 Using the apache module I have rewritten the default index.html?act=home url of mine to index-home.html. Which gives a mask for better search engine indexing as most search engines prefer simple endings. Of course my case is a very simple method and I don't even use hashes or anything in my custom made pages, but for the more advanced cases webmasters could find mod_rewrite really usefull. Also some of you may ask why or how I have used the get function (php) with html, well I havn't actually used it with html, again I have utilised apache handlers (in your cpanel) to read php within html files. Heres a quick .htaccess example of this: AuthName www.shothost.com AuthUserFile /home/shothost/public_html/_vti_pvt/service.pwd AuthGroupFile /home/shothost/public_html/_vti_pvt/service.grp AddHandler application/x-httpd-php .htm AddHandler application/x-httpd-php .html Hoep I have helped some of you guys out there trying to improve your search engine performance. FOor more information visit: Apache
Reply
bjrn
Jan 10 2005, 09:52 AM
QUOTE(prodigy @ Jan 1 2005, 03:50 AM) Some good stuff about mod_rewrite
Just a quick question: can we use this on Trap17?
Reply
no9t9
Jan 10 2005, 01:29 PM
yes. trap17 has this "feature" if you look in your website directory there should be a file called .htaccess Edit this file with the mods you want. if the file isn't there, you can just create the file with notepad and save it with the name ".htaccess"
Reply
bjrn
Jan 10 2005, 02:35 PM
QUOTE(no9t9 @ Jan 10 2005, 03:29 PM) yes. trap17 has this "feature" if you look in your website directory there should be a file called .htaccess Edit this file with the mods you want. if the file isn't there, you can just create the file with notepad and save it with the name ".htaccess" Keen. My list of "Things I want to try out" is starting to get very long now though. Trap17 has sooo many features (I'm not complaining of course  ), way more than many paid hosting plans. I'll definitely have to set aside some big chunks of time for reading about mod_rewrite (and using it of course).
Reply
ashiezai
Jan 10 2005, 03:11 PM
mod rewrite is a good thing to learn if u wan ur website to be well indexed by search engines  because they dun like (even cant read) URL with many parameters like =,&,$,% etc etc .. currently im also using mod_rewrite to rewrite my website from .php to .html as i know that SE cant read php that well  .htaccess cant be created windows system .. i think this is because windows doesnt recognize filename which starts which "." The way to create a .htaccess file is simply create it using notepad and name is anything u like .. then upload to ur homepage server and rename it to .htaccess .. that will do the job ... ofcos u can also create it directly on the cpanel's filemanager 
Reply
bjrn
Jan 10 2005, 07:38 PM
QUOTE(ashiezai @ Jan 10 2005, 05:11 PM) .htaccess cant be created windows system .. i think this is because windows doesnt recognize filename which starts which "." Hey, that's really weird. I hadn't noticed that before. It's not like windows can't handle files starting with a full stop (I'm fairly certain of). I think I've had apps that made such files. Probably just some stupid function that gets called when you (re)name files that interprets everything after the first '.' as the extension.
Reply
no9t9
Jan 11 2005, 04:30 AM
what do you mean .htaccess can't be created in a windows system??? what windows system are you using? simply save the file from notepad as ".htaccess" It works.
Reply
bjrn
Jan 11 2005, 09:13 AM
QUOTE(no9t9 @ Jan 11 2005, 06:30 AM) what do you mean .htaccess can't be created in a windows system??? what windows system are you using? simply save the file from notepad as ".htaccess" It works. Try this on your desktop. Right klick > New > textfile. Write '.htaccess' as the name, hit enter, or klick somewhere on the desktop. You'll get an error message. As I said, it's probably some stupid function that gets called when you (re)name a file. Apps writing to files aren't restricted by it. It probably went something like this: Microsoft boss person: Hey, dev guy. Write a function for renaming files Dev guy: Okay DG thinks that the easy thing would be to set everything before the first full stop as name and everything after it as the extension (since Windows has to warn if the user changed the extension to something weird). DG writes the function. The result is that because there is no text in front of the first full stop, Windows thinks you haven't written a name for the file. And so it gives an error message. Instead the dev guy should of course have done something else. Like allowing any name with at least one character. Or checking on the last full stop instead. Edit: It happens on both newer (XP) and older (98) Win systems.
Reply
X3r0X
Jan 11 2005, 10:40 AM
Good one Prodigy  Cred man, thats gonna make alota people happy!
Reply
no9t9
Jan 11 2005, 04:14 PM
QUOTE Try this on your desktop. Right klick > New > textfile. Write '.htaccess' as the name, hit enter, or klick somewhere on the desktop. You'll get an error message. umm... but that's not what I told you to do.. this is what I said (TWICE)... save the file from notepad as ".htaccess"... please actually try what I've said before telling me I'm wrong. the comment made before that the .htaccess file "cannot be created in a windows system" is simply untrue. that's all i'm saying. Just because someone doesn't know how doesn't mean it cannot be done. btw don't forget the quotes when saving the file from notepad (I also included these in both instances previously but never specifically mentioned them) EDIT: If you want to do it without the quotes, you have to choose filetype "all files" otherwise it will tack on the default .txt extension
Reply
prodigy
Jan 16 2005, 01:53 AM
LoL no9t9 is a bit grumpy, i actually forgot to mention about using a PROGRAM to save your file as another file type, (I apologies for not reading your post no9t9, I must have eben pre-occupied)  . Thankyou for summarising bjrn we were getting a little off topic. In this case no9t9 solution is the better procedure, being quicker. However now we have finally discussed how to get/create a .htaccess file we should now create further additions of mod_rewrite which could be used.
Reply
bjrn
Jan 15 2005, 07:40 PM
Let's summaraize! You can create a file called .htaccess with Windows, as long as you have some program (like notepad or similar) do it. If you try to do it "by hand" by right-clicking somewhere and choosing New->Textfile and calling it .htaccess you'll get an error mesage. Preferred solution: Do what no9t9 said, save a file using notepad (or similar). Alternative solution: Do New->Textfile. Call it <something>.htaccess, upload it, rename it on the server. In either case: Problem solved.
Reply
no9t9
Jan 15 2005, 01:32 PM
did you even try what i suggested?
Reply
prodigy
Jan 15 2005, 05:02 AM
No you are misunderstood no9t9, I simply mean that the majoity of peopel such as I cannot create files with "." at the beggining of the file, on windows xp sp2 i get the following error: (X) You must type a file name. So i was merely suggestiong a solution for users such as me who want a quick solution which works. Their is other ways of avoiding this but I don't wanna go off the topic of mod_rewrite.
Reply
no9t9
Jan 14 2005, 12:41 PM
QUOTE(prodigy @ Jan 14 2005, 04:45 AM) Yes it is true that you can't create file names beggining with"." which is why you should create a file on your windows system like 1.htaccess then upload it via ftp or file manager. Then rename it on your non-windows server to .htaccess using your ftp manager or file manager (in cpanel). Since the majority of servers are mostly linux/Unix (because they are cheaper) you probably won't have any problems. Trap17 does allow mod_rewrite as we have apache installed. so you're telling my I have a special copy of windows that allows me to save files beginning with a dot? whatever... i don't have to prove nothing. believe what you want. sheesh.
Reply
Recent Queries:--
"renaming files" archetype maven - 533.90 hr back. (1)
Similar Topics
Keywords : mod, rewrite, apache, helps, search, engine, indexing
- Linux/ Apache /mod_rewrite Issue
Error when accessing a file (4)
Search Engine Optimisation
Tips on increasing your websites Search engine Ranking (0) Please post all your tips and success stories on search engine optimisation. I would like to find
out the best way to increase the my website ranking in google and other Search engines. If anyone
also knows of anything that lowers your ranking please let us know what not to do. I found a really
good article on Googles website. This seems to have all the answers:
http://www.google.com/support/webmasters/b...mp;answer=35291 To make it simple, you just need to
have really good content on your site that is relevant to your keywords.....
Search Engine That Pays U 4 Searching
Did you hear about Scour? It is the next gen search engine with Google (11) Did you hear about Scour ? It is the next gen search engine with Google/Yahoo/MSN
results and user comments all on one page. Best of all we get paid for using it by earning points
with every search, comment and vote. The points are redeemable for Visa gift cards! It's
like earning credit card or airline points just for searching! Hit the link below to join for
free!!! http://scour.com/invite/signup.aspx/ ....
Multilingual Search Engine Optimization
(3) I need link building in French. I contacted mseo.com since they do one-way links in English, French
and Spanish: http://www.mseo.com/link_building_services.html , but they said they were booked up
for the next few months and couldn’t help me. Does anyone know a multilingual SEO agency doing
French link building besides mseo.com? Most companies that I’ve contacted in France and Belgium
feature really high rates (in Euro). I thank you guys for sharing feedback.....
Short Info About About Apache Maven.
It's a brief description about Apache Maven and how does it woks. (0) Hi there. Well, it's my first post and I'd like to write about Apache Maven: What is it?
How does it works? and a short example. I hope this post results interesting and useful for
someone, and well. Let's start.! What is Apache Maven? Apache Maven (or simple Maven)
is a helpful tool design to create and build projects (usually Java Projects) almost in the same way
than Ant and the classic "GnuMake", but Maven goes beyond and incorporate some another concepts
like: archetypes, build cycles and plug-ins For those who had use Ant, the way you bu....
Greetings To All
how to search my credits ? (1) hi all i am new to this site and dont know how to proceed. i have posted few articales. i want to
know that how i can look at the credits that i gained.....
Perl For Automated Web Form Search
(1) Hi all, I'd like to write a script to automate a search in order to collect data from an online
database. The database is an archive of newspaper articles. The search is for certain words/text. It
is searchable via a form only. The rub is that only a small portion (a month) at a time is
searchable. I need to search every day for 50 years or so. Manually, this would take a considerable
amount of time. I'm thinking of using perl or ruby or something similar. I am an absolute
beginner with scripting and haven't done much formal learning in the subject since a ....
Problems With Apache Alias
I want to install RPG Web Profiler (0) Hello, I want to install RPG Web Profiler on my web site. It seems easy with a very few steps but
I have never worked with Apache before. The readme of setup. This is the step I couldnt
understand, the last step. QUOTE 5. Create the following entry in my Apache configuration.
Alias /profiler "/home/tarlen/profiler/public_profiler" AllowOverride All Order
allow,deny Allow from all By the way, Im using Trap17 CP. ....
Make Money Searching The Internet
you can now make money for using a pacific search engine that works th (0) I recently joined a service which pays you to search the internet on their site, this site uses
yahoo search to search for your request and then pays you for searching with their site. I have
made about $20 in the last month and I have been searching the same amount of things as I used
to!! To try it out go to www.searchandearn.co.cc and join the service for free. They also
pay you out ether vie a bank transfer or by PayPal, it really does work and I am really happy with
the service I have got from them so far! ....
Get Paid For Searching The Internet!
MY SEARCH FUNDS PAYS YOU TO SEARCH (4) My Search Funds is a legit website that pays you $0.06 for each search you make through their
home page sponsored by google, ask, yahoo, etc. I make about 100 searches a day. That's $6.
The payout is $20, by bank transfer or PayPal. Click here to start earning easy money!
Referral links are not allowed at Trap17. Removed. ....
Apache Tomcat And Java
Will they run on package1/2 (0) Hi, Ive made a couple of Java servlets for a website and was wondering if it is possible to use them
w/ the free hosting package is an application environment such as Tomcat? Dunk....
Effective Search Over Web
tips for dummies in the search fields (0) keywords it is very important one information can be segregated easily and quickly over web
otherwise search engine is compact world for eg searching books related to specific subject let
take microbiology information required on cholera searching steps step 1 we know the subject
which is primary keyword :"microbiology" step 2 it is bacteria which is considered as secondary
keyword step 3 the bacterium causes diarrhoea so the family is enterobacteriacae finally the
specific word lets take on a toxin created by cholera so by following these protocol we can get....
Mysql, Php, Apache Downloads And Setup Was A Nightmare
Mysql, PHP, Apache (10) Mysql, PHP, Apache downloads were easy enough. Then came the setup process. This seemed to be an
endless mess of going back and forth trying to get the programs to work together properly. Finaly I
got them working after about 48 hours. There are great tutorials on the setup process, but only one
or two actualy were easy enough for me to understand. I would like to see if I was the only one who
had issues with this setup. Are there easier ways to setup the three?....
Search For Video Files And Display Them
Using a batch file in windows (0) In windows you need to be able to see the file's extension so you can rename a .txt file to .bat
This batch code I wrote searches your C:\ drive for video files and drops the results into a
file. That file is then processed into links on a web-page. The web-page is then opened for you to
view. Click the links to view the file, right click -> save as to save to another place on your
computer. I use it a lot after browsing videos on the web. It's fun to see what videos end up
cached (left on the computer from browsing) Insert this into a file named vid-searc....
Custom Search Engine For Website
looking for alternatives to google (8) I'm trying to help my friend finish off a website for his client. Hes not very good with web
development but its his client and they want a custom search engine. We have looked at what Google
offers but it comes with ads unless you pay a yearly subscription. We need something that we can
integrate into our own website easily without any ads at all if possible. We have tried
jRank.org's script but somehow there is an error and we cant seem to validate a context so it
wont work for us. The documentation is very vague also and we did follow the instructions. So ba....
Forget About 0.01 Per Click, Get 0.06 Per Search!
(15) I've been looking at this website for some time now, since i did not believe it would really pay
out users, and after three months, it did! The website will pay you to search on Ask.Com, since
i've been a member of the slashmysearch.com which wasn't worth the time, i though it's
the same crap, but it's not. They pay you $0.06 for every search you do, and there's no
limited searches per day! (no, you can't and should NOT spam searches just to get money, or
you will get noticed about fraudalent activity). The program is new, but i....
How Long Does It Take To Get Listed In Search Engines
Time to get listed on Google, Yahoo etc. (3) I want to know how long does it take to get your site listed in google and other major search
engines.I've put up a web site and now looking to get it listed to the search engines.And is
there any software available to get it done or i will have to it all manually ,any help will be
welcome. Title and Description changed. Please choose Title and Description carefully. The Title
should be to descriptive and should summarize your entire post. The description should be used to
add further details/information about your post. ....
Does Duplicate Content Affects Search Engine Positions ?
(1) http://www.000webhost.com Great news: Since 2007-12-01 we do no require phone number
verification by SMS message. Now everyone can register and start using our services in 5
minutes! 000webhost.com is making a revolution in web hosting industry. Look what we offer
totally free: 250 MB disk space, 100 GB data transfer, cPanel access, full domain hosting allowed,
backups, end user support and much much more.. With 000webhost.com your website will load lightning
fast, and we have lots of features, sometimes even more you can get with paid hosting. Choose the
new ge....
Microsoft Search Engine
Getting a huge upgrade to compete with google (20) QUOTE "SEATTLE - Microsoft Corp., the No. 3 Web search provider in the U.S., is rolling out
changes to its search engine aimed at narrowing the gap between it and market leader Google Inc."
Source It looks like microsoft is trying to make a super search engine to compete with google. I
thought what they did to the live search was a big change but it looks like they have a lot planned
for live search. There are some features that i like that they are going to add but some that is
just going to put to much junk on the page when you are searching. QUOTE "It....
The Search Engine At Blogger.com
(4) I just wonder, how many of you are using the search at blogger.com to search weblogs? I sometimes
do. Most of us would like to know, say, what are the first hand comments from diners, software
users, and travelers etc before we visit a restaurant, buy software and travel to a certain
destination. We think that the comments on those personal sites should be more impartial then
coverage from commercial gourmet magazines, software reviews and travelers’ guides. Although there
are now some biased notes on the weblogs, I still think that blogs from others give me a lot of inf....
How To Make A Search Form And Php Code?
Can you help please? (10) I am looking to put a whole Bible on my site, don't worry about copyrights, I already have all
that. It will be put into my site book by book. My problem? I need a form that will only search
the /Bible part of my database. I need an html form, and then a php code that can be put into just
ONE file but that will display a search page afterward. If you could help me out here, I would
greatly appreciate it since I will need this in order for it to work. The goal is simple, have an
html form, that will lead to a search of my entire inneed.mxweb.co.uk/bible database....
Google Adsense Exchange Engine
easy way to much earnings (34) Hello, GUYZ! What do you think about my newest super idea? I want to create Google Adsense
exchange engine for all!!! How it will be works? Well.... For example: YOU register in
it's engine and this engine makes special page for YOU where YOU must input some sentenses with
populated keywords and YOUR Google adsense CODE for any banner. Then other people register in this
portal... Then YOU enter to YOUR account at this my engine. Click on special button and will be
opened new window . Window opened randomly... It's window consist of some sente....
Learn The Ways Of Making Money Online
This i sMy new Site, Hope it Helps (6) Hello Guys, I have made a New Site Enjoy it, hope it helps. My Site /laugh.gif'
border='0' style='vertical-align:middle' alt='laugh.gif' /> Its Not Totaly Fnished ... merged
posts. ....
Make Your Own Mmorpg
Gaming Engine (41) check out the konfuze.com website, they are a great community. they are always in development but
this program allows you to create your own mmorpg. it gives you a server and client package so if
you turn the server on and have the client avalable for downlaod on your website, they can connect
to your server and play your MMORPG Go check thier site out site link expired. check posts below
for alternatives. ....
Installing Apache, Mysql, Phpmyadmin Locally
Solving the "php_mbstring.dll missing" (5) Since Trap17's CP provide the individual site's owner with goodies like MySql and
PhpMyAdmin, chances are some will want to make use of them. Well, it's fine enough to get that
on one's host (Gee! Thanks a lot, Trap17...) Knowing how the usual geek react, it might be
expected that most people considering to make use of a database on their site will want to do most
of the tedious job of developing and testing on their own local system before sending the wrapped-up
result on their domain/subdomain. This involves four basic steps (sorry for the compuwi....
Secrets To Getting To The Top Of Google
Search Engine Optimization Tips for Google (46) Here, you will give advice (tutorials) on how to get to the top of Google.....
Are You In Search Of Free Google Cash Program ?
FREE GOOGLE CASH / GOOGLE PROFIT E BOOK (11) ARE YOU IN SEARCH OF FREE GOOGLE CASH PROGRAM ? FREE GOOGLE CASH / GOOGLE PROFIT E BOOK
QUOTE This is a free google cash program starter guide (in form of E book) brings you the
step to step process. Discussing about google ad words concepts, choosing the right platform to
reduce your work burden and makes it fully automatic of all. It takes only 20 to 30 minutes to set
an account. Getting the right advertiser based on some important points (EPC rates) so that you can
earn just place ads on google ad words. Ok rest all in guide. About the program Th....
How To Detect And Remove Mp3 Duplicates
Software for search mp3 duplicates on hard disk (14) Plagiarized post. Quotes added. Link below. ? great software for detecting mp3 duplicated is here
http://abeetech.com/mp3-duplicates-finder/ Description: QUOTE The purpose of this program is
to find all mp3 duplicates on your computer and remove useless files from your hard drive. As this
program performs just this single task it copes with it much better than other more universal
programs. Unlike the other programs for duplicate files search, our program works only with mp3
files. This allows using specific methods for duplicates detection. While most of dupl....
Php Mod Rewrite Tutorial
Simple tutorial (3) REQUIRED: Internet server (Apache 1.3.33 recomended), php, basic skills with .htaccess Mod
rewrite is cool Apache option, it helps you to make your site URLs simple and clean... also it is
perfect for search engines... This is mod rewrite, it replaces : CODE
site.com/index.php?include=files?ID=45 with: CODE site.com/files/45 so lets get startet,
open notepad, enter this in it: CODE RewriteEngine On // - you are starting rewrite mod
:) RewriteBase / // - you set the rewrite base RewriteRule
^(.+)/([0-9]+)/?$ in....
What Kinda Stuff Do You Search For On Google?
(10) What do you all search for on google? Some of those I search for. others I don't.....
Looking for mod, rewrite, apache, helps, search, engine, indexing
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for mod, rewrite, apache, helps, search, engine, indexing
*MORE FROM TRAP17.COM*
|
advertisement
|
|