iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar 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.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-25-2004, 02:09 PM
AjiNIMC's Avatar
WebProWorld Pro
 
Join Date: Aug 2004
Location: India
Posts: 279
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
__________________
Be web educated - Client education series - Let not your SEO company cheat you. When they screw your website, they lose one client and you everything.
Reply With Quote
  #2 (permalink)  
Old 10-25-2004, 03:17 PM
WebProWorld Veteran
 
Join Date: Aug 2003
Location: Cornwall, UK
Posts: 972
speed RepRank 1
Default

RewriteEngine on
RewriteRule ^categoriesid([0-9]+)\.php /categories.php?cat_id=$1
Reply With Quote
  #3 (permalink)  
Old 10-25-2004, 10:47 PM
AjiNIMC's Avatar
WebProWorld Pro
 
Join Date: Aug 2004
Location: India
Posts: 279
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
__________________
Be web educated - Client education series - Let not your SEO company cheat you. When they screw your website, they lose one client and you everything.
Reply With Quote
  #4 (permalink)  
Old 10-26-2004, 04:03 AM
WebProWorld Veteran
 
Join Date: Aug 2003
Location: Cornwall, UK
Posts: 972
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.
Reply With Quote
  #5 (permalink)  
Old 10-26-2004, 12:38 PM
AjiNIMC's Avatar
WebProWorld Pro
 
Join Date: Aug 2004
Location: India
Posts: 279
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
__________________
Be web educated - Client education series - Let not your SEO company cheat you. When they screw your website, they lose one client and you everything.
Reply With Quote
  #6 (permalink)  
Old 10-26-2004, 12:42 PM
WebProWorld Veteran
 
Join Date: Aug 2003
Location: Cornwall, UK
Posts: 972
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.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum

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

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



All times are GMT -4. The time now is 01:13 PM.



Search Engine Optimization by vBSEO 3.3.0