PDA

View Full Version : Mod Rewrite Friendly URLs - Apache to Zeus


Impromptu
01-04-2013, 04:17 AM
Hi all,

I'm trying to activate the Mod Rewrite Friendly URLs, however VB runs on Apache and not Zeus which is my host server.

I have converted some of the code from.htaccess to Zeus (changes in the webhost console) and it appears that the hover link works, so I know I'm on the right track. The conversion is as follows:

Apache (.htaccess)
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteRule ^blogs/.* blog.php [QSA

ZEUS

match URL into $ with showthread.php
if matched then set URL=/threads/.*
endif

match URL into $ with forumdisplay.php
if matched then set URL=/forum/.*
endif

match URL into $ with member.php
if matched then set URL=/members/.*
endif

match URL into $ with blog.php
if matched then set URL=/blogs/.*
endif

The hover link actually works as when I hover over a link I can see the new url.

However, the actual url does not move, so when I click on the new correct hover link, it is pointing to the new link but the data/webpage is on the old link. Is this the way Mod Re-Write works in that it only directs the hover link but doesn't move the thread/link itself?

And if so, how do I change a link permantly. For example, abc.com/showthread.php/xyz.php to abc.com/thread/xyz.php?

Thanks

Jay

Impromptu
01-08-2013, 06:57 PM
Please ignore this I've requested my hosting company to change the server to appache.