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
https://forums.phpfreaks.com/topic/29618-please-help-me-with-mod_rewrite/
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.
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
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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.