WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-25-2004, 01:09 PM
AjiNIMC's Avatar
AjiNIMC AjiNIMC is offline
WebProWorld Pro
 

Join Date: Aug 2004
Location: India
Posts: 268
AjiNIMC RepRank 0
Default Making Dynamic Web Site Se Friendly

Hi all,

I want to make http://idealwebtools.com/nimc/gallery/cate...es.php?cat_id=1 search engine friendly so I tried
like
http://idealwebtools.com/nimc/gallery/categories1.php

So I tried

Quote:
RewriteEngine on
RewriteRule ^categoriesid([^.]+).* /categories.php?cat_id=$1
[T=application/x-httpd-php]


and some combinations

but it didnt work, can someone please tell me how can I do that. I read
http://www.marketposition.com/articles/mak...our-dynamic.htm and
http://www.sitepoint.com/article/guide-url-rewriting but I guess I missed something.

Please help me , your suggestion will be highly appreciated.

Thanks
Aji
Reply With Quote
  #2 (permalink)  
Old 10-25-2004, 02:17 PM
speed speed is offline
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Cornwall, UK
Posts: 824
speed RepRank 1
Default

RewriteEngine on
RewriteRule ^categoriesid([0-9]+)\.php /categories.php?cat_id=$1
__________________
TOLRA Micro Systems Limited US & UK Web Hosting with Continuous Data Protection
Web Directory : Web Directory Script
Reply With Quote
  #3 (permalink)  
Old 10-25-2004, 09:47 PM
AjiNIMC's Avatar
AjiNIMC AjiNIMC is offline
WebProWorld Pro
 

Join Date: Aug 2004
Location: India
Posts: 268
AjiNIMC RepRank 0
Default Do I need to

Do I need to do some alterations to my script ? If yes then What kind of alteration is requirement? At what level should I use it? Do I need to run .htaccess files to see the changes?

Thanks speed , looking forward to learn more on this issue.

Regards
AjiNIMC
Reply With Quote
  #4 (permalink)  
Old 10-26-2004, 03:03 AM
speed speed is offline
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Cornwall, UK
Posts: 824
speed RepRank 1
Default

Quote:
Do I need to do some alterations to my script ? If yes then What kind of alteration is requirement? At what level should I use it?
Yes you need to change the script so that any links it makes in the form categories.php?cat_id=1 are now in the form categoriesid.php.
Quote:
Do I need to run .htaccess files to see the changes?
Once you change the script the .htaccess file must be present and working or categoriesid.php links won't work.
__________________
TOLRA Micro Systems Limited US & UK Web Hosting with Continuous Data Protection
Web Directory : Web Directory Script
Reply With Quote
  #5 (permalink)  
Old 10-26-2004, 11:38 AM
AjiNIMC's Avatar
AjiNIMC AjiNIMC is offline
WebProWorld Pro
 

Join Date: Aug 2004
Location: India
Posts: 268
AjiNIMC RepRank 0
Default thanks

Quote:
Yes you need to change the script so that any links it makes in the form categories.php?cat_id=1 are now in the form categoriesid.php.
Speed one more doubt , which script needs to be edited.

Thanks again
AjiNIMC
Reply With Quote
  #6 (permalink)  
Old 10-26-2004, 11:42 AM
speed speed is offline
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Cornwall, UK
Posts: 824
speed RepRank 1
Default

Quote:
which script needs to be edited
Any script or static page that has a link to categories.php?cat_id=xxx or generates a link in that form.
__________________
TOLRA Micro Systems Limited US & UK Web Hosting with Continuous Data Protection
Web Directory : Web Directory Script
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: dynamic, friendly, making, site, web



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Search Engine Friendly URLs by vBSEO 3.0.0