Webmaster Forum


Go Back   Webmaster Forum > Marketing Forums > SEO Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

SEO Forum Search engine optimization discussions.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 11-02-2006, 10:50 PM   #1 (permalink)
Junior Member
 
Join Date: 11-02-06
Posts: 3
iTrader: 0 / 0%
Latest Blog:
None

manilodisan is liked by many
mod_rewrite help

I'm working on developing roscripts and I came across an important issue: Search engyne friendly url's. I have a function which makes things easier but something's missing.
At this moment, a listing page url looks like this:
domain/name-of-listing.html

and this is under Flash > Software as a categ.

What I want is this (the category to be present in the url of the listing page, no matter how deep my listing goes in the category tree):

domain/Flash/Software/name-of-listing.html

I appreciate your help, if any.

Last edited by Kalina : 11-05-2006 at 01:46 AM. Reason: removed url
manilodisan is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-03-2006, 12:57 AM   #2 (permalink)
Contributing Member
 
Mong's Avatar
 
Join Date: 03-02-06
Location: floating on the C
Posts: 793
iTrader: 0 / 0%
Latest Blog:
None

Mong is a glorious beacon of lightMong is a glorious beacon of lightMong is a glorious beacon of lightMong is a glorious beacon of lightMong is a glorious beacon of lightMong is a glorious beacon of lightMong is a glorious beacon of lightMong is a glorious beacon of lightMong is a glorious beacon of lightMong is a glorious beacon of lightMong is a glorious beacon of light
Find Nintendo (member name) ping him and ask for help.
He is master of mod rewrite thing
__________________
Dig PageRank in over 700 Google DCz
Backlinks Watch
nichewatch.com
Mong is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-04-2006, 08:33 PM   #3 (permalink)
Contributing Member
 
Join Date: 10-26-06
Posts: 180
iTrader: 0 / 0%
Latest Blog:
None

webfinity is liked by many
You want to get rid of the commas in the urls also. Best of luck.
webfinity is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-12-2006, 04:49 PM   #4 (permalink)
Inactive
 
Join Date: 11-12-06
Posts: 5
iTrader: 0 / 0%
Latest Blog:
None

webagent is liked by many
You should use some php over there.. to format your link you can create such a function:

Code:
function rewrite_url($url) { $url = urlencode($url); $url = str_replace("+", "_", $url); return $url; }
Also you can replace '_' with '-' if you like.

I hope this helps.
webagent is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-13-2006, 04:32 AM   #5 (permalink)
v7n Mentor
 
Join Date: 07-24-06
Posts: 694
iTrader: 1 / 100%
Latest Blog:
None

nasty.web is just really nicenasty.web is just really nicenasty.web is just really nicenasty.web is just really nicenasty.web is just really nicenasty.web is just really nicenasty.web is just really nicenasty.web is just really nicenasty.web is just really nicenasty.web is just really nice
Put this into your .htaccess:

RewriteCond %{REQUEST_FILENAME} -f
RewriteRule .* - [PT]

RewriteRule ^(.*)\.html$ index.php?p=$1 [L,NC]

and see what index.php will get as p.
nasty.web is online now  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Marketing Forums > SEO Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
mod_rewrite Limit Coding Forum 0 03-31-2005 02:08 PM
Mod_Rewrite SN3 Coding Forum 1 03-06-2005 10:27 AM
mod_rewrite John Scott Coding Forum 13 01-17-2004 02:57 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 04:00 AM.
© Copyright 2008 V7 Inc