Jump to content

Please help me with mod_rewrite


jojomart

Recommended Posts

I am so confused LOL - hope this is the right forum to post this.

I am using the PHPBazar classifieds script on my site, and I want to make the urls SEO friendly. I've tried a ton of different rewrite rules in my .htaccess file, but nothing works.

http://www.a1webtools.biz/main.php is the base url. When you click on the menu item "Classifieds", and then on a category, this comes up in the browser:

http://www.a1webtools.biz/classified.php?catid=1

I want to make it so when people click on the menu and then on a category it comes up as:

http://www.a1webtools.biz/ (actual category id)/

At the mod_rewrite forum, the guy told me I need to make changes in the script to make mod_rewrite work, but I have no idea what to change, as I don't know php.

Can someone please help me with this?  I'm about to pull my hair out  :-\

Thanks in advance,

Joanne
Link to comment
Share on other sites

If you want you urls for the script to be like this:
http://www.a1webtools.biz/ (actual category id)/

Then you will need make urls like that by doing the following:
- setup the rewriteRule's for the SEO urls you want
- editing the script so it uses the urls you use for the rewriteRules you have set up for mod_rewrite

You may need to get extra help forum the developers of the script want to have SEO urls if you dont know PHP.
Link to comment
Share on other sites

Try looking here. [code]http://www.seochat.com/seo-tools/url-rewriting/[/code] I used it today and it works fine. Only problem; no instructions really so look here as well; [code]http://www.devarticles.com/c/a/Web-Services/Make-Dynamic-URLs-Search-Engine-Friendly/1/[/code]

Hope it helps

Simon
Link to comment
Share on other sites

Thanks very much for your kind help.

I can't get any help whatsoever from the people who wrote the script. Company was sold, and the new owners are concentrating on something new - wouldn't you know!

I had found the links on how to change the htaccess file, but I don't have a clue what to change in the actual php files, so I guess I'll have to stick with what I got for now. Don't have the $$ to hire a programmer.

Thanks again,
Joanne
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.