Quote:
Originally Posted by Mupetz
Can anybody make a short tutorial on HOW TO set the mod_rewrite to the script ?
The steps you made to make it work.
Please
Following the wiki instructions doesn't give me any positive results.
Yes, again, i'm using vbseo but the vbseo has nothing to do with this.
Andrew, the Bold quote didn't helped me at all.
|
Sorry you are having problems.
This is what I do:
- ensure that mod_rewrite is loaded and enabled in Apache (see Apache documentation)
- include a set of lines like the following in the Apache httpd.conf file (I'm using Virtual servers, so if you are not, you'd move these lines into the main body of the apache config, also ignore the 'server name' and document root lines)
Code:
<VirtualHost *>
ServerName vb36
DocumentRoot "r:/websites/vb36"
RewriteEngine on
RewriteRule local_links/links/(.+)/(.+) local_links.php?catid=$1&linkid=$2 [R]
RewriteRule local_links/links/(.+) local_links.php?catid=$1 [R]
RewriteRule local_links/jump/(.+)/(.+) local_links.php?action=jump&id=$1&catid=$2 [R]
RewriteRule local_links/jump/(.+) local_links.php?action=jump&id=$1 [R]
RewriteRule local_stream/(.+) local_stream.php?action=stream&id=$1 [R]
</VirtualHost>
Once this is done, LDM will accept urls like yoursite/local_links/link/2/1 to go to category 2, id 1
- Go into LDM admin/settings and turn on seo_friendly. ow LDM will also generate these urls.
OK?