close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

HTACCESS Friendly URL doesnt work

Thread began 8/15/2014 2:19 am by Christopher West | Last modified 8/19/2014 10:09 am by Christopher West | 1176 views | 18 replies


Hey Christopher

Not sure about the path that you have suggested (its something I have in my 'to do' list to talk to Ray about' but I use this the following structure on all my dynamic pages - couple of examples: check out the news article links on or the member links on

This is how I put it together (and using your suggested domain):

Addition of <base href="" > to the target page

Recordset structure (on target page category.php):

(You need to change $RSName, $DBConnection, table_name, Permalink and KeyColumnID to your own references)

$RSName = new WA_MySQLi_RS("RSName ",$DBConnection,1);
$RSName ->setQuery("SELECT * FROM table_name WHERE KeyColumnID = ? OR Permalink = ?");
$RSName ->bindParam("i", "".(isset($_GET['id'])?$_GET['id']:"") ."", "-1"); //paramOffersID
$RSName ->bindParam("s", "".(isset($_GET['perm'])?$_GET['perm']:"") ."", "-1"); //paramPermalink
$RSName ->execute();

Where the difference lies in what you have put, is the addition of a faux 'folder' in the URL structure

Where you have put:

I would add a faux folder like this: (note the addition of /folder-name/ to the structure)

Your raw URL is

so the htaccess that pulls it all together is

RewriteEngine on

RewriteRule ^folder-name/(.*)$ category.php?perm=$1 [NC,L,QSA,T=application/x-httpd-php]

and all you need to do to link to that page is use the structure like ttp://

Hope this helps?

All the best


Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...