Nah, money I got, its time I run short on.
Have you checked to see if your server has the module installed?
If yes, you will then need to check if you can access and modify a .htaccess file. If you have Cpanel access, you can for sure. If not, try playing with whatever FTP program you use and see if it can see and rename . files. Do not name it .htaccess until you are sure you can gain access. Then proceed.
Take a look here and see if this helps.
http://www.webmaster-toolkit.com/mod_rewri...generator.shtmlThe plan here is to avoid any ? in urls. To do that the urls must be rewritten. What is actually happening is the .htaccess file you make is filtering the urls as they are entered.
Example:
http://www.yoursite.com/index.php?cat_id=1 - is the normal link
http://www.yoursite.com/index/cat_id/1/ - what you change it to
When you click the link .htaccess looks at it and recognizes this is a type of link it needs to restructure. It does the converting back to the normal syntax and passes that along to the server for processing. From the outside it looks like you are connected to
http://www.yoursite.com/index/cat_id/1/, but really you are at
http://www.yoursite.com/index.php?cat_id=1.
Like I said, this is a BIG job. Difficult and frustrating. The good news is once you get the hang of it, the possibilities are almost endless.
For starters I would recommend making a test page. A simple html will do:
<html>
<body>
<a href="http://www.yoursite.com/index.php?cat_id=1">Testing and Learning</a>
</body>
</html>
Then using notepad make a file called htaccess.txt. Using the link above and the site structure in the examples, it returns the following code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule index/(.*)/(.*)/$ /index.php?$1=$2
Save the file, then upload to your server in ASCII mode. Very important, must use ASCII. Once you have it uploaded, rename it to .htaccess. Oh, if by chance you have a .htaccess file already be sure to amend it rather than just overwrite it. At the very least make sure there is nothing important in there, like Frontpage stuff (if you use that sort of thing). Anyway, once you get your .htaccess file set and upload your test page, first make sure it works like it is. This should go smooth. Now edit the html test page, change it to:
<html>
<body>
<a href="http://www.yoursite.com/index/cat_id/1/">Testing and Learning</a>
</body>
</html>
Save, upload and pray. If it is all working, when you click the link, you won't notice anything different than before. If it doesn't work, start at the beginning and try again. The format used in the edited html test page is that way because that is what is compatible with the code output from the website that was linked earlier.
Once you get a grasp of the basics you can move in to the modifying the cart.
Before you start , back up everything. the database all files, everything. You will be changing alot of stuff, if it goes bad those back ups will be life savers.
The main rule:ALL references must be absolute.
What that means is all hrefs and image links must start with http://. If you look in the cart, you will notice most links are relative. That is not a bad thing, it makes things so much easier normally, just happens that in this case it is exactly the wrong thing.
Example:
\"images/hulahoop.jpg\" becomes
\"http://www.yoursite.com/images/hulahoop.jpg\"
\"index.php?cat_id=$cat_id\" becomes
\"http://www.yoursite.com/index.php?cat_id=$cat_id\"
But wait you say? There is still a question mark there. Correct. Take it in steps. First work on making all links absolute. Once you get that done and everything is working, then work on changing the structure. But ok, in the end it would be:
\"http://www.yoursite.com/index/cat_id/$cat_id/\"
Change all references to $PHP_SELF to the page name it needs to call.
Double check, triple check, have a friend check. If you miss even one it will result in a 404. Before you get done you will be intimately familiar with your site, because you will need to crawl the whole thing.
Here is what my .htaccess looks like:
Options +FollowSymLinks
RewriteEngine on
RewriteRule index/(.*)/(.*)/(.*)/(.*)/$ /index.php?$1=$2&$3=$4 [L]
RewriteRule index/(.*)/(.*)/$ /index.php?$1=$2 [L]
RewriteRule view_doc/(.*)/(.*)/$ /view_doc.php?$1=$2 [L]
RewriteRule view_product/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/$ /view_product.php?$1=$2&$3=$4&$5=$6&$7=$8 [L]
RewriteRule view_product/(.*)/(.*)/(.*)/(.*)/$ /view_product.php?$1=$2&$3=$4 [L]
RewriteRule view_product/(.*)/(.*)/$ /view_product.php?$1=$2 [L]
RewriteRule search/(.*)/(.*)/(.*)/(.*)/$ /search.php?$1=$2&$3=$4 [L]
RewriteRule search/(.*)/(.*)/$ /search.php?$1=$2 [L]
RewriteRule ^.htaccess$ - [F]
Good Luck. I cannot stress this enough. Backup before you start, take things in steps and test constantly.
If you notice any spelling errors, then you need to read faster, they become less noticeable.