943,865 Members | Top Members by Rank

Ad:
Jul 27th, 2008
0

Help with mod_rewrite and creating pretty urls

Expand Post »
Hello,

I have been scouring the web trying to find as much information on mod_rewrite as I can, but the solutions I have found do not suit my need.

I have a website that has been up for almost 3 years, and I am having a hard time getting pages indexed to the fullest, by search engines.

Here is the lowdown:

Apache Server
Scripts are perl, and use a flatfile system (no database)
All pages are created dynamically
There are thousands of pages, and new ones created everyday.
The urls are ugly (contain ? and query strings)

Due to the pages being dynamically created, the search engines are only indexing a few. Therefore our customers that have items for sale are not getting their pages to show in search engine results.

I need to use mod_rewrite somehow to rewrite the ugly urls to pretty ones, but I need it to do it automatically for all pages, and new pages that are created all the time.

I have been trying to figure out how, but most of the solutions have faild to work.

Here is an example of a general url you might find:

http://www.somesite.com/cgi-bin/auct...tem=1217563679

Again this is just 1 of thousands of pages dynamically created by the perl script.

I need to find a way to make these urls look something like:

http://www.somesite.com/category/ele...tem/1217563679

Can anyone please help. I feel like I have reached a dead end.

Thank you all in advance.

Shnippy
Reputation Points: 10
Solved Threads: 0
Newbie Poster
shnippy is offline Offline
6 posts
since Jan 2008
Jul 27th, 2008
0

Re: Help with mod_rewrite and creating pretty urls

Any Help Please?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
shnippy is offline Offline
6 posts
since Jan 2008
Aug 5th, 2008
0

Re: Help with mod_rewrite and creating pretty urls

Hi,

Nice Urls, Thanks for giving it here. But I have one problem, the second one not opening in my browser. Is it has any problem?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
taramichael is offline Offline
11 posts
since Jun 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Kernel and Hardware Setup Forum Timeline: Ubuntu 8.04 w/ Realtek ALC660-VD - sound not working
Next Thread in Linux Kernel and Hardware Setup Forum Timeline: Ubuntu: problem connecting to router (wired as well as wireless)





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC