Thread Title:
- WeBid Version:
- 1.0.2
Pretty URLs Mod
Thread Body:
Title: Pretty URLs
Version(s): 1.0.2
Credits: SloBros
Install Time: 5min
Install Difficulty: easy
Description: Make clean URLs for WeBid
Demo: Used Wiiu
Files/List of changes
The pretty urls must be made manually, otherwise the WeBid code structure would have to be totally re-written; and that is very expensive. This mod_rewrite can be used as a rough substitute until a better solution is made.
This mod allows urls like this:to be accessed like this:Code:http://yoursite.com/item.php?id=1How to install:Code:[url]http://yoursite.com/item-name-1
Download the Pretty URLs mod and upload it to the WeBid root installation, overwritting browse.php, item.php, and .htaccess files
How to make a pretty URL:
To make a pretty url, you will need to know the item's name and the item's id number given by WeBid when you created the item. The format of a pretty url is:
It is the item's name separated by hyphens, with the WeBid generated id at the very end. You can find the item's id# by looking at its normal url, for example:Code:http://yoursite.com/item-name-id#
The item id number here is 2Code:http://yoursite.com/item.php?id=2
Category pretty urls can also be made along the same lines.
For example,
the category link:can be written as:Code:http://yoursite.com/browse.php?id=204notice that unlike items, "/products/" is needed for categories.Code:http://yoursite.com/products/category-name-204
Official site: http://slobros.com/2011/webid/mods/pretty-urls/
Show Your Support
If you like this modification support the author by donating.
This modification may not be copied, reproduced or published elsewhere without credit to the author.
#Edit: I submitted this before but when editing the forum software deleted the post, so I'm reposting this mod again
#Edit: I reposted and I forgot to submit the attachment and when I tried to add it it deleted a second time, so this a third attempt.